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

react-player-pfy

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-player-pfy - npm Package Compare versions

Comparing version 1.15.5 to 1.15.6

lib/players/dash.all.debug.js

18

lib/players/FilePlayer.js

@@ -196,4 +196,7 @@ "use strict";

var HLS_GLOBAL = 'Hls';
var DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js';
var DASH_EXTENSIONS = /\.(mpd)($|\?)/i; // var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/3.0.2/dash.all.min.js';
// var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/3.0.2/dash.all.debug.js';
var DASH_SDK_URL = require('./dash.all.debug.js');
var DASH_GLOBAL = 'dashjs';

@@ -493,3 +496,3 @@ var MATCH_DROPBOX_URL = /www\.dropbox\.com\/.+/;

if (this.shouldUseDASH(url)) {
(0, _utils.getSDK)(DASH_SDK_URL.replace('VERSION', dashVersion), DASH_GLOBAL).then(function (dashjs) {
(0, _utils.getSDK)(DASH_SDK_URL, DASH_GLOBAL).then(function (dashjs) {
_this2.dash = dashjs.MediaPlayer().create();

@@ -499,13 +502,8 @@

_this2.dash.reset();
_this2.props.getDash(_this2.dash);
_this2.dash = dashjs.MediaPlayer().create();
_this2.dash.initialize(_this2.player, url, _this2.props.playing);
_this2.dash.setProtectionData(_this2.props.encKey);
_this2.dash.on('error', _this2.props.onError);
_this2.dash.on('error', _this2.props.onError); // _this2.dash.getDebug().setLogToBrowserConsole(false);
_this2.dash.getDebug().setLogToBrowserConsole(false);
});

@@ -512,0 +510,0 @@ }

{
"name": "react-player-pfy",
"version": "1.15.5",
"version": "1.15.6",
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion",

@@ -5,0 +5,0 @@ "main": "lib/ReactPlayer.js",

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

Sorry, the diff of this file is not supported yet

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