ioeylim Posted April 2, 2022 Posted April 2, 2022 Site URL: https://joeylim.xyz/art-dubai Hello! After using .gifs as my primary way to show multiple images on an image block, I found there to be some banding issues on higher quality/larger .gifs. So I tried a new way of uploading a .mp4 to the custom css files, and using a code block to load the video instead of a .gif. On the editing side, it seems to be working perfectly, no lag, autoplay on, and continuously looping. However when I try to load it on a separate browser(safari/chrome), the video doesn't work consistently. Even when it does, you have to manually press play to start the video. Here is the html code I used for the block: <centre> <video autoplay="autoplay" loop="true" width="100%"> <source src="video link.mp4" type="video/mp4"/> </video> </centre> Can anyone see what is the problem here? I've attached a video showing how it's supposed to work. Thanks! Joey Screen Recording 2022-04-02 at 12.02.54 PM.mov
tuanphan Posted April 2, 2022 Posted April 2, 2022 Try this new code <centre> <video autoplay loop width="100%"> <source src="video link.mp4" type="video/mp4"/> </video> </centre> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ioeylim Posted April 3, 2022 Author Posted April 3, 2022 2 hours ago, tuanphan said: Try this new code <centre> <video autoplay loop width="100%"> <source src="video link.mp4" type="video/mp4"/> </video> </centre> It doesn't seem to be working, same issue across both safari/chrome and on mobile/desktop
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment