Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

HLS doesn't work in Firefox #69

Closed
mkilling opened this issue May 25, 2014 · 2 comments
Closed

HLS doesn't work in Firefox #69

mkilling opened this issue May 25, 2014 · 2 comments

Comments

@mkilling
Copy link

HLS with videojs does not work in Firefox (tried in v29.0.1)

Setup:

<video id="video_player" class="video-js vjs-default-skin" controls preload="auto" width="620px" height="465px" poster="https://thumbnail">
    <source type="application/x-mpegURL" src="http://s3.amazonaws.com/my_bucket/my_playlist.m3u8">
</video>
videojs("video_player", { playbackRates: [1, 1.5, 2, 3], techOrder: ['hls', 'html5', 'flash'] })

Console output:

Specified "type" attribute of "application/x-mpegURL" is not supported. Load of media resource http://s3.amazonaws.com/my_bucket/my_playlist.m3u8 failed.
All candidate resources failed to load. Media load paused.
"VIDEOJS:" "ERROR:" "(CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)" "No compatible source was found for this video." {code: 4, message: "No compatible source was found for this video."}
All candidate resources failed to load. Media load paused.

I don't see the Flash fallback .SWF being requested anywhere.

@gkatsev
Copy link
Member

gkatsev commented May 25, 2014

If you set the url to the swf:

videojs("video_player", {
  playbackRates: [1, 1.5, 2, 3], 
  techOrder: ['hls', 'html5', 'flash'],
  flash: {
    swf: 'http://example.com/video-js.swf'
  }
});

does it work?

@mkilling
Copy link
Author

I did not have Flash installed in Firefox. Sorry for the confusion and thanks for your help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants