Hide controls in custom HTML section

Solved
MHouse2948
Tourist
9 0 1

Hello!

I put a video into the custom html section that is hosted within shopify, but it still shows the controls at the bottom of the video. How do I get rid of that?

Thanks!

0 Likes
Zworthkey
Shopify Partner
225 12 46

Hello 

Use this code.

<iframe width="560" height="315" src="//www.youtube.com/embed/qHn0SJHL6Sk?rel=0" frameborder="0" allowfullscreen></iframe>

Thank you

I hope it will be helpful for you.

0 Likes
suyash1
Shopify Partner
1995 205 304

@MHouse2948 - can you please share your web page link?

you are welcome to contact me.
My email - suyash.patankar@gmail.com

#1 page builder app on Shopify - for FREE! PageFly

My timezone is GMT+5:30
0 Likes
MHouse2948
Tourist
9 0 1

edit

0 Likes
Zworthkey
Shopify Partner
225 12 46

Hello,

Share with me

your store link.

thank you

0 Likes
MHouse2948
Tourist
9 0 1

That didn't work unfortunately. I'm not sure if it's because I am using a file hosted on shopify instead of youtube. Thank you though!

0 Likes
MHouse2948
Tourist
9 0 1

Unfortunately, I can't share the store link right now because we don't have anything registered business wise yet. Here's the current code I'm using though. I'm using the impulse theme btw.

<video style="max-width: 100%; height: auto;" controls muted playsinline autoplay loop>
<source src="https://cdn.shopify.com/s/files/1/0441/1093/8265/files/Pexels_Videos_3854.mp4?v=1608283803" type="video/mp4">
</video>

Does this help? It works perfectly except it just shows the bottom controls when you scroll over it.

0 Likes
MHouse2948
Tourist
9 0 1

Unfortunately, I can't share the store link right now because we don't have anything registered business wise yet. Here's the current code I'm using though. I'm using the impulse theme btw.

<video style="max-width: 100%; height: auto;" controls muted playsinline autoplay loop>
<source src="https://cdn.shopify.com/s/files/1/0441/1093/8265/files/Pexels_Videos_3854.mp4?v=1608283803" type="video/mp4">
</video>

Does this help? It works perfectly except it just shows the bottom controls when you scroll over it

0 Likes
suyash1
Shopify Partner
1995 205 304
remove the word controls in video tag and check
you are welcome to contact me.
My email - suyash.patankar@gmail.com

#1 page builder app on Shopify - for FREE! PageFly

My timezone is GMT+5:30
0 Likes
suyash1
Shopify Partner
1995 205 304

This is an accepted solution.

@MHouse2948 - remove word controls in video tag and check

you are welcome to contact me.
My email - suyash.patankar@gmail.com

#1 page builder app on Shopify - for FREE! PageFly

My timezone is GMT+5:30
0 Likes