New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dash-shaka-playback

Package Overview
Dependencies
Maintainers
5
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dash-shaka-playback - npm Package Compare versions

Comparing version 2.0.7-beta to 2.0.10-beta

.eslintrc.js

18

index.js

@@ -49,3 +49,3 @@ import {HTML5Video, Log, Events} from 'clappr'

get isReady() {return this._isReadyState}
get isReady() {return this._isShakaReadyState}

@@ -68,3 +68,3 @@ // skipping error handling on video tag in favor of error on shaka

this._player = null
this._isReadyState = false
this._isShakaReadyState = false
}).

@@ -74,5 +74,5 @@ catch(() => { Log.error('shaka could not be unloaded') })

get textTracks() {return this._player && this._player.getTracks().filter((t) => t.type === "text")}
get audioTracks() {return this._player && this._player.getTracks().filter((t) => t.type === "audio")}
get videoTracks() {return this._player && this._player.getTracks().filter((t) => t.type === "video")}
get textTracks() {return this._player && this._player.getTracks().filter((t) => t.type === 'text')}
get audioTracks() {return this._player && this._player.getTracks().filter((t) => t.type === 'audio')}
get videoTracks() {return this._player && this._player.getTracks().filter((t) => t.type === 'video')}
getPlaybackType() {return (this._player && this._player.isLive()?'live':'vod') || ''}

@@ -98,3 +98,3 @@

_setup() {
this._isReadyState = false
this._isShakaReadyState = false
this._player = this._createPlayer()

@@ -122,2 +122,3 @@ this._options.shakaConfiguration && this._player.configure(this._options.shakaConfiguration)

_loaded() {
this._isShakaReadyState = true
this._ready()

@@ -167,3 +168,3 @@ this._startToSendStats()

super.destroy()
this._isReadyState = false
this._isShakaReadyState = false
Log.debug('shaka was destroyed')

@@ -182,3 +183,3 @@ }

var basic = !!window.Promise && !!window.Uint8Array && !!Array.prototype.forEach;
var basic = !!window.Promise && !!window.Uint8Array && !!Array.prototype.forEach
var mediaSource = (window.MediaSource && window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'))

@@ -190,2 +191,1 @@ var basicAndMediaSource = basic && mediaSource

}
{
"name": "dash-shaka-playback",
"version": "2.0.7-beta",
"version": "2.0.10-beta",
"description": "clappr dash playback based on shaka player",

@@ -5,0 +5,0 @@ "main": "index.js",

[![npm version](https://badge.fury.io/js/dash-shaka-playback.svg)](https://badge.fury.io/js/dash-shaka-playback)
[![license](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)
# For the latest stable version [check](https://github.com/clappr/dash-shaka-playback/tree/1.0.12)
# For the latest stable version [check](https://github.com/clappr/dash-shaka-playback/tree/releases)

@@ -6,0 +6,0 @@ # dash-shaka-playback

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc