Embedded video not playing audio

Hi! We have an embedded video at the top of our home page which has audio. The video plays fine, but the audio is not coming through. Can you advise?

Thank you!!

Hello There,

Thanks for posting in! I have checked your site and it appears that you are referring to the background video in your very first section. Please be advised that once you set a video as a background, the audio will automatically be muted. If you want to display and play the audio of the video, please do not use it as a video background. You will have to make the video as an element by using the video player or embedded video element instead.

Hope this helps.

Thank you for the fast response!! :slight_smile: That makes sense! The client wants to have text overlaying the video so we needed to make it a background. They also want the audio playing. We tried keeping the background video and adding an audio player with the audio, but the audio won’t play if the video is playing. Is there any work-around that you’re aware of so they can have both a video background and an audio player?

Thanks again for your always excellent help!!! :slight_smile:

Hello There,

Thanks for the clarifications and the updates. To resolve your issue, please removed the audio and let background vide stays. We can make use of the custom js and make the video not muted. Please edit the page back in Cornerstone and in Cornerstone custom js section, Custom JS and insert the following custom js code

jQuery(document).ready(function($){	
	setTimeout(function(){$('.page video.x-mejs').prop('muted', false);},1000);
});

Hope this helps.

Oh my goodness!! Thank you so much!! I did add this to Custom JS and the audio plays just a little blip and then cuts off. Should I maybe adjust the ‘1000?’

Thank you again!! You guys are amazing!!! :slight_smile:

Hey There,

Please change the 1000 to at least 3500 and see how it goes.

Regards.

That did the trick!! Thank you so much again for all your help!! :slight_smile:

Glad that we could be of a help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.