If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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?
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.
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
Where did you get that url code? Can you give me a complete url example?
This is the complete embed code with the customizations I would like to include:
<iframe id=”ytplayer” type=”text/html”
Thanks for your assistance.
The topic ‘Customize youtube embed options’ is closed to new replies.