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: Embedding content with the OBJECT element




On Aug 29, 2007, at 4:57 PM, Rob Burns wrote:

Hello all,

I've been conducting some cross-browser tests of embedding content with the OBJECT element and I've run into some disappointing results for Safari./ WebKit. For a recent nightly build, WebKit now uses, the intrinsic dimensions of images are used to size the images (that's good; in the latest Beta 3 release it  does not). However, when Safari turns to the QuickTIme plugin to handle the video and audio, that content is not loaded.

  This is caused by a bug in the QuickTime plug-in. It will be fixed in an upcoming release.


For FireFox 2, iCab 3 and Opera 9, these browsers all load this QuickTime content just fine and begin playing the content immediately (though perhaps they should only play one immediately). 

  "autoplay" can be specified in the markup with a <param> element. If it is not set in the markup, the plug-in looks at a user preference set in the "Browser" pane of the QuickTime system preference/control panel. This setting defaults to true.


If you scroll to the bottom of these sample pages, you'll see the QuickTime logo indicating the files are not loaded.

This file does not set height and width dimensions on the OBJECT element

This file sets height and width dimensions on the OBJECT element

My question is what's the minimal markup I would need to add to these examples to get the QuickTime handler to load the files. As I said its already working in all of these other browsers with no extra markup. In fact for the example with explicit dimensions included, Safari is the only browser that does not handle this content.

  To make it work with the current version of QuickTime you will need to add a "src" <param> element, eg:

<object data=''><param name='src' value='../att-0026/TestAudio.mp3'>"A very short song by They Might Be Giants called <cite class='song-title' >I Heard a Sound</cite></object>
eric
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >Embedding content with the OBJECT element (From: Rob Burns <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.