Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shaka-player

Package Overview
Dependencies
Maintainers
3
Versions
347
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shaka-player - npm Package Compare versions

Comparing version 4.9.23 to 4.9.24

70

dist/locales.js

@@ -764,47 +764,47 @@

shaka.ui.Locales.Ids = {
STATISTICS: 'STATISTICS',
LIVE: 'LIVE',
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
REPLAY: 'REPLAY',
SEEK: 'SEEK',
BACK: 'BACK',
RECENTER_VR: 'RECENTER_VR',
CAST: 'CAST',
VOLUME: 'VOLUME',
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
PLAY: 'PLAY',
FAST_FORWARD: 'FAST_FORWARD',
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
FULL_SCREEN: 'FULL_SCREEN',
MORE_SETTINGS: 'MORE_SETTINGS',
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
SURROUND: 'SURROUND',
LOOP: 'LOOP',
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
AD_DURATION: 'AD_DURATION',
UNMUTE: 'UNMUTE',
AIRPLAY: 'AIRPLAY',
SKIP_AD: 'SKIP_AD',
OFF: 'OFF',
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
PAUSE: 'PAUSE',
NOT_APPLICABLE: 'NOT_APPLICABLE',
RESOLUTION: 'RESOLUTION',
BACK: 'BACK',
MUTE: 'MUTE',
STATISTICS: 'STATISTICS',
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
PLAYBACK_RATE: 'PLAYBACK_RATE',
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
VOLUME: 'VOLUME',
RECENTER_VR: 'RECENTER_VR',
AD_PROGRESS: 'AD_PROGRESS',
REWIND: 'REWIND',
AD_STATISTICS: 'AD_STATISTICS',
LANGUAGE: 'LANGUAGE',
AD_TIME: 'AD_TIME',
MUTE: 'MUTE',
OFF: 'OFF',
CAST: 'CAST',
LANGUAGE: 'LANGUAGE',
PAUSE: 'PAUSE',
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
SKIP_AD: 'SKIP_AD',
AUTO_QUALITY: 'AUTO_QUALITY',
ON: 'ON',
SEEK: 'SEEK',
AIRPLAY: 'AIRPLAY',
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
REPLAY: 'REPLAY',
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
PLAY: 'PLAY',
PLAYBACK_RATE: 'PLAYBACK_RATE',
QUALITY: 'QUALITY',
CAPTIONS: 'CAPTIONS',
AD_PROGRESS: 'AD_PROGRESS',
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
SURROUND: 'SURROUND',
TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
QUALITY: 'QUALITY',
NOT_APPLICABLE: 'NOT_APPLICABLE',
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
LOOP: 'LOOP',
FULL_SCREEN: 'FULL_SCREEN',
AD_STATISTICS: 'AD_STATISTICS',
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
UNMUTE: 'UNMUTE',
REWIND: 'REWIND',
FAST_FORWARD: 'FAST_FORWARD',
LIVE: 'LIVE',
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
};

@@ -14,12 +14,16 @@ /*! @license

shaka.config.CodecSwitchingStrategy = {
// Allow codec switching which will always involve reloading the
// `MediaSource`.
RELOAD: 'reload',
// Allow codec switching; determine if `SourceBuffer.changeType` is available
// and attempt to use this first, but fall back to reloading `MediaSource` if
// not available.
//
// Note: Some devices that support `SourceBuffer.changeType` can become stuck
// in a pause state.
SMOOTH: 'smooth',
/**
* Allow codec switching which will always involve reloading
* the <code<MediaSource</code>.
*/
'RELOAD': 'reload',
/**
* Allow codec switching; determine if <code>SourceBuffer.changeType</code>
* is available and attempt to use this first, but fall back to reloading
* <code>MediaSource</code> if not available.
* <br>
* Note: Some devices that support <code>SourceBuffer.changeType</code> can
* become stuck in a pause state.
*/
'SMOOTH': 'smooth',
};

@@ -175,2 +175,5 @@ /*! @license

return 'hevc'; // H265
case base === 'vvc1':
case base === 'vvi1':
return 'vvc'; // H266
case base === 'dvh1':

@@ -177,0 +180,0 @@ case base === 'dvhe':

@@ -872,9 +872,7 @@ /*! @license

* @param {shaka.extern.xml.Node} node
* @param {boolean=} doParents
* @param {boolean=} doChildren
* @return {!Element}
*/
static txmlNodeToDomElement(node, doParents = true, doChildren = true) {
static txmlNodeToDomElement(node) {
const TXml = shaka.util.TXml;
const element = document.createElement(node.tagName);
const element = document.createElementNS('', node.tagName);

@@ -886,19 +884,10 @@ for (const k in node.attributes) {

if (doParents && node.parent && node.parent.tagName != '?xml') {
const parentElement = TXml.txmlNodeToDomElement(
node.parent, /* doParents= */ true, /* doChildren= */ false);
parentElement.appendChild(element);
}
if (doChildren) {
for (const child of node.children) {
let childElement;
if (typeof child == 'string') {
childElement = new Text(child);
} else {
childElement = TXml.txmlNodeToDomElement(
child, /* doParents= */ false, /* doChildren= */ true);
}
element.appendChild(childElement);
for (const child of node.children) {
let childElement;
if (typeof child == 'string') {
childElement = new Text(child);
} else {
childElement = TXml.txmlNodeToDomElement(child);
}
element.appendChild(childElement);
}

@@ -905,0 +894,0 @@

{
"name": "shaka-player",
"description": "DASH/EME video player library",
"version": "4.9.23",
"version": "4.9.24",
"homepage": "https://github.com/shaka-project/shaka-player",

@@ -6,0 +6,0 @@ "author": "Google",

@@ -76,2 +76,3 @@ # ![Shaka Player](docs/shaka-player-logo.png)

[ManagedMediaSource Extensions]: https://www.w3.org/TR/media-source-2/#dom-managedmediasource

@@ -78,0 +79,0 @@ ## Manifest format support matrix

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

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

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

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

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

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

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