xgplayer-flv.js
Advanced tools
Comparing version 3.0.14 to 3.0.15-alpha.0
@@ -0,2 +1,4 @@ | ||
export { Flv }; | ||
export default FlvJsPlugin; | ||
import Flv from "flv.js"; | ||
declare class FlvJsPlugin extends BasePlugin { | ||
@@ -18,2 +20,1 @@ static get isSupported(): () => boolean; | ||
import { BasePlugin } from "xgplayer"; | ||
import Flv from "flv.js"; |
import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, classCallCheck as _classCallCheck } from "./_virtual/_rollupPluginBabelHelpers.js"; | ||
import { Events, BasePlugin, Errors } from "xgplayer"; | ||
import Flv from "flv.js"; | ||
export { default as Flv } from "flv.js"; | ||
try { | ||
Flv.LoggingControl.enableAll = false; | ||
} catch (e) { | ||
} | ||
var FlvJsPlugin = /* @__PURE__ */ function(_BasePlugin) { | ||
@@ -91,3 +96,2 @@ _inherits(FlvJsPlugin2, _BasePlugin); | ||
} | ||
console.log("createInstance", flv); | ||
flv.attachMediaElement(player.video); | ||
@@ -100,7 +104,5 @@ flv.load(); | ||
flv.on(Flv.Events.LOADED_SEI, function(timestamp, data) { | ||
console.log("Flv.Events.LOADED_SEI"); | ||
player.emit("loaded_sei", timestamp, data); | ||
}); | ||
flv.on(Flv.Events.STATISTICS_INFO, function(data) { | ||
console.log("Flv.Events.STATISTICS_INFO"); | ||
player.emit("statistics_info", data); | ||
@@ -116,3 +118,2 @@ }); | ||
value: function flvLoad(newUrl) { | ||
console.log("flvLoad", newUrl); | ||
var mediaDataSource = this.config.mediaDataSource; | ||
@@ -119,0 +120,0 @@ mediaDataSource.segments = [{ |
{ | ||
"name": "xgplayer-flv.js", | ||
"version": "3.0.14", | ||
"version": "3.0.15-alpha.0", | ||
"description": "web video player", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.min.js", | ||
"access": "public", | ||
"tag": "latest" | ||
"tag": "alpha" | ||
}, | ||
@@ -41,4 +41,4 @@ "repository": { | ||
"core-js": ">=3.12.1", | ||
"xgplayer": "3.0.14" | ||
"xgplayer": "3.0.15-alpha.0" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
960
633794
3