Skip to main content
Participating Frequently
June 24, 2022
Answered

Published MP4 audio works, but Published HTML5 audio doesn't work

  • June 24, 2022
  • 1 reply
  • 274 views

When I publish a 2019 CP file as HTML5 the audio doesn't work but when published as MP4 the audio works. Does anyone know of potential solutions?

    This topic has been closed for replies.
    Correct answer RodWard

    Rod, I believe you are correct. Would you recommend forcing the learner to click on start/play icon in the middle of the browser instead removing it by this workaround in the Captivate HTML file?
    cpInit();
    cp.movie.play();
    initialized = true;
    We need a solution for all of our customers. 


    Yes I recommend you just get the users to interact with the content right from the get go.  You can actually replace that button with an image.  If you create an image with some text that says: "Click to start" or something like that, then the learner knows exactly what to do and your audio should work as soon as they get to the first slide after that.

    1 reply

    Participating Frequently
    June 24, 2022

    Actually the audio plays back if I use the skin to replay the HTML5 published version. The audio does noy play if the HTML starts from Chrome without using the skin to replay it. 

    Lilybiri
    Legend
    June 24, 2022

    Did you include the audio in Preferences, Project, Publish  Settings?

    Personally I avoid audio on the first slide. Did you test in Preview (F11) or after publishing and uploading to a webserver?

    Participating Frequently
    June 24, 2022

    Lilybri, good to see you again. Audio is included. Sound works in Preview. Haven't uploaded it to a webserver.