I have a slider that shows images from a gallery block and videos from video block (url from vimeo). I can see the poster image from the vimeo video but the video just doesn’t play nor is the play button from the vimeo player working. I got it to work 1 time but then I tried with other videos and it doesn’t work and I didn’t do anything differently. can someone please help me? here’s my blueprint & template code from the video block:
@texnixe sorry to tag you but I keep trying to fix this and the videos won’t work. do you have any idea why this could be happening? I just finished the website and the only thing missing are the videos, I really appreciate your help! thank you for your time!
Yes it’s in the slider, I didn’t test it outside the slider because I only need it there. the only console error is this: “Allow attribute will take precedence over ‘allowfullscreen’.” this code is on the vimeo video.
And the first time I tried a video in the slider it worked briefly and then didn’t work anymore and all the other videos are not working
yes, just checked the starter kit on my computer (localhost) and the video works. do you think it’s because of the slider? but I don’t see any error on the console
Sorry if this is a stupid question but this is only my second website with kirby and the first time using videos in kirby and I just realize I didn’t have any helper file. I just checked the link you send me and I’m a bit confused: do I need to add for each video the link in the helpers file with the options parameter? the videos will be uploaded on the panel so I don’t have the links of all of them
I tried this to make it work with autoplay but still nothing happens. I’m not sure I understand what you are suggesting, how can I disable the default atributes?
Sorry I just figured iit out I add a div that was not allowing me to click on the button and now the videos are working, the only thing I don’t understand is why does the autoplay doesn’t work on chrome?
Most browsers prevent autoplay these days when the video is not muted. I’m not a fan of autoplaying videos, muted or not. It’s also a waste of resources.