This may work, or maybe give you an idea where to look...
In the widget's HTML file,
<embed id="sound" src="yourSound.mp3" type="audio/mp3" hidden="true"
loop="false" autoplay="false"></embed>
In the Javascript code...
document.getElementById("sound").Play();
Mike
On Jan 17, 2007, at 2:20 PM, Jack Chen wrote:
Dear list,
I am trying to figure out how to have a widget play an mp3 or two.
What can I use to embed the music?
Thanks!
Jack
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden