benjipott / video.js-chromecast

Use chromecast with videojs html5 player
Other
207 stars 86 forks source link

Error after casting #12

Open anacrolix opened 8 years ago

anacrolix commented 8 years ago

I'm getting this after clicking the cast button:

videojs.chromecast.js:440 Uncaught TypeError: _videoJs2.default.createEl is not a function

It goes ahead and casts anyway. But I think some functionality may be missing.

Here's the full trace (no idea how to get this formatted from Chrome):

videojs.chromecast.js?1470544571000000000:440 Uncaught TypeError: videoJs2.default.createEl is not a functioncreateEl @ videojs.chromecast.js?1470544571000000000:440a @ video.min.js:12b @ video.min.js:20Chromecast @ videojs.chromecast.js?1470544571000000000:380b.loadTech @ video.min.js:17onMediaDiscovered @ videojs.chromecast.js?1470544571000000000:245sessionJoinedListener @ videojs.chromecast.js?1470544571000000000:128e.ad @ cast_sender.js:84e.onMessage @ cast_sender.js:84T.$c @ cast_sender.js:55

ReeganExE commented 7 years ago

The same for me:

videojs-chromecast.js:460 Uncaught TypeError: _videoJs2.default.createEl is not a function
    at Chromecast.createEl (videojs-chromecast.js:460)
    at Chromecast.a (video.min.js:12)
    at Chromecast.b (video.min.js:20)
    at new Chromecast (videojs-chromecast.js:389)
    at b.loadTech_ (video.min.js:17)
    at ChromeCastButton.onMediaDiscovered (videojs-chromecast.js:254)
    at ChromeCastButton.sessionJoinedListener (videojs-chromecast.js:137)
    at X.e.rd (cast_sender.js:94)
    at X.e.onMessage (cast_sender.js:94)
    at Q.qd (cast_sender.js:64)
sdahdaah commented 6 years ago

Same for me, when ending cast the player do not resume playback.

player erro player.error()r
MediaError {code: 4, message: "No compatible source was found for this media."} code : 4 message : "No compatible source was found for this media." proto : Object