Socket
Book a DemoInstallSign in
Socket

xgplayer-dash

Package Overview
Dependencies
Maintainers
5
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xgplayer-dash

xgplayer plugin for MPEG-DASH

3.0.23
latest
Source
npmnpm
Version published
Weekly downloads
71
69.05%
Maintainers
5
Weekly downloads
 
Created
Source

Introduction

A extension plugin based on xgplayer, it can support play dash video

How to use

install

$ npm istall xgplayer@alpha
$ npm istall xgplayer-dash@alpha

Usage

html

  <div id="vs"></div>

js

import Player from 'xgplayer'
import 'xgplayer/dist/xgplayer.min.css'
import DashPlugin from 'xgplayer-dash'

const player = new Player({
        id: 'vs',
        url: '../xgplayer-demo.hls',
        plugins: [DashPlugin],
        DashPlugin: {} // config for plugin DashPlugin
        // If use CDN loading,you can Get the plugin through window.DashPlugin
    })

Keywords

MPEG-DASH

FAQs

Package last updated on 05 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.