Closed KGB1st closed 2 years ago
Now this works well in the latest versions (vue-splide and Video extension).
P.S.S. Found that it works as in GUIDE. But I've not a lot of experience in VUE and not fully understand how I can update videos variable and update SpliteSlide after template will be loaded..
Use the ref
function to make the variable reactive.
https://vuejs.org/api/reactivity-core.html
Checks
Version
0.7.1
Description
Direct adding video to Splide not works properly
No video slide shown(only preview image) after trying to update slider section directly
_this.$refs._BaseImageSlider.insertVideo('./img/newspost/inner-img/'+res.news_video);
But this method based on change method which also works for adding images. Got instruction from https://splidejs.com/extensions/video/#overviewP.S. I add my content directly because using an AXIOS AJAX features. And it works if slide will be static added into template section. So problem with add() method only for video extension and I don't know why it happens.
P.S.S. Found that it works as in GUIDE. But I've not a lot of experience in VUE and not fully understand how I can update
videos
variable and updateSpliteSlide
after template will be loaded..Tried to load dynamically for
SplideSlide
section and got same broken slide :\Reproduction Link
No response
Steps to Reproduce
Please look up!
Expected Behaviour
I thought it would work like such as with images :)