Open phloxic opened 3 years ago
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?
Hi everyone, Ihavebeen playing around with clappr and clappr-chromecast today. I found that since v0.4.0 of clappr, addons are required to delcare their version support.
See https://github.com/clappr/clappr-core/releases/tag/0.4.0 for details, bullet point starting "Plugins are now required ..."
I am getting these errors in dev tools console:
from clappr-core.esm.js:3148 [warn][Loader] missing version information for chromecast
and (from tempermonkey 'userscript')
Failed to load Chromecast plugin: TypeError: Cannot read properties of undefined (reading 'options')
at e.get (chromecast.js:53:36)
at new e (chromecast.js:68:30)
at clappr-core.esm.js:6494:22
at Array.forEach (
i've no real idea of how to add this to the main code of the addon, hoping someone else that knows how sees this and its as simple as i hope to update it.
It still seems to work with 0.4.0, afterwards: