<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jesse Bilsten &#187; iframe</title>
	<atom:link href="http://jesse.bilsten.net/tag/iframe/feed/" rel="self" type="application/rss+xml" />
	<link>http://jesse.bilsten.net</link>
	<description>The life of a web entrepreneur</description>
	<lastBuildDate>Tue, 27 Sep 2011 20:08:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Object instead of iFrame</title>
		<link>http://jesse.bilsten.net/2009/05/object-instead-of-iframe/</link>
		<comments>http://jesse.bilsten.net/2009/05/object-instead-of-iframe/#comments</comments>
		<pubDate>Tue, 19 May 2009 15:36:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://jesse.bilsten.net/?p=235</guid>
		<description><![CDATA[I was working on a video player that had it&#8217;s controls rendered in HTML/CSS with Javascript hooks into a SWF file that actually streamed the video when I started looking at trying to use Object instead of an iFrame to display/share the project.  I read just about everything I could find on it: 456 Bera [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a video player that had it&#8217;s controls rendered in HTML/CSS with Javascript hooks into a SWF file that actually streamed the video when I started looking at trying to use Object instead of an iFrame to display/share the project.  I read just about everything I could find on it:</p>
<ul>
<li><a href="http://www.456bereastreet.com/archive/200612/dump_iframes_and_use_object_elements_instead/">456 Bera St. &#8211; Dump iFrames and use Object instead</a></li>
<li><a href="http://muffinresearch.co.uk/archives/2006/11/27/no-more-iframes/">Muffin Research Labs &#8211; No more iframes?</a></li>
<li><a href="http://intranation.com/test-cases/object-vs-iframe/">Intranation &#8211; Using an object instead of an iframe</a></li>
</ul>
<p>After reading all of these articles and playing with the results I&#8217;ve come to a few conclusions:</p>
<ul>
<li>IE doesn&#8217;t fully support object&#8217;s yet, no matter how you slice it.</li>
<li>Mozilla and the rest of the standards brigade don&#8217;t render the object when
<pre><code>classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13"</code></pre>
<p>is within the object tag.</li>
<li>External content can be pulled through into an object tag using the data attribute.</li>
</ul>
<p>So here&#8217;s essentially what everyone&#8217;s code looks like:</p>
<pre><code>&lt;object width="660" height="399" type="application/x-shockwave-flash"&gt;&lt;/object&gt;</code></pre>
<p>My problem?  It doesn&#8217;t work reliably across all browsers.  IE only renders it when it has a classid and the standards brigade doesn&#8217;t render it when it is there.  There isn&#8217;t a solution that would allow a nice and tide sharing copy/paste line of text that works across all browsers like an <a href="http://www.w3schools.com/TAGS/tag_iframe.asp">iFrame</a>&#8230;yet.  And in case you&#8217;re not following along, what I&#8217;m talking about is something like what YouTube does:</p>
<pre><code>&lt;object width="560" height="340" data="http://www.youtube.com/v/GggVSAPt-HY&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash"&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="src" value="http://www.youtube.com/v/GggVSAPt-HY&amp;amp;hl=en&amp;amp;fs=1" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;/object&gt;</code></pre>
<p><a href="http://blogs.msdn.com/ie/">Microsoft</a>, if you&#8217;re listening.  Please can you take a look at this and figure something out?  We&#8217;d all love to be standards compliant and strict even, but iframe is going the way of the <a href="http://en.wikipedia.org/wiki/Dodo">dodo</a> and object isn&#8217;t supported by that lovely browser that doesn&#8217;t seem to support anything cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://jesse.bilsten.net/2009/05/object-instead-of-iframe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

