×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    10

    Question Loop Music/Embed

    Hi Everyone

    I am working on a alarm widget. There are many <div> portion and in one of it when it appear/become visible it will trigger the alarm.

    Currently, I embed my alarm with the code:
    <embed src="alarm.wav" autostart="true" hidden="true" loop="true"/>
    It does not loop in Firefox and in my S60 emulator and of cos will not loop in the mobile as well.

    I have tried using bgsound but no avail.

    Using object code:
    <object>
    <param name="ring" value="alarm.wav">
    <embed src="alarm.wav" autostart="true" hidden="true" loop="true"></embed>
    </object>
    It will not work as well.

    Does anyone have a better solution to this or change the way it work(dont use embed) ??

  2. #2
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229

    Re: Loop Music/Embed

    you will need to use an embedded flash application to loop the sound. Assuming you have access to Flash authoring software, you will import the sound as wav into your FLA and use a sound object to control the sound looping. You can set up a javascript to actionscript bridge to control playback from Javascript. You might look at the wiki for more information on Javascript control over Flash embedded in WRT.

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    10

    Re: Loop Music/Embed

    Hi hp3

    Hmm. Can I have more details and description about using it ?
    I am still not sure how to use used after googling around.

    How about sending me the URL to the article? cant find it....
    Perhaps you can have an example and a sample wrt for me to explore about pls.


    Thanks in advance.
    Very much appreciated

  4. #4
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229

    Re: Loop Music/Embed

    you may not need to control playback from javascript, that is up to you. Here is the url to the wiki post, "Controlling Flash from Javascript".

    http://wiki.forum.nokia.com/index.ph...dget_%28WRT%29

Similar Threads

  1. Recording audio in loop, crashes on N70
    By hsundt in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2010-12-29, 15:22
  2. Halt the for loop
    By younker in forum Symbian
    Replies: 2
    Last Post: 2007-03-21, 09:23
  3. RunL() method is not being called
    By dotcdotc in forum Symbian
    Replies: 9
    Last Post: 2004-12-13, 11:25
  4. Nokia 22- Loop current Reversal
    By Nokia_Archived in forum Nokia M2M
    Replies: 1
    Last Post: 2002-05-20, 14:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×