Tagged: background video, color section, video sound.
Hi, I found some older posts dealing with this. But they seem to reference classes and files that I can’t find, so I feel like enfold might have updated to the point the fixes are no longer valid.
I tried using the solution mentioned here https://kriesi.at/support/topic/html-for-turning-on-audio/#post-1477062, specifically the one that links to here https://webers-testseite.de/mute-unmute/, but I could not find the shortcode folder within enfold, or the sections.php to copy into my child theme. Have they moved somewhere else, or is there a different place I can find the code that is mentioned?
The video I’m trying to use is currently hosted on youtube. I did see some mention of needing to be self-hosted, but it seemed confusing as to what situation that applied to.
Also, I’d ideally like to use the fontello icons included with enfold to be the mute and unmute button. Can I just use the content/font css instead of a background image in the css?
Hey epkdesign,
The reference to the “shortcode” folder is what you add to your child theme, the “sections.php” in the parent theme is at: /config-templatebuilder/avia-shortcodes/section/section.php
This will only work with self hosted videos and not on mobile.
Best regards,
Mike
I’m surprised that almost 1.5 years have passed since I posted that. A lot of changes have been made to the theme since then. That’s probably why I deleted the child theme’s section.php file at some point. Nevertheless, it still works on the demo page, even without the changes in section.php ?
Hi,
I thought it was your jQuery that made it work. Thanks again for sharing.
Best regards,
Mike
i remove now that child-theme section part in my description – seems to work even with sliders and html5 selfhosted videos by that jQuery snippet only.