bobgo2728 Posted July 25, 2008 Report Share Posted July 25, 2008 OK gang I am having an issue here. Take a look at this page. I am trying to get the quicktime to output correctly from the QT Pro page that says the following:This goes in the head doc<script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script><script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script><link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />This goes in the body:<script type="text/javascript"><!-- QT_WritePoster_XHTML('Click to Play', 'DirtPit0801-poster.jpg', 'DirtPit0801.mov', '640', '496', '', 'controller', 'true', 'autoplay', 'true', 'bgcolor', 'black', 'scale', 'aspect');//--></script><noscript><object width="640" height="496" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="DirtPit0801-poster.jpg" /> <param name="href" value="DirtPit0801.mov" /> <param name="target" value="myself" /> <param name="controller" value="false" /> <param name="autoplay" value="false" /> <param name="scale" value="aspect" /> <embed width="640" height="496" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" src="DirtPit0801-poster.jpg" href="DirtPit0801.mov" target="myself" controller="false" autoplay="false" scale="aspect"> </embed></object></noscript>You can read it all here, here.I have done so. I also added in the page documents so I can have it following the template. Here is the code from the page.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>DirtPit.TV - Explore the exciting world of Dirt Track Racing straight from the pits!</title><meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" /><script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script><script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script><link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" /><link rel="alternate" type="application/atom+xml" title="DirtPit.TV RSS Feed" href="http://www.dirtpit.tv/feed.xml" /><link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon" /><style type="text/css" media="all">@import "/style.css";</style></head><body><div id="wrap"><script type="text/javascript" src="/js/navbar.js"></script><center><script type="text/javascript"><!-- QT_WritePoster_XHTML('Click to Play', 'DirtPit0801-poster.jpg', 'DirtPit0801.mov', '640', '496', '', 'controller', 'true', 'autoplay', 'true', 'bgcolor', 'black', 'scale', 'aspect');//--></script><noscript><object width="640" height="496" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="DirtPit0801-poster.jpg" /> <param name="href" value="DirtPit0801.mov" /> <param name="target" value="myself" /> <param name="controller" value="false" /> <param name="autoplay" value="false" /> <param name="scale" value="aspect" /> <embed width="640" height="496" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" src="DirtPit0801-poster.jpg" href="DirtPit0801.mov" target="myself" controller="false" autoplay="false" scale="aspect"> </embed></object></noscript></center><div id="footer"><p><script type="text/javascript" src="/js/footer.js"></script><script type="text/javascript">addthis_pub = 'bobgo2930'; addthis_brand = 'BOGOInteractive.com';</script><a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="/images/main_images/bookmark.gif" width="71" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script></p><p><script type="text/javascript"><!--google_ad_client = "pub-3404595054913891";/* 728x90, created 4/6/08 */google_ad_slot = "5985476230";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p></div></div><script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">var pageTracker = _gat._getTracker("UA-4709105-2");pageTracker._initData();pageTracker._trackPageview();</script></body></html>I also notice it does not validate either. What is going on? Quote Link to post Share on other sites
jcl Posted July 27, 2008 Report Share Posted July 27, 2008 (edited) The embed element isn't in XHTML.Edit: And that document probably needs an XML declaration to be conformant in all contexts:<?xml version="1.0" encoding="ISO-8859-1"?> Edited July 27, 2008 by jcl Quote Link to post Share on other sites
bobgo2728 Posted July 28, 2008 Author Report Share Posted July 28, 2008 OK I made some changes to things, check out http://www.dirtpit.tv/quicktime.html and see what you think. Also, I was told by godaddy.com that the file extension I needed was not turned on and also that being on a windows server did not help either so I am now on Linux and extension is all good. So in all it should work.Also, I need people with an iphone and others to test the URL out to see if it picks the right file for you to view. I just wish I could get rid of the jave script error that I see come up. I think for the most part I fixed the validation part.The embed element isn't in XHTML.Edit: And that document probably needs an XML declaration to be conformant in all contexts:<?xml version="1.0" encoding="ISO-8859-1"?> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.