How can I upload a video to my homepage on Dawn?

How can I upload a video to my homepage on Dawn?

Veronika4
Visitor
1 0 0

Hi there,

I tried to upload a video to my homepage. Firstly, I tried to upload it into files and copy the link, but it didn't work. Then I tried to get the link from YT, but it seems that it doesn't recognise it. What shall I do? I have an old version of the video on YT and it works fine. I'd prefer not to use YT.

Veronika4_0-1675690642529.png

 

Many thanks.

Veronika

 

Replies 3 (3)

nicotroplent
Shopify Partner
21 0 0

Hello Veronika. Unfortunately, Youtube shorts do not work in Dawn's video section. However, you can paste your video's embed code from Youtube to a custom liquid block. 

Follow these steps: 

1. Right-click on the short youtube video and click "copy embed code."

2. In the Theme Editor, click on add section and select a custom liquid section

3. Paste the embed code into the input box

Here is how it renders on my screen. Final productFinal product

Hope this works for you. Let me know if you need any help implementing this. 

Thanks!

Nico

Did I solve your issue? Like & Accept Solution to help the community
Want to customize your store, contact me nicotroplent@gmail.com
Nico - Shopify Partner
MMil
Tourist
5 0 3

Hi Nico, Thanks for your suggestion. This did work for me, but not well. It left aligned the video for one, and I didn't know how to change it to center/align with the rest of my home page images/text. etc. Is there a code for that?

 

More importantly, and to @Veronika4 's original question, Is there a way to insert an embedded video that plays when the homepage opens, is not via a YouTube url?

AryavK
Trailblazer
224 9 32

just add 

 

<div align="center">

Video Embed Code

</div>

if my solution worked for you, please like and accept it as a solution

faith&you