Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer

When you hover over my drop-down menu using IE8 or IE9, the menu div will display behind the YouTube embedment. It works fine on all other browsers. Upon research, I found out that many others have the same problem and the solution is to set the wmode attribute to transparent. So for instance <iframe width=”578″ … Read more

add_filter to youtube embeds?

hey guys, when posting a youtube video link in the backend (in a post or a page) wordpress is automatically creating the embed code for me. Is it possible to add a filter to that? I’d love to change the width and height of all embedded videos to 100%? e.g. <object width=”100%” height=”100%”> <param name=”movie” … Read more

YouTube oEmbed and privacy-enhanced mode

When you´re embed a youtube video in an iframe, you can enable the privacy-enhanced mode, so YouTube doesn´t store information about your web page visitors until they play the video. I’ve tried to embed a video via oEmbed and the URL http://www.youtube-nocookie.com/embed/xA3tfBTvH0c but it didn’t work. Is there a chance to implement a privacy-friendly solution … Read more

Is it possible to enqueue the Youtube API script or does it have to be inline?

The code below is the main part of a function in my functions.php which returns a div and script which ultimately output a youtube API iframe to the template where the code had been called from. At the moment it’s working fine; however I would like to enqueue the javascript, or at least move it … Read more