What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Video not playing in mobile

MonkeyIsland

New member
Hello,
I am on OSX 14.6 and I want to include an html code including a video in a Google site ( I don't want to upload the video as a standard google site video, nor from youtube). I insert in Google sites this code :

HTML:
<video width="100%" controls autoplay muted playsinline loop>
    <source src="https://github.com/mcastel1/my_website_media/blob/main/animation.webm?raw=true" type="video/webm">
    Your browser does not support the video tag.
 </video>

The video plays on my desktop computer, but not on mobile (Iphone, IOS 16.3.1 with Google Chrome and Safari, none of them works), where I see the video as a gray rectangle (see photo attached). How may I get it to work?

A few more information:
- I created this video with matplotlib
- I tried to remove the autoplay, nothing changes
- I tried to remove playsinline, nothing changes
- I tried to save the video as mp4 video, nothing changes

Thank you
Best,
 

Attachments

  • IMG_3274.jpg
    IMG_3274.jpg
    29.2 KB · Views: 0
Back
Top