FROM CACHE - it_header

Custom homepage video error

DiPrimaAntonio
Nuovo membro
4 0 0

Hello to everyone my name is Antonio. I own a jewelry store and I need to resolve a problem about my homepage video. I really hope you can help me out here.

I'm using the PRESTIGE theme, it has already two section options for background/featured video but none of them play audio, so I created a new <video> code to insert as a section to my homepage.

This is the custom-video.liquid

<div class="page-width section-hura-video">
<video autoplay muted loop playsinline class="hurabg-video">
<source src="{{ section.settings.cm_video_link }}" type="video/mp4">
</video> </div>

 

and this is the index-hura-video.liquid:

	<div class="section-hura-video">
	<video autoplay muted loop playsinline class="hurabg-video">
	<source src="{{ section.settings.cm_video_link }}" type="video/mp4">
      </video> </div>

 

I know the code has the "muted" tag in the code so it should not play the audio. But when I remove the tag on both .liquid files, on my edit theme section I can hear the audio and see the video as well, but if I save and visit my site www.igioiellidellacorona.com the video does not start at all, same for the audio.

Also, sometimes when I tried to fix this error I've noticed that the video sometimes start on chrome and not on Safari and viceversa. It must be a code error in my opinion.

Thank you if you've read it all, I'm hoping someone will write me some codes to fix this.

0 RISPOSTE 0