Mute / Un-mute browser control
-
Hey @Armin-Unruh and Lay community!
I want to have a video, with sound, being autoplayed on my site but I want it to start off as muted and then have an icon or something to click to un-mute the video. Would there be a way to do this?Alternatively just have a button with the function of muting and un-muting the browser tab?
Thanks in advance!
-
Hi Anders!
This is a bit more complicated than usual.
You need to write a jQuery function to do so.
Do you know the basics of Javascript and jQuery?
Let me know!
Marius
-
@mariusjopen thanks for your reply!
No, unfortunately I don't. -
Hi Anders,
if you have no clue about Javascript this is rather a complicated one.
I will not be able to provide you the solutionMaybe you can find a solution with muting the browser tab?
You got some research about that?Let me know!
Marius
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