Me dieron estas instrucciones:
Necesito hacer esto.
Cortar la función initCover
Escriba initCover donde solía estar la función
Pegue la función initCover encima del código videoPlayer.init .
¿Cómo se hace esto?
videoPlayer.init({ afterPlayerReady: function initCover() { manageCover.init(function playVideo() { videoPlayer.play(); }); } });No estoy seguro de cuál es el problema (¿estás recibiendo algún mensaje de error ?)...
//# Cut out the "initCover" function //# Paste the "initCover" function above the "videoPlayer.init" code. function initCover() { manageCover.init( function playVideo() { videoPlayer.play(); } ); } //# Write "initCover" where the function used to be videoPlayer.init( initCover() ); //# eg: run initCover function from here