Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javascript embed issues in Safari



After much fun with Google, I think I've enlightened myself.

From what I understand, the reason Apple (and many other plug in producers) released the javascript 'code injection' instructions was to fix the issue introduced with an Internet Explorer update, released by MS as a result of the Microsoft vs Eolas case.
http://en.wikipedia.org/wiki/EOLAS


With a fairly recent version of IE 7, the behaviour observed when using the html object tag is not as bad as I observed in IE 6 earlier today. In IE 6, I was presented with a white, blank space where the video was supposed to play using the qt plugin.
Viewing the same page in IE 7 resulted in a QuickTime logo and text along the lines of 'press space bar or enter to activate and use this control'. Doing so resulted in a working QT video - this isn't too bad as, generally, there will only be one or two embedded videos per page.


Lastly, I think all of this is moot, as I read on an msdn blog that the April 2008 update to Internet Explorer will include a workaround, which will enable the 'old style' method of using the 'object' tag hard-coded into the html. No more 'click this to continue, press space bar for that' messages.

I think I'll go back to using the plain old hard-coded html method for now and see what happens.

Sorry if all of what I've said is old news, hopefully it will be of use to someone searching the archives in the future!

Thanks

Stuart

PS, some good links for reference:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_4150
http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WSd60f23110762d6b883b18f10cb1fe1af6-7ba8.html
http://quicktime.tc.columbia.edu/users/iml/movies/mtest.html (excellent reference)




On 13 Mar 2008, at 18:44, Stuart Ramdeen wrote:

Hi,

After eventually getting my head around the Javascript method of embedding a QuickTime movie, I have come up against a brick wall, which I can't seem to get over.

I have a page at https://secure.houseschools.com/stu/test.html that is supposed to load a poster movie and, when clicked, open a connection to an on demand stream over rtsp.
It works in FireFox on PC and Mac, Internet Explorer on PC, but I can't get it to work in Safari on the Mac.
Well, it works if you click on the play button, but I specifically have the 'autoplay' set to 'true'. Here's the entire html page:


<HEAD>
<TITLE>test
</title>
<script src="AC_QuickTime.js" language="JavaScript" type="text/ javascript"></script>


</HEAD>

<BODY>


<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT_XHTML('http://homepage.mac.com/istu/Sites/bclc/BBCNewsSchoolReport_poster.mov' , '480', '360', '',
'href', 'rtsp://82.198.227.205:80/BBC/BBCNewsSchoolReport.mp4',
'autoplay', 'true',
'bgcolor', 'white',
'align', 'middle',
'controller', 'true');
</script>





</BODY> </HTML>


Can someone please point me in the right direction before I pull my hair out.


Many thanks,

Stu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden
References: 
 >javascript embed issues in Safari (From: Stuart Ramdeen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.