clappr-chromecast-plugin icon indicating copy to clipboard operation
clappr-chromecast-plugin copied to clipboard

plugin errors out for clappr v0.4.1+

Open phloxic opened this issue 5 years ago • 6 comments

It still seems to work with 0.4.0, afterwards:

Uncaught TypeError: this.core is undefined
    get chromecast.js:53
    e chromecast.js:68
    value clappr-core.esm.js:6567
    value clappr-core.esm.js:6566
    value clappr-core.esm.js:6551
    value clappr-core.esm.js:7201

phloxic avatar Nov 25 '20 13:11 phloxic

I'm getting this Uncaught TypeError: Cannot read property 'options' of undefined at e.get (chromecast.js:53) at new e (chromecast.js:68) at clappr-core.esm.js:6659 at Array.forEach (<anonymous>) at n.value (clappr-core.esm.js:6658) at n.value (clappr-core.esm.js:6643) at n.value (clappr-core.esm.js:7294) at n.value (clappr-core.esm.js:7280) at new n (clappr-core.esm.js:7265) at _test_player_3df9941bdf88fec84ef6627a00b99fd4.html:13 Did you manage to solve it?

inside83 avatar Jan 20 '21 07:01 inside83

@inside83 - yes, I get the same as you with v0.4.3.

phloxic avatar Jan 20 '21 13:01 phloxic

I managed to get it to work by copying and adjusting the demo. Main difference being this

	window.onload = function() {
		var player = new Clappr.Player({
		.
		.
		.

inside83 avatar Jan 20 '21 22:01 inside83

@blacktrash I feel so stupid now. I was working with clappr and not @clappr/player branch. I too can now confirm that chromecast plugin does not, indeed, work with versions 0.4.1, 0.4.2 or 0.4.3.

I'm getting:

Uncaught TypeError: Cannot read property 'options' of undefined
    at e.get (chromecast.js:53)
    at new e (chromecast.js:68)
    at clappr-core.esm.js:6659
    at Array.forEach (<anonymous>)
    at n.value (clappr-core.esm.js:6658)
    at n.value (clappr-core.esm.js:6643)
    at n.value (clappr-core.esm.js:7294)
    at n.value (clappr-core.esm.js:7280)
    at new n (clappr-core.esm.js:7265)
    at window.onload (_test_player.html:55)

in 0.4.3 version

inside83 avatar Jan 27 '21 13:01 inside83

Any update on this?

code0nwheels avatar Oct 15 '21 20:10 code0nwheels