Carousel HTLM5 Video
-
hm ok i will check out the phone bug. wrote it down.
-
@arminunruh
Hi, any update on that video in carousel topic?
would be great to have a play button and sound ;)
maybe you got a quick fix via child theme? -
-
@mariusjopen Hi Marius and Armin, have you found a way for how to add sound and controls to the videos within a carousel?
-
@Manuel @mariusjopen @arminunruh, Hey guys yes I would really appreciate some sound on the carousel as designing a site for a sound designer
-
Dear @jakeclew
Modern browsers do not allow sound to be played automatically on page load and must be first clicked or accepted in the settings.
Does this change what you wished or you would still like sound to be clicked?
Let me know and best wishes and have a wonderful day! :)
Sincerely
Richard -
@Richard-Keith Hey Richard, thanks for getting back to me, basically the problem I'm having is my carousel is automatically playing when the page is loaded, and without sound, when I have that action unchecked. I don't want it to autoplay even though it still does.
I'd love for the video to not automatically play so therefore when clicking on the video the sound will come.
Could you help me with this?
Thank you so much and have an awesome day
Best wishes
Jake
-
Dear Jake @jakeclew
I believe this can be done and have an idea about it, we shall see if i am correct! :)
Could you please post a link to your website with the video/carousel in question.
Also just to be sure, you are aware of the HTML 5 Video Options when you go to add a video?
Best wishes
Richard -
@Richard-Keith Hey Richard, thanks for getting back to me and hope you're having a nice day, here is a link to the site, https://www.seandoddsound.com/
Within the options for all videos within the carousel, this is checked off. Also whilst we're here do you know why my custom previous and next arrows aren't showing either?
Thanks again mate :)
-
@Richard-Keith Hey Richard, the site should now be secure for you to visit and inspect the problem I have where the videos play automatically and also now SVG next and previous cursors. Hope you can help, would be terrific to get sound on this.
Best wishes
Jake
-
Dear @jakeclew
Im looking into this:
https://stackoverflow.com/questions/39041960/how-to-unmute-html5-video-with-a-muted-prop
But i cant promise this will work, but im on the case!
-
Hey @jakeclew
Im sorry i have tried but i just cant get around Googles policy measures, they make videos muted and its very difficult to find a way to force that.
The best i can offer is to give the user the ability to unmute if they wish:
Adding this code to Custom <head> Content within Lay-options - Custom CSS & HTML:
<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery('video').attr("controls",""); }); </script>
I tried to beat Google, Google beat me - Im sorry i couldnt get there jake :(
Best wishes
Richard -
@Richard-Keith Hey man, I don't understand though? Surely if the video can be stopped autoplaying when landing on the page. When the user clicks on the video the sound should then play?
The problem I'm having is that I have autoplay unchecked, but when you land on the site the video's are playing automatically and I don't want that. I want the user to be able to click play which then should activate sound surely?
Would you be able to help me with this?
Cheers mate :)
Best wishes
Jale
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it