Hello,
I would like to do some work customizing the display of embedded youtube videos. I didn’t have any luck simply editing the youtube URL link (Media Elements > Video) with customizations, so I wonder if the enfold theme is stripping out or deactivating this code?
For example, I would like to add “theme=light&showinfo=0&modestbranding=1&hd=1&autohide=1&color=white”
Could you point me in the direction of the exact page where the video embed code is, so that perhaps I can directly edit the theme with customizations, and thus change the default display for all embedded videos?
Thanks,
Chris
Hi,
You can find the Video element code on config-templatebuilder > aviashortcode > video.php.
You can also find some jquery customization for the html5 video on js > avia.js. Look for // html 5 videos.
Regards,
Ismael
Thank you! Within aviashortcode > video.php, do you have a suggestion where I could add such code to customize the look of the player? I have tried various attempts, but could not figure it out.
I would like to add this to the Youtube URL: &rel=0&theme=light&showinfo=0&disablekb=1&modestbranding=1&hd=1&autohide=1
Thanks,
Chris
Hi,
Where did you get that url code? Can you give me a complete url example?
Regards,
Ismael
This is the complete embed code with the customizations I would like to include:
<iframe id=”ytplayer” type=”text/html”
src=”https://www.youtube.com/embed/RiihQ-EulF4?fs=1&modestbranding=1&rel=0&showinfo=0&autohide=1″
frameborder=”0″ allowfullscreen>
Thanks for your assistance.
Best,
Chris
Hi,
The theme doesn’t have the ytplayer extension, the options is not going to work on the wp native video embed. Please hire a freelance developer to modify the theme for you.
Regards,
Ismael