@spce/react-player
Advanced tools
Comparing version 2.9.10 to 2.9.11
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1600807