MCPcopy
hub / github.com/Dash-Industry-Forum/dash.js

github.com/Dash-Industry-Forum/dash.js @v5.2.0 sqlite

repository ↗ · DeepWiki ↗ · release v5.2.0 ↗
9,423 symbols 26,042 edges 579 files 1,173 documented · 12%
README

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>



    <video id="videoPlayer" controls></video>



<script src="https://cdn.dashjs.org/latest/modern/umd/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

Extension points exported contracts — how you extend this code

MetricsCollectionController (Interface)
(no doc) [12 implementers]
index.d.ts
Window (Interface)
(no doc)
samples/network-interceptor/src/App.ts
CatchupController (Interface)
(no doc) [4 implementers]
index.d.ts
GapController (Interface)
(no doc) [4 implementers]
index.d.ts
MetricsController (Interface)
(no doc) [4 implementers]
index.d.ts
MetricsHandlersController (Interface)
(no doc) [4 implementers]
index.d.ts

Core symbols most depended-on inside this repo

push
called by 986
index.d.ts
on
called by 439
index.d.ts
trigger
called by 429
index.d.ts
off
called by 306
index.d.ts
create
called by 285
index.d.ts
toString
called by 263
samples/chromecast/sender-android/AndroidDashSender/src/net/digitalprimates/androiddashsender/MainActivity.java
getTime
called by 257
index.d.ts
reset
called by 233
index.d.ts

Shape

Function 6,177
Method 2,401
Class 558
Interface 286
Enum 1

Languages

TypeScript99%
Java1%

Modules by API surface

test/functional/lib/ima3_dai.js2,079 symbols
index.d.ts1,798 symbols
samples/lib/bootstrap/bootstrap.bundle.min.js308 symbols
samples/dash-if-reference-player-legacy/app/lib/angular/angular.min.js268 symbols
samples/lib/sweetalert2/sweetalert2.all.min.js166 symbols
src/streaming/MediaPlayer.js136 symbols
src/dash/models/DashManifestModel.js94 symbols
src/streaming/StreamProcessor.js90 symbols
src/streaming/controllers/StreamController.js89 symbols
samples/dash-if-reference-player-legacy/app/lib/jquery/jquery-3.1.1.min.js85 symbols
test/functional/adapter/DashJsAdapter.js84 symbols
src/streaming/controllers/PlaybackController.js71 symbols

Dependencies from manifests, versioned

@babel/core7.28.5 · 1×
@babel/eslint-parser7.28.5 · 1×
@babel/plugin-transform-parameters7.27.7 · 1×
@babel/plugin-transform-runtime7.28.5 · 1×
@babel/preset-env7.28.5 · 1×
@babel/runtime7.28.4 · 1×
@chiragrupani/karma-chromium-edge-launcher2.4.1 · 1×
@eslint/js9.39.1 · 1×
@svta/cml-6081.0.2 · 1×
@svta/cml-cmcd2.3.2 · 1×
@svta/cml-cmsd1.0.6 · 1×
@svta/cml-dash1.0.6 · 1×

For agents

$ claude mcp add dash.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact