Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1

    Default built in mp3 player endless loop...

    When you import an audio file into Xara it asks if you want the mp3 to play automatically or upon pressing "play". That's all fine and good and I choose I wanted the built in Xara player to play when play is pressed. However, once the file plays, it doesn't stop at the end of the audio, it just continues an endless loop. Is there anyway to make it playback only once instead? Here's an example ..
    http://www.speakingofradio.com/MBC_TEST/art%20laboe.htm

  2. #2

    Default Re: built in mp3 player endless loop...

    ..

  3. #3

    Default Re: built in mp3 player endless loop...

    Drag your MP3 into the document, select the player object, go to the placeholder tab, select HTML code (Head) and add the param "playLoop": false,

    <script type="text/javascript" src="index_htm_files/jquery.cookie.js"></script>
    <script type="text/javascript" src="index_htm_files/swfobject.js"></script>
    <script type="text/javascript" src="index_htm_files/magix_player.js"></script>
    <script type="text/javascript">$(document).ready(function(){
    var params={"path":"index_htm_files/",
    "playlist":[{title:"Backing Tracks - Soundtrack - Red Dwarf Theme.mp3",
    mp3:"index_htm_files/Backing Tracks - Soundtrack - Red Dwarf Theme.mp3",
    duration:39}],
    "skinType":"flat",
    "skinColor":"darkglow",
    "container":$("#c794ffaf-649a-4096-b368-e846314f894b"),
    "pre":"c794ffaf-649a-4096-b368-e846314f894b",
    "order":"html",
    "autoplay":false,
    "showPlaylist":false,
    "playLoop": false,
    "fileType":"audio"
    };
    var myPlayer=openMagixPlayer(params);
    });</script>
    Click image for larger version. 

Name:	stop-loop.jpg 
Views:	198 
Size:	61.1 KB 
ID:	94789

  4. #4

    Default Re: built in mp3 player endless loop...

    Thanks again Sledger you're a life saver! I have 145 of these inductees to enter and I'd hate to be told that the player was too annoying after I was done.


    Quote Originally Posted by sledger View Post
    Drag your MP3 into the document, select the player object, go to the placeholder tab, select HTML code (Head) and add the param "playLoop": false,



    Click image for larger version. 

Name:	stop-loop.jpg 
Views:	198 
Size:	61.1 KB 
ID:	94789

  5. #5

    Default Re: built in mp3 player endless loop...

    Hopefully Xara will add this option to the import dialogue, baffles me a bit why it's not already there.

  6. #6

    Default Re: built in mp3 player endless loop...

    Quote Originally Posted by sledger View Post
    Hopefully Xara will add this option to the import dialogue, baffles me a bit why it's not already there.
    Do have another quick question maybe you know the answer to Sledger. When I go to the comment box just below the player, put in a post, then press the enter bar or "Comment" button, the player then starts playing automatically. Is there another command to stop this?

    Update: Actually, it seems to be activated by the spacebar button!

 

 

Bookmarks

Posting Permissions

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