Open OctavioXIII opened 1 year ago
Does anyone know how to solve destroying the player to recycle it and be able to use it again in php/laravel when using it with youtube?
@OctavioXIII ufff I might be late and not accurate, have you try to change the key
attribute in vm-player
when you try to destroy the player?
Hi,
I'm working on a laravel project integrating a VOD part, I'm trying to dynamically load content, using the Youtube video ID to create a new player, destroy the old one and dynamically load it in modals so that every time If you click on a thumbnail, load this content dynamically, but so far I have not been successful in doing this process. I saw someone try to do the same in angular, but in the documentation so far I only find references to dispose in version 1.0.
Example.
and this is an example of the JS that I am using