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: Displaying a "sound object" on a web site



Hi there!

On Fri, 27 May 2005, Richard L. Aurbach wrote:

>Now, what I'd like to do is embellish the output as follows:
>(1) add a still pix associated with the controller to provide a better
>visual appearance (that's why the height is specified as 40 instead of
>16).
>(2) add the ability to click on the pix and have the sound play, just
>as if the user had clicked on the start item on the controller.
>
>Can anyone either provide some sample code I might use or a reference
>to a location where I could learn how to do this myself?

Here's some sample code generated with the most excellent Pageot that sort
of does what you want.  The best way to do this is to build the movie
using LiveStage Pro; then you can build the functionality right into the
movie.

-------------------
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"  width="40"
height="40" codebase="http://www.apple.com/qtactivex/qtplugin.cab";>
<param name="SRC" value="ClickMe.mov">
<param name="CONTROLLER" value="FALSE">
<param name="BGCOLOR" value="000000">
<param name="AUTOPLAY" value="FALSE">
<param name="CACHE" value="FALSE">
<param name="HREF" value="<WaterClip.aiff> E<autoplay=true controller=true>">
<param name="TARGET" value="myself">
<embed
 src="ClickMe.mov"
 width="40" height="40"
 controller="FALSE"
 bgcolor="000000"
 autoplay="FALSE"
 cache="FALSE"
 href="<WaterClip.aiff> E<autoplay=true controller=true>"
 target="myself"
 type="video/quicktime"
 pluginspage="http://www.apple.com/quicktime/download/";>
</embed>
</object>
-------------------

Good Luck!

               Steve Weintz ~ Groovium ~ P.O. Box 568, Big Sur, CA 93920
             (831) 667-2032 ~ email@hidden ~ www.groovium.com


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

This email sent to 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.