Welcome to TalkGraphics.com
Results 1 to 7 of 7

Thread: mp3 Help Please

  1. #1
    Join Date
    Feb 2016
    Posts
    8

    Default mp3 Help Please

    So I got a website built and uploaded, now I'm try to add and perfect it a bit. I added an mp3 to a page. Works ok but it keeps repeating. How can I make it just play once while on the page? I can't find any tools for mp3's

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,512

    Default Re: mp3 Help Please

    Welcome to TalkGraphics

    I think you will need to add a script to your file. I have no idea how to do this but do check back because I am sure one of the members will have the answer to this.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,854

    Info Re: mp3 Help Please

    If you have dropped the mp3 onto your design page, Xara will have created a Placeholder.

    Select the player Placeholder and right-click and click on the Edit widget....
    Click the HTML code (head) button.

    Find the params varible and insert "playLoop": false, immediately after "autoplay":false,:
    var params={"path":"index_htm_files/","playlist":[{title:"e301_2013j_aug001.mp3",
    mp3:"index_htm_files/e301_2013j_aug001.mp3",
    duration:104}],
    "skinType":"flat",
    "skinColor":"darkglow",
    "containerID":"3a5f61b9-5e53-4403-9a0c-bde3d54270b0",
    "pre":"3a5f61b9-5e53-4403-9a0c-bde3d54270b0",
    "autoplay":false,
    "playLoop": false,
    "showPlaylist":false,
    "activateKeys":false,
    "fileType":"audio"
    };
    Then click the OK and the Apply buttons.
    Acorn

    P.S. Try Google with site:www.talkgraphics.com/ "playLoop": false,
    The earlier solution to this seems to be through Steve Ledger.
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  4. #4
    Join Date
    Feb 2016
    Posts
    8

    Default Re: mp3 Help Please

    this is what I have put in code, playloop was not there so I added it.
    duration:27}],
    "skinType":"flat",
    "skinColor":"darkglow",
    "containerID":"44889f6c-9818-4b06-b104-4add8912705c",
    "pre":"44889f6c-9818-4b06-b104-4add8912705c",
    "autoplay":true,
    "playloop":false,
    "showPlaylist":false,
    "activateKeys":false,

    But still keeps looping???

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,854

    Default Re: mp3 Help Please

    Quote Originally Posted by todrut View Post
    this is what I have put in code, playloop was not there so I added it.
    duration:27}],
    "skinType":"flat",
    "skinColor":"darkglow",
    "containerID":"44889f6c-9818-4b06-b104-4add8912705c",
    "pre":"44889f6c-9818-4b06-b104-4add8912705c",
    "autoplay":true,
    "playloop":false,
    "showPlaylist":false,
    "activateKeys":false,

    But still keeps looping???
    It needs to be "playLoop": false, the L is a capital!
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Feb 2016
    Posts
    8

    Default Re: mp3 Help Please

    funny how a little thing like that stops it from working??? working now, thank you

  7. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,925

    Default Re: mp3 Help Please

    Yes, even a missing comma can mess it up. Good find Acorn.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

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
  •