plugin errors out for clappr v0.4.1+
phloxic opened this issue · 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
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 - yes, I get the same as you with v0.4.3.
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({
.
.
.
@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
Any update on this?