I stored video ids in my database and now I want to loop through them and add a vue-youtube component for each of them.
This is working but when I want to change the class of the component using the onPause() event? It doesn't work.
How do I style the video iframes and change classes based on the current video that was clicked on the browser?
I stored video ids in my database and now I want to loop through them and add a vue-youtube component for each of them. This is working but when I want to change the class of the component using the onPause() event? It doesn't work. How do I style the video iframes and change classes based on the current video that was clicked on the browser?