Socket
Socket
Sign inDemoInstall

xgplayer-flv.js

Package Overview
Dependencies
Maintainers
6
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xgplayer-flv.js - npm Package Compare versions

Comparing version 3.0.14 to 3.0.15-alpha.0

3

es/index.d.ts

@@ -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

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