D
D
dicem2018-01-14 06:50:07
JavaScript
dicem, 2018-01-14 06:50:07

How to implement HLS/MPEG DASH player?

Hello. There was a need to implement an HLS/MPEG Dash player to view broadcasts. I know about the existence of the dash.js library, however, all attempts to implement the player, even following direct instructions in the documentation, did not lead to anything. The video just didn't play.
In general, here is the ideal option: HLS Player
However, it does not work on Chrome either: D.
In general, I did not see a working player or library on the network at all (although I do not deny that I am a krivorukov). Help in general, I will be glad for any help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mrxakerrus, 2018-01-14
@mrxakerrus

The hls.js library supports, as far as I remember, MPEG-DASH, well, HLS definitely supports it myself, I'm working with it now. DASH.js works too

<script src="https://cdn.dashjs.org/latest/dash.all.min.js"></script>
  
 <div>
       <video data-dashjs-player autoplay src="https://dash.akamaized.net/envivio/EnvivioDash3/manifest.mpd" controls></video>
   </div>

You are probably trying to run the file locally, try installing nodejs and just run it through node-static.

C
chubahu, 2018-07-06
@chubahu

Try PlayerJS , it has HLS and DASH support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question