New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dashjs

Package Overview
Dependencies
Maintainers
0
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashjs

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.

5.0.0
latest
Source
npm
Version published
Weekly downloads
45K
-6.65%
Maintainers
0
Weekly downloads
 
Created
Source

Overview

dash.js is a JavaScript based implementation for the playback of MPEG DASH content in browser based environments that support the Media Source Extensions and the Encrypted Media Extensions.

Documentation

To get started, check out our documentation that includes a quickstart guide , usage instructions and contribution guidelines.

Hosted Examples

Quickstart

A very basic example on how to use dash.js in your application can be found below:

<!doctype html>
<html>
<head>
    <title>dash.js Rocks</title>
    <style>
        video {
            width: 640px;
            height: 360px;
        }
    </style>
</head>
<body>
<div>
    <video id="videoPlayer" controls></video>
</div>
<script src="https://cdn.dashjs.org/latest/dash.all.min.js"></script>
<script>
    (function () {
        var url = "https://dash.akamaized.net/envivio/EnvivioDash3/manifest.mpd";
        var player = dashjs.MediaPlayer().create();
        player.initialize(document.querySelector("#videoPlayer"), url, true);
    })();
</script>
</body>
</html>

Contact

Please raise any issue directly on Github.

You can also find us on Slack! and on Google Groups.

License

dash.js is released under BSD license

Tested With

Browser Stack Logo    Lambdatest Logo

Keywords

DASH

FAQs

Package last updated on 14 Feb 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