<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Mehigh</title>
	<atom:link href="http://mehigh.biz/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://mehigh.biz</link>
	<description>Rockstar Web Developer</description>
	<lastBuildDate>Tue, 01 May 2012 02:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19948</generator>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by SEO Providers</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-418</link>
		<dc:creator>SEO Providers</dc:creator>
		<pubDate>Tue, 01 May 2012 02:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-418</guid>
		<description>Thank you so much for the additional functions, I am a wordpress enthusiast and your code ads additional knowledge to get rid off those overlays.

I have also tried your code and will be implementing it to my own website at Top SEO Providers.

Now I dont need to mannually add name=&quot;wmode&quot; value=&quot;transparent&quot; every time I want to embed a video.. 

Thanks Again,
Nimitz</description>
		<content:encoded><![CDATA[<p>Thank you so much for the additional functions, I am a wordpress enthusiast and your code ads additional knowledge to get rid off those overlays.</p>
<p>I have also tried your code and will be implementing it to my own website at Top SEO Providers.</p>
<p>Now I dont need to mannually add name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; every time I want to embed a video.. </p>
<p>Thanks Again,<br />
Nimitz</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by Danniel</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-415</link>
		<dc:creator>Danniel</dc:creator>
		<pubDate>Thu, 29 Mar 2012 19:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-415</guid>
		<description>Thanks! It works!</description>
		<content:encoded><![CDATA[<p>Thanks! It works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by mehigh</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-408</link>
		<dc:creator>mehigh</dc:creator>
		<pubDate>Thu, 22 Mar 2012 20:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-408</guid>
		<description>What environment are you on ? (Win/Mac/Linux) ?
I&#039;ve searched and found the following topic:
http://stackoverflow.com/questions/8606985/new-chrome-update-kills-wmode-transparent

Seems you&#039;re not the only one complaining about wmode getting stripped on the Chrome browser... and the common solution would be to put in the wmode inside the embed as an attribute as well... which is a thing the script adds in properly already.

I don&#039;t think the order is what would solve this in the long run (might be just a quirk which would solve it temporarily until a new version comes out). There are a ton of issues around this matter on Chromium issue tracker, so it&#039;s probably due to be solved.</description>
		<content:encoded><![CDATA[<p>What environment are you on ? (Win/Mac/Linux) ?<br />
I&#8217;ve searched and found the following topic:<br />
<a href="http://stackoverflow.com/questions/8606985/new-chrome-update-kills-wmode-transparent" rel="nofollow">http://stackoverflow.com/questions/8606985/new-chrome-update-kills-wmode-transparent</a></p>
<p>Seems you&#8217;re not the only one complaining about wmode getting stripped on the Chrome browser&#8230; and the common solution would be to put in the wmode inside the embed as an attribute as well&#8230; which is a thing the script adds in properly already.</p>
<p>I don&#8217;t think the order is what would solve this in the long run (might be just a quirk which would solve it temporarily until a new version comes out). There are a ton of issues around this matter on Chromium issue tracker, so it&#8217;s probably due to be solved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by Ben Gruber</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-406</link>
		<dc:creator>Ben Gruber</dc:creator>
		<pubDate>Tue, 20 Mar 2012 22:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-406</guid>
		<description>Thank you for a great post. This works for me in all browsers except for chrome. For some reason, the transparent parameter has to be the first for it to work in chrome. I can manually make this happen but am looking for a blanket solution like this one. Has anyone run into this issue?  Any ideas on it?

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thank you for a great post. This works for me in all browsers except for chrome. For some reason, the transparent parameter has to be the first for it to work in chrome. I can manually make this happen but am looking for a blanket solution like this one. Has anyone run into this issue?  Any ideas on it?</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by RavanH</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-404</link>
		<dc:creator>RavanH</dc:creator>
		<pubDate>Fri, 16 Mar 2012 10:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-404</guid>
		<description>Since the new Youtube oEmbed produces an iframe embed, I found the preg_replace code as suggested by David C (above) very useful. Thanks :)

Added a quick strpos check (for youtube and missing wmode) before the actual preg_replace because these are relatively slow and not always needed:

&lt;code&gt;
if(!function_exists(&#039;add_video_wmode_opaque&#039;)) {
 function add_video_wmode_opaque($html, $url, $attr) {
 	if (strpos($html, &quot;youtube&quot; ) !== false &amp;&amp; strpos($html, &quot;wmode&quot; ) == false) {
		$html = preg_replace(&#039;/feature=oembed/&#039;, &#039;$0&amp;wmode=opaque&#039;, $html);
		$html = preg_replace(&#039;/(object&#124;embed).*?height=\&quot;\d+\&quot;/&#039;, &#039;$0 wmode=&quot;opaque&quot;&#039;, $html);
 	}
 	return $html;
 }
}
add_filter(&#039;embed_oembed_html&#039;, &#039;add_video_wmode_opaque&#039;, 10, 3);
&lt;/code&gt;

I&#039;m not even sure the second preg_replace (for object/embed) is necessary any more... Or are there still cases where the iframe embed is not produced?</description>
		<content:encoded><![CDATA[<p>Since the new Youtube oEmbed produces an iframe embed, I found the preg_replace code as suggested by David C (above) very useful. Thanks <img src='http://mehigh.biz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Added a quick strpos check (for youtube and missing wmode) before the actual preg_replace because these are relatively slow and not always needed:</p>
<p><code><br />
if(!function_exists('add_video_wmode_opaque')) {<br />
 function add_video_wmode_opaque($html, $url, $attr) {<br />
 	if (strpos($html, "youtube" ) !== false &amp;&amp; strpos($html, "wmode" ) == false) {<br />
		$html = preg_replace('/feature=oembed/', '$0&amp;wmode=opaque', $html);<br />
		$html = preg_replace('/(object|embed).*?height=\"\d+\"/', '$0 wmode="opaque"', $html);<br />
 	}<br />
 	return $html;<br />
 }<br />
}<br />
add_filter('embed_oembed_html', 'add_video_wmode_opaque', 10, 3);<br />
</code></p>
<p>I&#8217;m not even sure the second preg_replace (for object/embed) is necessary any more&#8230; Or are there still cases where the iframe embed is not produced?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by Leo Cavallini</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-403</link>
		<dc:creator>Leo Cavallini</dc:creator>
		<pubDate>Fri, 09 Mar 2012 14:21:39 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-403</guid>
		<description>Works like a charm. Congrats and thanks for sharing...</description>
		<content:encoded><![CDATA[<p>Works like a charm. Congrats and thanks for sharing&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by rus</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-402</link>
		<dc:creator>rus</dc:creator>
		<pubDate>Sun, 04 Mar 2012 19:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-402</guid>
		<description>Yeah, empty line and everything, still not working. :S

&quot;
Server error:

The website encountered an error. It may be down for maintenance or configured incorrectly.

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.

&quot;</description>
		<content:encoded><![CDATA[<p>Yeah, empty line and everything, still not working. :S</p>
<p>&#8221;<br />
Server error:</p>
<p>The website encountered an error. It may be down for maintenance or configured incorrectly.</p>
<p>HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.</p>
<p>&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by mehigh</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-401</link>
		<dc:creator>mehigh</dc:creator>
		<pubDate>Fri, 24 Feb 2012 13:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-401</guid>
		<description>You&#039;ve placed an empty line after the &lt;?php correct ?
Also, you need to place both the function, and the add_filter as well. Filters are a common way to modify generated mark-up inside WordPress, so there&#039;s nothing odd in placing a filter in there.
More can be read about this process here:
http://codex.wordpress.org/Function_Reference/add_filter</description>
		<content:encoded><![CDATA[<p>You&#8217;ve placed an empty line after the < ?php correct ?<br />
Also, you need to place both the function, and the add_filter as well. Filters are a common way to modify generated mark-up inside WordPress, so there's nothing odd in placing a filter in there.<br />
More can be read about this process here:<br />
<a href="http://codex.wordpress.org/Function_Reference/add_filter" rel="nofollow">http://codex.wordpress.org/Function_Reference/add_filter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by rus</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-400</link>
		<dc:creator>rus</dc:creator>
		<pubDate>Sat, 18 Feb 2012 20:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-400</guid>
		<description>I&#039;m not really sure how to check for collisions..

I&#039;ve pasted it right after the &lt;?php

I do find it a bit weird adding the:
add_filter( &#039;embed_oembed_html&#039;, &#039;add_video_wmode_transparent&#039;, 10, 3);
inside the functions import. :S</description>
		<content:encoded><![CDATA[<p>I&#8217;m not really sure how to check for collisions..</p>
<p>I&#8217;ve pasted it right after the &lt;?php</p>
<p>I do find it a bit weird adding the:<br />
add_filter( &#039;embed_oembed_html&#039;, &#039;add_video_wmode_transparent&#039;, 10, 3);<br />
inside the functions import. :S</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding wmode transparent to WordPress 3 media embeds by mehigh</title>
		<link>http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html#comment-399</link>
		<dc:creator>mehigh</dc:creator>
		<pubDate>Sat, 18 Feb 2012 09:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://mehigh.biz/?p=19#comment-399</guid>
		<description>I&#039;m using the updated function (the 2nd one in the post, which works for iFrames as well) and it works perfectly fine on WordPress 3.3.1.
Check the placement of the function in your functions.php and make sure it doesn&#039;t interfere with any other functions in there.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using the updated function (the 2nd one in the post, which works for iFrames as well) and it works perfectly fine on WordPress 3.3.1.<br />
Check the placement of the function in your functions.php and make sure it doesn&#8217;t interfere with any other functions in there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

