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
I added an array with a mix of images and videos (1 youtube and 1 mp4).
When swapping between videos it pauses the previous video ok but when I swap from image - video - image, the video keeps autoplaying.
Image -> video -> image (pause not working ok)
video <-> video ( pause prev video works ok)
Is it a bug ? I something I am missing ?
I solved it this way (but would like to know if I am missing something , can the code below be better or it is actually a bug)
Reproduction:
I added an array with a mix of images and videos (1 youtube and 1 mp4).
When swapping between videos it pauses the previous video ok but when I swap from image - video - image, the video keeps autoplaying.
Image -> video -> image (pause not working ok)
video <-> video ( pause prev video works ok)
Is it a bug ? I something I am missing ?
I solved it this way (but would like to know if I am missing something , can the code below be better or it is actually a bug)
Thank you,
Nice library
The text was updated successfully, but these errors were encountered: