m3u8 stream #160

Closed
ghostdog1985 opened this Issue Mar 28, 2012 · 10 comments

Projects

None yet

4 participants

@ghostdog1985

guys i hope u can help me. i am trying to get m3u8 playlist to run with videojs but did not find any solution yet. Is it possible or not to play m3u8 files with videojs? furthermore is it possible to play the file in firefox or internet explorer with flashfallback?

thx for the answer guys

@heff
Video.js member
@ghostdog1985

thx 4 the answer but i tried that one before and it didn't work neither. does anyone got m3u8 files working with videojs ? and more important like i said before does it work with firefox or internet explorer? and if not is there any solution out there :)

thx for the answer guys

by the way if someone needs a forward and backward button i implemented this (logic isn't yet quite working but i will fix it this week) and subtitles support for xml (because we use rts binary files and convert them into xml files) --> but it's easy stuff :)

@heff
Video.js member
@ghostdog1985

thx again heff if i find any solution i will get back to you cu

@ghostdog1985

hey heff how we looking with m3u8 files in safari?? is it already working again cu

@heff
Video.js member

It's working for me at least. Used the following code.

<video id="vid1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="264"
    poster="http://video-js.zencoder.com/oceans-clip.png"
    data-setup='{}'>
  <source src="http://zencodertesting.s3.amazonaws.com/deletemeplease/forsteve/tina_fey.m3u8" type='video/mp4'>
</video>
@ghostdog1985

i tried this one before didn't work for me but thx for the answere

@index-panayotov

heff , with your code i get msg error : "The video could not be loaded, either because the server or network failed or because the format is not supported."
And when i set type='application/x-mpeg' i get this :"No compatible source was found for this video."

@mmcc
Video.js member

The MIME type for HLS should either be application/vnd.apple.mpegurl or application/x-mpegURL.

<video id="vid1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="264"
    poster="http://video-js.zencoder.com/oceans-clip.png"
    data-setup='{}'>
  <source src="http://zencodertesting.s3.amazonaws.com/deletemeplease/forsteve/tina_fey.m3u8" type='application/vnd.apple.mpegurl'>
</video>
@heff
Video.js member

Also that specific video URL was deleted, if you're using that example verbatim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment