I still need a solution for embedding the video so that it can be viewed on a mobile device, please.
The autoplay issue isn’t a problem, but it would be nice for mobile users to be able to hit the play icon.
This is currently not possible with the embed in a colour section.
I’m a coder, so I was particular about copying from the above and not my email :)
It broke the functions.php, but works in the theme-functions.php
I cant find the portfolio.php – only single-portfolio.php, which doesn’t contain $output as stated in the other example. at the moment i have changed the symbol with a CSS hack, but it is causing other issues…
when i add the code above to the functions.php, it breaks the site and i get the following warning:
Parse error: syntax error, unexpected end of file in /home/audioc/public_html/OZ/wp-content/themes/enfold/functions.php on line 578
Sorry, my bad! I left the initial full stop out of the syntax!
All working fine now, thanks for your wonderful help!
Thanks for your help! The color section fix worked a treat, however no luck with the CSS image overlay fix :)