Estoy usando una caja de luz para mostrar imágenes.
No se lo que está mal. He probado la versión delgada y normal de JQuery
$("#lightboxID").click(); jQuery('.play-img-cont.videoDiv').show(); jQuery('.play-img-cont.videoImage').hide(); $('.video-js, #my-video_html5_api').show(); // This is where i get the error of uncaught type error jQuery('video')[0].load(); jQuery('video')[0].play(); var myPlayer = videojs('pubvid'); myPlayer.play(); myPlayer.on('ended', function() { jQuery('.play-img-cont, .videoImage').show(); jQuery('.videoDiv').hide(); this.exitFullscreen();