parent
1790d5b569
commit
517058bef3
|
@ -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 a new issue