Archived topic
mp4 video not playing on Chrome
9 replies · Started by Lisa on April 19, 2021
Hi Awesome GeneratePress Team!
Wondering if you can help. The client has mp4 videos in the media library set to autoplay when the page loads. In the test site, using GP theme & pro plugin (both up to date), the video will play on Firefox, Edge, Opera but not Chrome. Links to both sites are provided below.
Recommendations?
Thanks so much for your help!
Lisa
Hi there,
I don't think this is GP problem so let's do some testing.
- Does the issue exist with all plugins disabled except GPP and GB?
- Does the issue exist if you just add the video without using GB?
- Does the issue exist with a Twenty series WP themes?
Let me know :)
Hi Leo,
Thanks for such a quick response! Totally scratching my head on this one. Plugins are disabled, the 2021 theme in use and now the video with sound will play but the other video and text are not showing up on the page.
Link is below.
Any guidance on this would be greatly appreciated!
Lisa
How are you adding the video? Is it using the video block from Gutenberg?
I'm getting this message:
https://www.screencast.com/t/1dSO1O4E
I think the best solution here to upload the video to a service like YouTube and use the YouTube block from WP core.
Totally agree but they want the mp4 playing automatically w/o youtube controls. I'm using a code block:
<video loop="" autoplay="">
<source src="my-test-video.mp4" type="video/mp4">
Your browser does not support the video element.
</video>
(I took out the direct video link since it is a staging site and quite raw in development).
Thoughts?
Hi Lisa,
Could you try a video block instead of code block?
Hey Ying!
The video blocks were not initially working but I think they are now. Can you test this link and let me know?
Thank you,
Lisa
Hi there,
the videos are playing for me on Chrome and other browsers.
Thanks so much to all of you for your support. The client has decided to go with muted videos and the video block is working well.
So thankful for the GP team!
So glad to hear that!