How can i auto play videos in Dawn theme?

Danish864
Excursionist
14 0 4

Hi i want to autoplay video in Dawn theme. And i want to remove play/pause icon from it. Thankyou

0 Likes
HelpifyHelp
Excursionist
24 5 7

Hello. 

You can insert this code

<video class="video-background" loop="" muted="" no-controls="" autoplay="" src="VIDEO URL HERE" playsinline="" style="transform: scale(1.27563, 1.27563);">
<source type="video/mp4" src="">
</source></video>

<style>
.video-background {
width: 100%;
padding-top: 200px;
opacity: 0.6;
height: auto;
left: 0;
top: 0;
}


</style>
If you liked the help we provided then accept the solution and like it.
If our help was helpful please consider to give a small donation so we can keep helping on the Shopify community
click here to donate
All donations are greatly appreciated | Hire us contact support@helpifyhelp.com
Danish864
Excursionist
14 0 4

Thanks for your reply. Please guide me where i have to paste this link. also let me know should i enter my video url in the code where it says src ?

0 Likes
HelpifyHelp
Excursionist
24 5 7

Yes, you will put the video source in the src between the " ". 

if your theme have a custom section you can make a custom section with html and paste it there. 

If you're Danish as your name states you can contact us in a private message in Danish as it's our main language.

If you liked the help we provided then accept the solution and like it.
If our help was helpful please consider to give a small donation so we can keep helping on the Shopify community
click here to donate
All donations are greatly appreciated | Hire us contact support@helpifyhelp.com
0 Likes
LukePlayhood
New Member
3 0 0

hi, i tried the code but the video doesnt fit in the mobile view. and also, there is a opaque-ness to it. pls advice thank yoU!

0 Likes