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

@spce/react-player

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

@spce/react-player - npm Package Compare versions

Comparing version 2.9.10 to 2.9.11

12

lazy/players/MediaKindPlayer.js

@@ -137,7 +137,6 @@ "use strict";

var sourceConfig = {
var sourceConfig = _defineProperty({
title: "Title for your source",
description: "Brief description of your source",
dash: _this2.props.url
};
description: "Brief description of your source"
}, mediakindConfig.type, _this2.props.url);

@@ -149,3 +148,6 @@ if (mediakindConfig.drm) {

_this2.player.load(sourceConfig).then(function () {
console.log("Source loaded successfull!"); // you can also get notified when subscribed to `SourceLoaded` event.
console.log("Source loaded successfull!");
_this2.player.seek(0.1); // you can also get notified when subscribed to `SourceLoaded` event.
})["catch"](function (error) {

@@ -152,0 +154,0 @@ console.error("An error occurred while loading the source!", error);

@@ -137,7 +137,6 @@ "use strict";

var sourceConfig = {
var sourceConfig = _defineProperty({
title: "Title for your source",
description: "Brief description of your source",
dash: _this2.props.url
};
description: "Brief description of your source"
}, mediakindConfig.type, _this2.props.url);

@@ -149,3 +148,6 @@ if (mediakindConfig.drm) {

_this2.player.load(sourceConfig).then(function () {
console.log("Source loaded successfull!"); // you can also get notified when subscribed to `SourceLoaded` event.
console.log("Source loaded successfull!");
_this2.player.seek(0.1); // you can also get notified when subscribed to `SourceLoaded` event.
})["catch"](function (error) {

@@ -152,0 +154,0 @@ console.error("An error occurred while loading the source!", error);

{
"name": "@spce/react-player",
"version": "2.9.10",
"version": "2.9.11",
"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/index.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