Socket
Socket
Sign inDemoInstall

xgplayer-flv.js

Package Overview
Dependencies
Maintainers
5
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 2.0.0 to 2.0.1

2

package.json
{
"name": "xgplayer-flv.js",
"version": "2.0.0",
"version": "2.0.1",
"description": "web video player",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -62,5 +62,3 @@ import Player from 'xgplayer'

flv_load (newUrl) {
let mediaDataSource = {
type: 'flv'
}
let mediaDataSource = this.flvOpts
mediaDataSource.segments = [

@@ -94,7 +92,4 @@ {

}
player.__flv__ = Flv.createPlayer(mediaDataSource, {
enableWorker: false,
lazyLoadMaxDuration: 3 * 60,
seekType: 'range'
})
player.__flv__ = Flv.createPlayer(mediaDataSource, this.optionalConfig)
player.__flv__.attachMediaElement(player.video)

@@ -101,0 +96,0 @@ player.__flv__.load()

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

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

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