Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2011
    Location
    Florida
    Posts
    21

    Default Designer Pro X V.18 Autoplay Audio

    I have searched for a long time the answer to this question and did not see exactly what I need.
    So sorry if this is a repeat and do not mean to take up your time.

    My mp3 when dragged into the document either does not play at all or plays for 2 seconds and then nothing.
    It does not repeat or even play the entire mp3.

    I also do not want the control bar showing. Which I can place it off the page, but only if the audio plays and loops on its own.

    May I please have some assistance?

    Thank you,
    Lisa
    Last edited by gwpriester; 22 September 2023 at 06:07 PM. Reason: typo

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,204

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Lisa, in general:
    • Drag you MP3 onto your design
    • Accept Autoplay
    • Open into the Widget's Placeholder Body
    • Delete - class="xar_meplayer"
    • Delete - controls
    • Add - loop
    • You might have to add - controls hidden

    Modern browsers do not like autoplay so you may have to come back and ask how to start an audio file otherwise.

    Acorn
    Last edited by Acorn; 21 September 2023 at 03:30 PM.
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy

  3. #3
    Join Date
    Sep 2011
    Location
    Florida
    Posts
    21

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Thank you. It did hide the controls, but the music did not play. Could it be that I have a Fade slideshow going on that page, too.
    Maybe they don't like each other?

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,204

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Quote Originally Posted by Liann View Post
    Thank you. It did hide the controls, but the music did not play. Could it be that I have a Fade slideshow going on that page, too.
    Maybe they don't like each other?
    Lisa, nothing to do with anything you have. Browsers nowadays block autoplay! https://developer.chrome.com/blog/autoplay/

    Here is an approach that just about gets round it: JS - Autolooping Audio.xar.

    Shift+Ctrl+Alt+A is a hidden, little known Xara command that attaches an external file to an element.
    Shift+Ctrl+Alt+D on a selected element detaches all attached files.

    Acorn
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy

  5. #5
    Join Date
    Feb 2007
    Location
    UK
    Posts
    20,974

    Default Re: Disigner Pro X V.18 Autoplay Audio

    and I am grateful that they do - the last thing I want is to go to a site and have ad audio blaring out at me

    ok I am sure that is not your intention, but we can't have it both ways in a browser setting that respects user experience across the board
    -------------------------------
    Nothing lasts forever...

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,204

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Quote Originally Posted by handrawn View Post
    and I am grateful that they do - the last thing I want is to go to a site and have ad audio blaring out at me
    ok I am sure that is not your intention, but we can't have it both ways in a browser setting that respects user experience across the board
    handrawn, I agree, it ought to be an opt-in experience.

    My coding allows for a range of designer choices; a looping, uninterruptible cacophony ought not to be one though. I was expecting a quiet susurration.
    Perhaps I should have included a document.getElementById('music').volume = 0.2; statement.

    Acorn
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy

  7. #7
    Join Date
    Sep 2011
    Location
    Florida
    Posts
    21

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Quote Originally Posted by Acorn View Post
    handrawn, I agree, it ought to be an opt-in experience.

    My coding allows for a range of designer choices; a looping, uninterruptible cacophony ought not to be one though. I was expecting a quiet susurration.
    Perhaps I should have included a document.getElementById('music').volume = 0.2; statement.

    Acorn
    The audio paired with the fade slideshow is to play like a video. The book author customer has requested it. The slideshow would be an artists rendition of the main characters of her book. It would not be blaring at the website viewer. It would run as a mini video. I still couldn't get it to run without physically pressing the play button on the controls anyway. She wanted it to run like the opening to the Scrooge movie with Albert Finney from 44 seconds in to 2:26 https://www.google.com/search?q=scro...vClSBQnDw,st:0

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,204

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Quote Originally Posted by Liann View Post
    The audio paired with the fade slideshow is to play like a video. The book author customer has requested it. The slideshow would be an artists rendition of the main characters of her book. It would not be blaring at the website viewer. It would run as a mini video. I still couldn't get it to run without physically pressing the play button on the controls anyway. She wanted it to run like the opening to the Scrooge movie with Albert Finney from 44 seconds in to 2:26 https://www.google.com/search?q=scro...vClSBQnDw,st:0
    Lisa, you've not made it easy for yourself.

    The big problem you will have is one of synchronisation.
    If the Fade Slideshow is playing like a video then make it into a video and embed the narration into that.
    Then as you loop the video you can have a Narration On/Off feature that it properly synced as you've made it so.
    Any other approach assuming no loading delays, no slideshow pauses or resets and no jumping between variants.

    You have yet to cover how your quiet narration will sound on a vast array of systems with different settings. That omission is scary.

    With a fair bit of coding I could probably manage a trigger per slide transition to start an audio as the correct point and stop on slide transition out to await the next trigger.

    I welcome anyone's suggestions here.

    Have a look at Google Slides.
    It allows adding Audio to a Slide. I believe you can use the one audio file with different start and stop points for each slide. If not, use separate audio files.
    You then use File > Share > Publish to web and in the Embed, tick Start Slideshow (autostart) and Restart (loop).

    I have not fully checked but the audio engages without user interaction (https://docs.google.com/presentation...3V4Tk/present#!).
    This is an old approach as GS not directly includes Audio files (MP3) so not MP4 conversion is needed.

    You would then add the Embed Code into a Placeholder - Google Slides - Autostart & Loop.xar.

    Acorn
    Acorn - installed & active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy

  9. #9
    Join Date
    Sep 2011
    Location
    Florida
    Posts
    21

    Default Re: Disigner Pro X V.18 Autoplay Audio

    Quote Originally Posted by Acorn View Post
    Lisa, you've not made it easy for yourself.

    The big problem you will have is one of synchronisation.
    If the Fade Slideshow is playing like a video then make it into a video and embed the narration into that.
    Then as you loop the video you can have a Narration On/Off feature that it properly synced as you've made it so.
    Any other approach assuming no loading delays, no slideshow pauses or resets and no jumping between variants.

    You have yet to cover how your quiet narration will sound on a vast array of systems with different settings. That omission is scary.

    With a fair bit of coding I could probably manage a trigger per slide transition to start an audio as the correct point and stop on slide transition out to await the next trigger.

    I welcome anyone's suggestions here.

    Have a look at Google Slides.
    It allows adding Audio to a Slide. I believe you can use the one audio file with different start and stop points for each slide. If not, use separate audio files.
    You then use File > Share > Publish to web and in the Embed, tick Start Slideshow (autostart) and Restart (loop).

    I have not fully checked but the audio engages without user interaction (https://docs.google.com/presentation...3V4Tk/present#!).
    This is an old approach as GS not directly includes Audio files (MP3) so not MP4 conversion is needed.

    You would then add the Embed Code into a Placeholder - Google Slides - Autostart & Loop.xar.

    Acorn
    I think she wants just a generic audio and synchronization probably wouldn't be a factor. I will look into the Google slides. I may talk her out of the audio.
    Thank you so very much for your assistance. I really appreciate it.

  10. #10
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,790

    Default Re: Disigner Pro X V.18 Autoplay Audio

    It's Sunday and susurrations are great for Sundays. So great I had to look it up

    What is an example of susurration?
    To susurrate is to rustle or make a soft, whispery sound. There's nothing more relaxing than sitting outside on a summer night listening to the leaves susurrate overhead.
    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

 

 

Tags for this Thread

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
  •