clappr: autoPlay option broken in hls playback
Browser: Chrome Version 52.0.2743.82 m
OS: Windows 10
Clappr Version: 0.2.60
autoPlay
option is broken for hls playback.
Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.
Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.
in console.
var playerElement = document.getElementById("player-wrapper");
var player = new Clappr.Player({
source: 'http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8',
baseUrl: '/latest',
poster: 'http://clappr.io/poster.png',
mute: true,
autoPlay: true,
height: 360,
width: 640
});
player.attachTo(playerElement);
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 19 (18 by maintainers)
Commits related to this issue
- remove setupHls() call in HLS constructor I accidentally put it back in in another PR Fixes #1098 — committed to clappr/clappr by tjenkinson 8 years ago
Ah.
I guess
could go at the start of
setupHls()
insteadThis is what brought it back: https://github.com/clappr/clappr/pull/1069/files#diff-7ee430bf68b0817be7d8e6d9c0444846R119