DASH Przepraszamy, ta strona oczekuje na tłumaczenie na język polski DASH (Dynamic Adaptive Streaming over HTTP) video format is an alternative to HLS, where data is also divided into small fragments, that allows to dynamically adapt the video stream for each user. DASH protocol has been actively developed for more than 10 years with the support of Microsoft, Adobe, Google, Sony, Netflix and has rich customization options, a compact manifest file, DRM support and better performance at high resolutions and bitrates compared to HLS, but still worse in native support by modern browsers. DASH plugin settings in the builder: We use the official framework to support DASH — dash.js. Since version 12.10, it is automatically loaded if necessary from CDN //cdn.dashjs.org/latest/dash.all.min.js and is no longer included in the player file. You can also enable it yourself on your site page if you need a special version of the framework. <script type="text/javascript" src="//cdn.dashjs.org/vx.x.x/dash.all.min.js"></script> Custom settingsYou can pass any settings from the dash.js docs to the player code using the dashsettings parameter (since player version 17.6). var player = new Playerjs({id:"player", file:"//site.com/dash.mpd", dashsettings:{streaming: {buffer: {fastSwitchEnabled: true}}}}); DRMDASH supports DRM (digital rights management). You can set the configuration for different providers in JSON format in the settings. The plugin will select the first provider that supports the current browser. { "com.widevine.alpha":{ "serverURL":"URL" }, "com.microsoft.playready":{ "serverURL":"URL" }, "org.w3.clearkey":{ "clearkeys":{ "XXX":"XXX" } } } JSON must be specified in the How to pass cookiesPlease enable this option for sending cookies
The server must include an Access-Control-Allow-Credentials response in the header: Access-Control-Allow-Credentials: true |