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
the first list item is an YouTube video, but I am not using data-splide-youtube as for the others, just data-splide-html-video to generate the issue.
prototype library is loaded too.
Now load the html file created above in your browser. Click on the first list item (the one with html-video) nothing happens. Click again the image disappears and the player tries to load the content. Please take a look in the Console to see an error related to splide-extension-video.js (lines 3046 and 3072) and prototype.js (line 391). If you click more on the item the number of errors increases. If autoplay option is true the slider will go to the second item if you stop clicking.
Check the error I am seeing in Console bellow:
The text was updated successfully, but these errors were encountered:
This is not related with prototype.js because the error occurs by just passing YouTube URL to data-splide-html-video attribute without loading the library.
data-splide-html-video must be a path or URL to the supported video file such as mp4.
Here are the steps to reproduce this conflict:
Create a folder with all css, js files inside linked in the html file bellow:
Please note the following observations:
the first list item is an YouTube video, but I am not using data-splide-youtube as for the others, just data-splide-html-video to generate the issue.
prototype library is loaded too.
Now load the html file created above in your browser. Click on the first list item (the one with html-video) nothing happens. Click again the image disappears and the player tries to load the content. Please take a look in the Console to see an error related to splide-extension-video.js (lines 3046 and 3072) and prototype.js (line 391). If you click more on the item the number of errors increases. If autoplay option is true the slider will go to the second item if you stop clicking.
Check the error I am seeing in Console bellow:
The text was updated successfully, but these errors were encountered: