Checks
Version
0.8.0
Description
Hello, i'm using the Splide version 2.4.21 and the 0.8.0 of this extension but when i try to initialize here:
const splide_head_desktop = new Splide('#splide-main', splide_head_opt).mount(window.splide.Extensions);
I get this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'bus')
at u (splide-extension-video.min.js:8:1379)
at Ot (splide-extension-video.min.js:20:23272)
at splide.min.js:6:6087
at splide.min.js:6:818
at Array.some (<anonymous>)
at o (splide.min.js:6:791)
at splide.min.js:6:6063
at u.mount (splide.min.js:6:6154)
at auction.php:372:76
I'm using the cdn version:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/splide-extension-video@0.8.0/dist/css/splide-extension-video.min.css">
<script src="https://cdn.jsdelivr.net/npm/@splidejs/splide-extension-video@0.8.0/dist/js/splide-extension-video.min.js"></script>
Thanks a lot for your help.
Also, this repo is abandoned?
Reproduction Link
No response
Steps to Reproduce
- Add CDN links
- Add window.splide.Extensions in the initialize line
Expected Behaviour
No js error
Checks
Version
0.8.0
Description
Hello, i'm using the Splide version 2.4.21 and the 0.8.0 of this extension but when i try to initialize here:
const splide_head_desktop = new Splide('#splide-main', splide_head_opt).mount(window.splide.Extensions);I get this error:
I'm using the cdn version:
Thanks a lot for your help.
Also, this repo is abandoned?
Reproduction Link
No response
Steps to Reproduce
Expected Behaviour
No js error