You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me youtube is working fine but for vimeo its giving me error on console like,
videojs.min.js:2 Uncaught Error: Illegal component, "Vimeo"; techs must be registered using Tech.registerTech(). at Function.t.registerComponent (videojs.min.js:2) at Object.<anonymous> (video-vimeo.js:308) at Object.2.@vimeo/player (video-vimeo.js:321) at s (video-vimeo.js:7) at e (video-vimeo.js:7) at video-vimeo.js:7 at video-vimeo.js:7 at video-vimeo.js:7
So I have checked module code of youtube and vimeo, But in vimeo trying to reg component as like
I have changed it by following code as like youtube and its working fine.
//Older versions of VJS5 doesn't have the registerTech function if (typeof Tech.registerTech !== 'undefined') { Tech.registerTech('Vimeo', Vimeo); } else { Component.registerComponent('Vimeo', Vimeo); }
Please let me know is that correct way or need to change it.
Thanks
The text was updated successfully, but these errors were encountered:
I have used the updated version of vimeo[v2.0.0] and youtube[2.0.8] with updated version of videojs[6.2.5].
For me youtube is working fine but for vimeo its giving me error on console like,
videojs.min.js:2 Uncaught Error: Illegal component, "Vimeo"; techs must be registered using Tech.registerTech(). at Function.t.registerComponent (videojs.min.js:2) at Object.<anonymous> (video-vimeo.js:308) at Object.2.@vimeo/player (video-vimeo.js:321) at s (video-vimeo.js:7) at e (video-vimeo.js:7) at video-vimeo.js:7 at video-vimeo.js:7 at video-vimeo.js:7
So I have checked module code of youtube and vimeo, But in vimeo trying to reg component as like
Tech.registerTech('Vimeo', Vimeo); Component.registerComponent('Vimeo', Vimeo);
I have changed it by following code as like youtube and its working fine.
//Older versions of VJS5 doesn't have the registerTech function if (typeof Tech.registerTech !== 'undefined') { Tech.registerTech('Vimeo', Vimeo); } else { Component.registerComponent('Vimeo', Vimeo); }
Please let me know is that correct way or need to change it.
Thanks
The text was updated successfully, but these errors were encountered: