mirror of https://github.com/calzoneman/sync.git
parent
8da1d1c772
commit
89d79fe422
|
@ -119,6 +119,7 @@ window.VideoJSPlayer = class VideoJSPlayer extends Player
|
||||||
@player.ready(=>
|
@player.ready(=>
|
||||||
# Have to use updateSrc instead of <source> tags
|
# Have to use updateSrc instead of <source> tags
|
||||||
# see: https://github.com/videojs/video.js/issues/3428
|
# see: https://github.com/videojs/video.js/issues/3428
|
||||||
|
@player.poster(data.meta.thumbnail)
|
||||||
@player.updateSrc(@sources)
|
@player.updateSrc(@sources)
|
||||||
@player.on('error', =>
|
@player.on('error', =>
|
||||||
err = @player.error()
|
err = @player.error()
|
||||||
|
|
Loading…
Reference in New Issue