QuicktimeEmbedTest: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
(Created page with '<html> <head> <script src="http://www.apple.com/library/quicktime/2.0/scripts/prototype.js" language="JavaScript" type="text/javascript"></script> <script src="http://www.a…')
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Not good (made with iPhoto 09 exports) ===
<html>
<html>


Line 8: Line 9:


<body>
<body>
<a href=HMGDoom.mov" rel="qtposter">
<a href="/wiki/images/8/88/HMGDoom.mov" rel="qtposter">
<img src="/wiki/images/6/64/HMGDoom.jpg" width="854" height="496" />
<img src="/wiki/images/6/64/HMGDoom.jpg" width="854" height="496" />
</a>
</a>
</body>
</body>


</html>
=== better? (made with [http://blog.deconcept.com/code/qtobject/qtobject_simple.html qtobject_simple]) ===
<html>
<html>


<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QTObject embed by Geoff Stearns</title>
<!-- QTObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ -->
<script type="text/javascript" src="/html/js/qtobject.js"></script>
</style>
</head>


<body>
<p>The Quicktime movie below was embedded using the <a href="http://blog.deconcept.com/2005/01/26/web-standards-compliant-javascript-quicktime-detect-and-embed/
">QTObject</a> embed method by <a href="http://blog.deconcept.com/">Geoff Stearns</a>.</p>
<p>This is an example of a simple QuickTime movie embed.</p>
<div id="video">
<script type="text/javascript">
// <![CDATA[
// create the qtobject and write it to the page, this includes plugin detection
// be sure to add 15px to the height to allow for the controls
var myQTObject = new QTObject("/wiki/images/8/88/HMGDoom.mov", "foo", "640", "375");
myQTObject.addParam("autostart", "false");
myQTObject.write();
// ]]>
</script>
<noscript>
<p>You must enable Javascript to view this content. <a href="#">(Link to alternate content)</a></p>
</noscript>
</div>
</body>
</html>
=== another try [http://www.alistapart.com/articles/byebyeembed/ idea from here] ===
<html>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
  codebase="http://www.apple.com/qtactivex/qtplugin.cab"
  width="640" height="375">
  <param name="src"
    value="http://www.wurst-wasser.net//wiki/images/8/88/HMGDoom.mov" />
  <param name="controller" value="true" />
  <param name="autoplay" value="true" />
  <!--[if !IE]>-->
  <object type="video/quicktime"
    data="http://www.wurst-wasser.net//wiki/images/8/88/HMGDoom.mov"
    width="640" height="375">
    <param name="autoplay" value="true" />
    <param name="controller" value="true" />
  </object>
  <!--<![endif]-->
</object>
</html>
----
[[Category:Wiki]]
[[Category:Wiki]]

Latest revision as of 15:45, 11 March 2011

Not good (made with iPhoto 09 exports)

better? (made with qtobject_simple)

QTObject embed by Geoff Stearns

The Quicktime movie below was embedded using the QTObject embed method by Geoff Stearns.

This is an example of a simple QuickTime movie embed.


another try idea from here