Тёмный

Add Video Background To Shopify - Dawn Theme Customization 

Webmyster
Подписаться 1,7 тыс.
Просмотров 25 тыс.
50% 1

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 178   
@oldmanjafar
@oldmanjafar 7 месяцев назад
When you click on "Has a Background Video" how does it know which file to play? Did I miss the part where you explain how to link a video file to the image banner?
@handmadeamsterdam
@handmadeamsterdam 8 месяцев назад
Thanks so much for this video! I successfully installed the video on desktop. The preview in Shopify also showed how it looked on mobile. However, the video is not showing up on my iphone. It just shows a still from the video. I found a playsinline code which I added, but that didn't help. I tried several others that I found online, but still it only shows the still on my iphone. If you have an idea on how to solve this, I would really really love to hear it.
@cnbjornsen
@cnbjornsen Год назад
Thanks for the guide. Was truly helpful. I see a few comments mentioning issues with the responsiveness of the video. I have a quick and easy workaround you can take advantage of, instead of messing with and adjusting the CSS to fit the aspect ratio and size of the video. Create a transparent png in the same aspect ratio as the video you use for the background. In my case, my video is 21:9 format. So I created a transparent PNG in Photoshop, with the size 2100x900px to match the video. Lesser resolution would also do the trick, but for the sake of the explanation, I'll stick to the above. Upload and select your transparet 21:9 image in the "First image" image picker. Congratulations, you video is now 100% responsive, using the existing native Dawn theme CSS; without the need to add in extra CSS and tamper with the sizes.
@matthewwood1453
@matthewwood1453 Год назад
Is this just a totally blank & transparent png file?
@ultraluxedesign
@ultraluxedesign Год назад
You can also use this code at the very end: .media.video-background>*:not(.zoom):not(.deferred-media__poster-button) { object-fit: cover; } INSTEAD OF: .media.video-background>*:not(.zoom):not(.deferred-media__poster-button) { height: auto; } @media screen and (max-width: 749px) { .banner--large.video-background:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content { min-height: 27rem; } } @media screen and (min-width: 750px) { .banner--large.video-background:not(.banner--adapt) { min-height: 39rem; } } @media screen and (min-width: 990px) { .banner--large.video-background:not(.banner--adapt) { min-height: 52rem; } } @media screen and (min-width: 1320px) { .banner--large.video-background:not(.banner--adapt) { min-height: 62rem; } }
@vincepham8113
@vincepham8113 Год назад
Thanks for your videos; I find your videos truly helpful and help my website become more professional and trustworthy!
@ewanduncanson7080
@ewanduncanson7080 2 года назад
Thank you so much for this video. Searched far and wide to avoid paying for an expensive theme to accommodate a video background
@ewanduncanson7080
@ewanduncanson7080 2 года назад
Saying this, video doesn't play on mobile when publish
@Webmyster
@Webmyster 2 года назад
You still having issues with video not playing on mobile for you?
@matthewh6983
@matthewh6983 2 года назад
@@Webmyster Never mind, solved from comment below! Thanks
@gisele-ugb
@gisele-ugb Год назад
Thank you for this qualitative video. The way you explain and show at this rythm is perfect for beginners. Also I have noticed some differences in the code making the lines of march 2023 different from yours (probably shopify updates). If I could make a suggestion I would say to watch out for this in the upcoming months. Many thanks.
@Webmyster
@Webmyster Год назад
Hi! I'm glad you like the video. As for the difference in code, I already have a video published for the newer version. Here is the link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LUHWnz85Tuc.html
@gisele-ugb
@gisele-ugb Год назад
@@Webmyster I will have a look, thanks!
@Ahmad_Mughal34
@Ahmad_Mughal34 Год назад
@@Webmyster Sir you are great persone i like all the videos
@dvkerns
@dvkerns 2 года назад
Thanks from the video. Small production note, when pausing the video to examine / transcribe code that is located in the bottom of the video frame, it is often obscured by YT's video scubber... if you just always made sure lines being edited were centered that would be great.
@Webmyster
@Webmyster 2 года назад
Thanks for the input, I'll keep that in mind.
@volharahavaya8146
@volharahavaya8146 2 года назад
Thank you very very much for this helpful tutorial!!!
@behshadm4086
@behshadm4086 2 года назад
hi, thanks for the great tutorial. everything is smooth except the adjusting of the width. even when I've used your trick to finding the width and height and inputed the right numbers. the grey banner won't go away!
@Webmyster
@Webmyster 2 года назад
If the only issue is the grey background that shows behind the video, try to add the following CSS to get rid of it. Let me know if this works out for you. .banner__media, .banner__media:after { background: none; }
@katezeller4795
@katezeller4795 2 года назад
@@Webmyster Having same problem - I believe it's because the video is not adapting to the height of the container. So using your mobile adjustments tips only makes the container adjust, not the video. I'm having this same problem - I need the height of video to meet the height of container (so video would be zoomed in/adjusted to accomplish this). Same way it auto adjusts for images. Can you help with this?
@abhumankotia6320
@abhumankotia6320 Месяц назад
hey, thank you for the help! Did have a question.. My image banner has a grey bar on the right, how can I fix this?
@AmeerHamza-th8pq
@AmeerHamza-th8pq 3 месяца назад
Hi, I have applying same method but the video on mobile are play correctly on Android but not not iPhone devices can you answer on?
@inflamedia
@inflamedia 6 месяцев назад
Great video, thanks! What code would you use in Dawn 13? How would you specify if you wanted a different video on mobile?
@farukweb
@farukweb 2 месяца назад
Nice tutorial for video banner.
@pistantico
@pistantico Год назад
Thank you so much for your video but i have a problem , i followed every step that you have explained but at the end on my video banner it shows me your video with dog , it doesn't show me my video!! what should i do?
@Webmyster
@Webmyster Год назад
You need to remove the link of my video from the code and use yours instead., look in the code where you pasted You will see it has a long link inside quotes, replace that with your video link. That should change it.
@3eworkwear
@3eworkwear 10 месяцев назад
Great tutorial! Is there any way you can confirm what is required to replace the actual video file I use? When I copy the link of the video from my files and paste it in the code, it does not have the v= and type= past the .mp4 file ext. Directly pasting the link results with no video showing on my banner section. Thanks in advance if you could help.....
@galia362
@galia362 Год назад
Hey thank you for the video! I have a problem with the display on Safari - the video doesn't play at all, can you help please?
@Webmyster
@Webmyster Год назад
Hi! Safari on a phone device or on a desktop? If phone that might be a different issue. You have to add the attribute playsinline in the code inside the video tag, I have this instruction in the comment pinned to that video. Or you can just watch this new updated video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LUHWnz85Tuc.html
@matthewh6983
@matthewh6983 2 года назад
Hey Webmyster! This has been awesome for me, thanks. Now I want to add a separate video section on my homepage for a brand story further down the page, but when someone plays it, clicking play messes with your top video banner and makes it stop. Any suggestions to override this and make sure the banner doesn't stop moving? I've already added the 'playsinline' for mobile and it works great, but this is a new one. Youur videos are the best. Thanks ~
@Webmyster
@Webmyster 2 года назад
I tried to replicate your issue but I could not. For me 2 videos play simultaneously. Please give me a bit details on what device/browser you are seeing this issue on. Also, is your top video autoplay and the bottom one is not and the user has to click the play button on the video below? Regardless make sure to give your videos different ids. So if one is id="myVideo", make sure others have different ids. e.g id="myVideo2", id="myVideo3" etc
@matthewh6983
@matthewh6983 2 года назад
@@Webmyster Thanks so much, we ended up moving this section off of the homepage so my problem has disappeared, haha. But I do believe your advice with labeling the id was likely our issue, so we took notes in case we go back in that direction. Thanks again
@jdcorp3933
@jdcorp3933 Год назад
Hi, thank's a lot for this tutorial I learned a lot but for me it doesn't work at all. Everything I've done is following your way, step by step but my video never appears... I've watched the 2 videos about that 3-4 times, comparing your code to mine and it never show up.. any help? Thank's in advance.
@robertmartinez2203
@robertmartinez2203 2 года назад
Followed the instructions and it keeps saying its an error..... I give-up
@tylerkuhn4090
@tylerkuhn4090 2 года назад
Hi, this is an amazing tutorial, I have followed all the instructions and added - But when I open my mobile browser it does not play the video. It shows the Play button on the video but it does not auto play. How do we get it to play on mobile browser?
@Webmyster
@Webmyster 2 года назад
Hi Tyler, please read my pinned comment above. Add that attribute and that should fix the issue on mobile
@EnyoWomensFightwear
@EnyoWomensFightwear 7 месяцев назад
Hi ! On mobile view, there is tsill this grey banner below the video... can you show how to remove it on mobile devices juste how you did it here on desktop please ?
@FastbreakTelevision
@FastbreakTelevision Год назад
this is some good stuff
@heymeneses
@heymeneses 2 года назад
This tutorial was super helpful! Do you know how to code an “enable swipe on desktop” option on the multicolumn element on Dawn? Thanks in advance 👍🏼
@Webmyster
@Webmyster 2 года назад
I'm sure I can but it's just a matter of how much effort it takes and if I can easily explain in a video. I will take a look for you.
@heymeneses
@heymeneses 2 года назад
@@Webmyster I've seen some people inside the Shopify support forum with the same issue without a response. Thanks again!
@Webmyster
@Webmyster 2 года назад
@@heymeneses ok thanks for the input
@Webmyster
@Webmyster 2 года назад
Is this what you were looking for: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-szkhN249qBY.html
@rpindoria1199
@rpindoria1199 9 месяцев назад
Great video, very helpful! Quick question - I am noticing a placeholder image over my video. Where do i put the following code (is it on line 31, same as Dynamic class code to add in image-banner.liquid?): Code to hide placeholder image in image-banner.liquid: "and section.settings.video_background == false"
@dcgfii
@dcgfii 2 года назад
This is premium content right here!! I was trying to embed a video into a slideshow on my homepage but it only alows for images. Meaning, I wanted a banner/slideshow on my homepage with two image slides and a video slide. Is this possible at all? [using Dawn theme]. Thank you!
@Webmyster
@Webmyster 2 года назад
Yes it is possible but will take quite a bit of customization to the slideshow section.
@richwoodward
@richwoodward 2 года назад
Great video thank you. Like some others I'm having a problem where the video doesn't crop on mobile, so there's a space below the video which is grey (because the overlay doesn't size with the video). Any suggestions to either resize the video or remove the overlay on mobile? Thank you.
@Webmyster
@Webmyster 2 года назад
Hi Rich, Watch this video. It has more tips to get the video working on mobile and some more in general ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html
@teksochic
@teksochic Год назад
Great tutorial! However, I’m having trouble seeing what the code you’re pasting in! If we could get that code to paste in, it would be much easier for me! I have no problem following along, but the code is puzzling me!
@peytonruhmkorff7058
@peytonruhmkorff7058 Год назад
Great video! I had to change the mobile height to 21rem but otherwise works great. Is there a way to use an input or variable so my client can easily change the video out from the dog one without having to navigate the code? Did I miss that in the video?
@johnm7679
@johnm7679 Год назад
I would like to see the code and instructions for video slider , similar to this one but with either embedded assets or a notification of this code with slider videos?
@user-45446
@user-45446 2 года назад
Hi Webmyster, would you able to show how file reference metafield works for video filetype. We can display different product videos in image with text block ?
@Webmyster
@Webmyster 2 года назад
Hi! I already did a video on showing videos in Image with Text, check it out: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qzYp0MlrCDg.html As for reading the url from the metafield. You should be able able to do that, just have to add metafield of type url and then connect the vide url field to the metafield. But some people might not know this, so I'll try to make a brief video on it. Thanks for the input!
@Farquad123
@Farquad123 2 года назад
This is an amazing and precise video... However I am having one issue... My video doesn't seem to be playing on mobile
@Webmyster
@Webmyster 2 года назад
Please checkout my latest video to see some tips to get the video working on mobile devices: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html You might just have to add playsinline code to the video tag. I still suggest to watch the video for some other tips too.
@robpepigoodpep4135
@robpepigoodpep4135 10 месяцев назад
Nice video, thanks!
@ant8141
@ant8141 2 года назад
hey thank you first for this video but i have a stupid question.. how do i change the video clip? i can't see any option to chose the video.. do i have to add it in the add section under edit code?
@Webmyster
@Webmyster 2 года назад
Look around 3:50, where I add the code for In there replace the long path that shows in src="" with your video path. Make sure to keep the quotes and only replace the ........ path. I will be publishing a new video with some tips for the video which also includes managing this path video from the Customize area so stay tuned.
@benshekell7567
@benshekell7567 2 года назад
All done I just can’t add text to my video banner. And it shows the play button when editing my website but not when viewing
@AZ-ni5uf
@AZ-ni5uf Год назад
Can you make an vide where you show how to make an autoslide slideshow in shopify?There is also an ready theme for free called refresh in shopify, but it dont do autoslide
@yoniaminov
@yoniaminov 2 года назад
great vid. was doing everything great, but how im changing the video ?
@Webmyster
@Webmyster 2 года назад
You need to replace the path of the video with your own video path. Or You can checkout this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html At the end I show how you can add a setting so you can specify video path in the customizer for the section and you dont need to update in the code.
@JolantaPower
@JolantaPower 6 месяцев назад
thank you very much foe sucha great exsplanation, please can you help me as my mo4 video on home page does not have a spind and its very important foe me to have that sound on , please can you help me, many thanks
@adriansingco4217
@adriansingco4217 2 года назад
Hello Webmyster! thank you so much for the help! im pretty new to coding and I've been trying to figure out how to make the new image banner section I added adapt to every screen size. hope you could help me out. thank you so much!
@Webmyster
@Webmyster 2 года назад
Can you explain a bit more, what issue are you having? Are you using a video as a background as explained in this video and it does not adapt to screen size?
@haru_of_haru
@haru_of_haru Год назад
I desperately need help. I am lost, how can I change the white dog video into my own uploaded video?
@Webmyster
@Webmyster Год назад
You need to replace that video url in the code with your video url. The code that I show that starts with
@conniezyc
@conniezyc 2 года назад
This was super helpful! I managed to upload the video onto my webpage, however, I have the generic Shopify image with the glasses, watches, etc overlaid on top of the video? Any idea how to get rid of it? I think it's because I deleted the image so Shopify automatically adds their image as holding.
@Webmyster
@Webmyster 2 года назад
You should be able to hide that image. What version of Dawn theme are you using?
@conniezyc
@conniezyc 2 года назад
@@Webmyster I'm using Dawn 5.0.0 - where can I find where to hide it? Thank you so much for your reply!
@Webmyster
@Webmyster 2 года назад
@@conniezyc So I understand, you said you uploaded the video. So is that image with glasses etc is showing on top of the video? or the video does not show at all. If not did you replace the video url in code with your video? At 3:40 where I paste some code starting with
@conniezyc
@conniezyc 2 года назад
@@Webmyster The image with the glasses etc is showing up on top of my video like an overlay. The video is one that I've uploaded myself but I'll double check the code again at the timestamp!
@1202thomas
@1202thomas Год назад
@@conniezyc I have the same issue with the overlay. Did you manage to resolve this?
@annemariepanique8786
@annemariepanique8786 2 года назад
Hi my image banner is croped when viewed in 4k screen ☹
@nicoledobberke1292
@nicoledobberke1292 2 года назад
Hy Webmyster, are you doing that stuff as a paid service? Please lat me know...Thanks
@jaysdiary8440
@jaysdiary8440 Год назад
Can you plzz make a video how to add slideshow banner to dawn theme
@A1MadeProduction
@A1MadeProduction 2 года назад
Thank you for your upload by a chance has anyone else had issue with video freezing?
@Webmyster
@Webmyster 2 года назад
Can you please give me a bit more details. Does the video not play at all or does it play and freezers after a while?
@A1MadeProduction
@A1MadeProduction 2 года назад
@@Webmyster The video plays but it's a huge delay in load time and the video freezes alot. I appreciate the info forsure!
@gonzalojimenezcampillo
@gonzalojimenezcampillo Год назад
hi, how can I put my video at the background, cause y do all the steps and I see in my shop the dog video
@Webmyster
@Webmyster Год назад
In the code where you see this: Your browser does not support HTML5 video. Replace cdn.shopify.com/s/files/1/0582/5000/2628/files/happy-dog-outdoor.mp4?v=1646765486 inside quotes with the path of your video. Make sure to not delete quotes ""
@muscledfitnessmedia
@muscledfitnessmedia 9 месяцев назад
does this still work in the current dawn 12.0 theme?
@ahrianaedwards2581
@ahrianaedwards2581 2 года назад
Great video! I implemented everything but now my video banner text is not centered with the rest of the page.. any idea on how to get it back centered?
@Webmyster
@Webmyster 2 года назад
Hi Ahriana, that should not have happened. In the video I also have the text as center aligned. Are you using the Dawn theme? If yes, were there any other customizations done to it prior to these changes? I do suggest if you have not already, please go thru each code change again. Sometimes just a minor change as an extra space or a missing space can cause issues.
@aladinedjemai9904
@aladinedjemai9904 2 года назад
Hi bro, I really don'd understand nothing about coding. Can you repeat the same video, but in a detailed and easy way? This really will help me and many people thank you.
@Webmyster
@Webmyster 2 года назад
Hi! Can you explain to me, if I remade the video, how do I make it better so you or anyone else that has never touched the code will understand it better? You might not believe that even with my current style I get complaints that I am explaining it too slow. There are some people that want to get to the point and I do understand that these people probably have some experience with coding. When I started these customization videos, my thought was that these will be intended towards people that are not scared to touch the code or have some experience with it. If it is someone that has absolutely never touched the code, I know it can be difficult. But I appreciate your input and please help me understand so I can make better content for beginners. Thank you!
@aladinedjemai9904
@aladinedjemai9904 2 года назад
@@Webmyster bror, this is just dropshiping. I just hope that you will make videos dedicated to people who work in buying and selling on Internet to improve their sites easier and faster until things develop.
@Whips-Clips
@Whips-Clips Год назад
Can this work with 2 different videos and video banners?
@mamanir
@mamanir Год назад
Hi exmple is great! thanks! how can i position center height and center width + cropping from the middle like the image behive?
@Webmyster
@Webmyster Год назад
Hi, I'm sorry can you please explain a bit more. I'm not sure what you mean by " image behive", may be you mean the way the image banner image acts? If thats what you mean, you cannot have a video behave like a responsive image. That responsive image has a number of different sizes that are being loaded based on screen size. Something similar can be achieved but in that case you will have to add media queries to the CSS file and then you will be stuck with the image banner always showing the same video. Easiest way is to just pick one video, and play adjust the CSS for positioning.
@Zuzanna-mk2kt
@Zuzanna-mk2kt Год назад
How to change the height of the video? I would like to have it a bit bigger than what it is already but when I change the min height the grey box appears again.
@Webmyster
@Webmyster Год назад
There is a way to hide the gray box but then you will have extra white space. Have you seen my other video? I have some other tips in there. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html
@jin6000
@jin6000 2 года назад
This doesn't work. :( I just get a blank box where the video should be. Checked all code and it's indentical to yours minus the video file link.
@Webmyster
@Webmyster 2 года назад
Hi Eddie, it has worked for so many people. Most people had issues on mobile but not desktop (I addressed those issues in a different video. Look for part 2, it is linked in the description). You must have missed something. Please check again
@diandreseneca4598
@diandreseneca4598 Год назад
thanks!
@Webmyster
@Webmyster Год назад
Welcome!
@thebrothershow5826
@thebrothershow5826 10 месяцев назад
amazing
@GokhanCelik-me1fs
@GokhanCelik-me1fs Год назад
hey i have a problem can you please help me
@Davisantsss
@Davisantsss Год назад
Because on the cell phone the size is different, can you help me?
@Webmyster
@Webmyster Год назад
If you follow the tips in the video where I show how to play around and add code (media queries), you should be able to get it working on mobile also. Also, not sure if you have watched this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html It has more tips related to mobile and fixing responsiveness issues.
@stevenyoung7447
@stevenyoung7447 Год назад
This method does not work for IOS devices, the video does not play. The video also does not auto-size when transitioning from desktop to mobile. Is there a way to fix this? Cheers!
@Webmyster
@Webmyster Год назад
I believe I show how you can play around and add media queries to get the video working on different screen sizes. As for IOS devices, please watch this video of mine. It explains the issue about mobile devices plus some other tips that might be helpful. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html If you are still having issues, let me know and I can try to help.
@gamenation45
@gamenation45 2 года назад
Really helpful. Can you make same video for Image with text? It would be really helpfull.
@Webmyster
@Webmyster 2 года назад
Sure, I'm planning on creating some new content. So I will consider it. Thank you.
@Webmyster
@Webmyster 2 года назад
Took me a while to finally do this video. If you are still interested checkout: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qzYp0MlrCDg.html
@regobespoke
@regobespoke 2 года назад
hi webmyster, I have done everything correctly and my video is playing on the desktop automatically. However, for mobile i have to click play for the video to start. Do you have a snippet of code to fix this issue?
@Webmyster
@Webmyster 2 года назад
Please check my pinned comment.
@nicholasford1798
@nicholasford1798 2 года назад
How do we add this to a slideshow element rather than an image banner! Please I need this!
@Webmyster
@Webmyster 2 года назад
So I understand. You need a slideshow of videos?
@NatureHealsUs
@NatureHealsUs 2 года назад
bro, can i pay you to do this for me?
@thekingdomwithinu
@thekingdomwithinu 2 года назад
Hello this was so complicated to me nd you were talking so low. Can you please do a better quality video about this for people who are EXTREMELY NEW AT THIS?
@Webmyster
@Webmyster 2 года назад
I apologize about the sound quality but I'll be very true. If you are totally new to this, please get someone else to do this for you. It is not meant to be for total beginners. I always make the video with the minimal code changes needed to achieve the goal so don't think it can be any simpler.
@MakeVideosHD
@MakeVideosHD 2 года назад
It says i cant upload mp4 files on free plan, how did to manage go make that work?
@Webmyster
@Webmyster 2 года назад
So you are using the trial plan? I'm sorry if that is a restriction from Shopify then there is no way around it.
@xpinaygirlx
@xpinaygirlx 2 года назад
I really hope you get this message :( Okay so I have done everything in the video. On mobile it looks perfect, but in desktop view and full screen the video is zoomed in and I can't figure out how to get it to fit right. I have tried adding in more css at a larger scale but i'm doing something wrong. Please help..
@xpinaygirlx
@xpinaygirlx 2 года назад
I'm like 12 hours in now trying to get it to not zoom lol..
@Webmyster
@Webmyster 2 года назад
oh I'm really sorry to hear that. Most people have issues on the mobile devices. Please send me a screenshot of the zoomed in issue at webmyster1@gmail.com. Also, what version of dawn theme are you using? And was there other customizations done to the theme before?
@matthewh6983
@matthewh6983 2 года назад
Thank you very much, Webmyster! I successfully implemented everything but it seems the video only loops on certain browsers for me (most importantly, I got it working on mobile with the addition of 'playsinline', but it only works on chrome and not safari). Any suggestions for Safari? Much appreciated!
@Webmyster
@Webmyster 2 года назад
hmmm that's odd. I have an iphone and thought I tested it on Safari. I will take a look again.
@katezeller4795
@katezeller4795 2 года назад
@@Webmyster I'm having the same problem, I have iphone pro 13 and the video is not playing at all. Not chrome or safari. EDIT: It works now on both browsers.
@Webmyster
@Webmyster 2 года назад
@@katezeller4795 I'm glad you got it to work!
@dirtytreasures7620
@dirtytreasures7620 2 года назад
I tired this and it worked perfectly on a laptop or desktop but it doesn’t play the video on mobile. How do I fix that bug ?
@Webmyster
@Webmyster 2 года назад
Add playsinline as an attribute to the video tag. I believe I pinned a comment on this video about it.
@dirtytreasures7620
@dirtytreasures7620 2 года назад
@@Webmyster thanks man! I watched the other video and now it’s playing on mobile. 🤝🏾
@I.LOVE.ISRAEL.
@I.LOVE.ISRAEL. Год назад
What If I want to do the same thing in a second image banner down the page?
@Webmyster
@Webmyster Год назад
You would want to pull the url from a setting instead of hard coding it. Please watch this video. I show how you can do that alone with some other tips. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html It's around 12:35 but I do suggest watching the whole video for some other tips
@I.LOVE.ISRAEL.
@I.LOVE.ISRAEL. Год назад
@@Webmyster Will do. I appreciate your time, Thank you!
@sameerkhan6234
@sameerkhan6234 2 года назад
Hello sir, I did the codes exactly as you mentioned as well as the trick you showed in the end but the additional grey area is still appearing in the mobile view
@Webmyster
@Webmyster 2 года назад
Hi Sameer, did you follow my tips where I show how you can play around in the dev tool to get the right values for CSS? If you copy exactly my CSS, it will most probably not work for your video because your video might have different dimensions.
@sameerkhan6234
@sameerkhan6234 2 года назад
@@Webmyster yes sir, I even followed the second video but it just didn't work for mobile view. actually i did the exact steps, even played with the dev tool but there was a grey part still there no matter what in the mobilel view No issues I will try some other customizations from your channel.
@Webmyster
@Webmyster 2 года назад
@@sameerkhan6234 Hi Sameer, send me a screen shot to my email. webmyster1@gmail.com and I will try to help you.
@Webmyster
@Webmyster 2 года назад
******** IMPORTANT! PLEASE READ ************** --->> To get this working on mobile, add playsline attribute to the vide tag, so the tag will look like this: --->> Seeing Icons On Top of the Background? Over the lifetime of this video I have received this question multiple times, so thought I add this to my comment here. Please make sure you have the following code in image-banner.liquid file as I show in the video. and section.settings.video_background == false I believe some people just skip thru quickly and miss certain steps. Please follow the whole video carefully and check that you have not missed any of the steps. --->> Different Versions of Dawn Theme I have tested this code implementation with newer versions of Dawn theme, may be line numbers will vary but you should find the same code in the files as I show in the video. --->> Updated video for Dawn Theme Version 7 - 2023 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LUHWnz85Tuc.html -->> If you would like to use the banner section in other places and show other videos then you would want to pull the video url from a setting instead of hard coding it in the code like I show in the video. Please watch this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html where I show how you can achieve that. It's around 12:35
@isio6542
@isio6542 2 года назад
Thank you very much for sharing! Please which section are we to add this playsline? 2. How do we change this video to a video of our choice?
@Webmyster
@Webmyster 2 года назад
@@isio6542 Inside the video tag. Here is what the final video tag should look like: Your browser does not support HTML5 video.
@Webmyster
@Webmyster 2 года назад
replace that YourVideoUrl with the link to your video file
@y.3429
@y.3429 2 года назад
@@Webmyster the video is working and the background is away but not on the mobile version only on desktop is the background away
@ypgraphic
@ypgraphic 2 года назад
I am sorry. But what do you mean by video tag? Where can I find it? Thanks!
@y.3429
@y.3429 2 года назад
i have a question on the mobile version it has also the background dimensions how can i fix this ?
@Webmyster
@Webmyster 2 года назад
Hi! not sure what you mean by "it has also the background dimensions". Can you please explain a bit more?
@katezeller4795
@katezeller4795 2 года назад
@@Webmyster It's the video that is not adapting to the height of the container. So using your mobile adjustments tips only makes the container adjust, not the video. I'm having this same problem - I need the height of video to meet the height of container (so video would be zoomed in/adjusted to accomplish this). Same way it auto adjusts for images.
@tylerkuhn4090
@tylerkuhn4090 2 года назад
Cant seem to get this to work on the new Dawn 5.0 Update Any updates on having it work on this new update?
@Webmyster
@Webmyster 2 года назад
I have not upgraded to Dawn 5.0 but I am looking into making some videos for Dawn 5.0. Not sure what they changed related to the banner, I'll take a look.
@Webmyster
@Webmyster 2 года назад
So I made the same changes shown this video to Dawn 5.0 and they seem to be working for me. My video background is showing exactly like it does on Dawn 3.0 Can you please tell me specifically what issues are you facing in regards to the video? It does not show at all or had dimension issues? etc.
@moniqueperes9221
@moniqueperes9221 2 года назад
I was going to follow these directions, but after reading the comments, I feel like it would be nice if you could do an updated version of this, where you address the video issue, the grey background and other that are mentioned in the comments. Is it possible?
@Webmyster
@Webmyster 2 года назад
I made part 2 of it a while back. Did you see this one? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html
@blescoclothing
@blescoclothing 2 года назад
Hi, i have a problem regarding the size of the video. It does not completely fit with phone and laptop?
@Webmyster
@Webmyster 2 года назад
Did you see the part of the video where I give tips to make adjustments to the width? I knew it is possible that the same numbers might not work for some video dimensions so I gave some tips how you can adjust those widths in the CSS media queries to make that code work for you.
@MrDiyar2660
@MrDiyar2660 2 года назад
@@Webmyster yes but i think it is different for me as i am using Mac iOS
@Webmyster
@Webmyster 2 года назад
@@MrDiyar2660 so you are saying even if you adjust the widths as show in the video, you still have an issue on your Mac? There could be a safari specific issue. I will check on my Mac machine.
@MrDiyar2660
@MrDiyar2660 2 года назад
@@Webmyster hi again. My bad - i fixed it
@Webmyster
@Webmyster 2 года назад
@@MrDiyar2660 Glad to hear you got it working!
@pulsedevice
@pulsedevice 2 года назад
Is there a way to add a cover photo?
@Webmyster
@Webmyster 2 года назад
I have not tested this across different browsers and devices but you can give it a try. Add this to the video tag in the code: poster="placeholder.png" So the beginning of the tag would look something like: ofcourse, you need to replace placeholder.png with the path of your image.
@holi.spirits
@holi.spirits Год назад
Can you do this with any theme? Thanks!
@Webmyster
@Webmyster Год назад
You can but some themes might require different code and the places I show in the video where you add code might be different. You could give it a try on a backup theme and see how it works out.
@Davisantsss
@Davisantsss Год назад
Hi, how do I make it responsive? ??
@Webmyster
@Webmyster Год назад
Did you follow the tips I show starting at 7:38 ? You can follow the same process to adjust those values so your video looks good. I also have another video that has more tips about mobile screen sizes and some other stuff so please check it out: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h2CFKOfnpZs.html
@ahmedalharbi8381
@ahmedalharbi8381 2 года назад
thanks for the tutorial, does that work for mobile browser?
@Webmyster
@Webmyster 2 года назад
If you see it is not playing on mobile browser, add playsinline in the video tag, so your video tag will look like:
@DeltaExtrax
@DeltaExtrax 2 года назад
@@Webmyster This worked for me, thank you for your help!
@marcusblanton2217
@marcusblanton2217 2 года назад
@@Webmyster hey where do i find my video tag to input code for video banner to work on mobile
@officialcem550
@officialcem550 2 года назад
Hi my friend, it works insane on computer but on mobile the video is not running automatically
@Webmyster
@Webmyster 2 года назад
Please add playsinline in the video tag and see if that works for you. So your video tag beginning will look like this:
@regobespoke
@regobespoke 2 года назад
@@Webmyster still doesnt auto play. have to tap the play button for it to start playing
@jakemiller7683
@jakemiller7683 2 года назад
It would let me saved after placing the code in the placeholder. I did it step by step
@Webmyster
@Webmyster 2 года назад
I believe it is showing an error and not letting you save? Please check carefully you might have missed something. Sometimes as little as adding or misplacing a dot in the code can break the code
@jakemiller7683
@jakemiller7683 2 года назад
Sorry about that. I was doing 500 things at once. I meant to say that it wouldnt let me save and said there was an error. I copied and paste the code and followed the instructions throughly, and still recieving an error message.
@jakemiller7683
@jakemiller7683 2 года назад
@@Webmyster nevermind i got it to work it was all on me lol. Thank you this helped a lot!!!
@ckhxrmxni2323
@ckhxrmxni2323 Год назад
how do i change the video?
@Webmyster
@Webmyster Год назад
Replace the video url with your video url or watch this video for details. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LUHWnz85Tuc.html
@firasmansour583
@firasmansour583 2 года назад
@ Hey, it worked, but it doesn’t auto play at all on mobile devices (there is a play button, but if you press it it doesn’t play either) You know how can I remove the play button on the mobile devices and let it play automatically? I will appreciate any help🙏🏼 @webmyster
@Webmyster
@Webmyster Год назад
Sorry for the delayed response. Were you able to solve this issue?
@omarezz___
@omarezz___ Год назад
Video is not working on mobile phone. DO you know how an i fix this? @webmyster
@Webmyster
@Webmyster Год назад
Please read the pinned comments on this video. You need to add the playsinline attribute to the video tag code
Далее
Add Video Banner To Shopify Dawn Theme Version 7
22:39
Как мы играем в игры 😂
00:20
Просмотров 168 тыс.
Shopify Store Best Practices [Dawn Theme]
24:44
Просмотров 25 тыс.
How To Design A Shopify Store Like a PRO (& Sell More!)
16:34
Useful & Responsive Layouts, no Media Queries required
11:03
Designing A Clothing Store With Dawn Theme  OS 2 0
29:10
I Got #1 in Google with 7 Minutes of Beginner SEO
14:44
Shopify Dawn Theme Customization (Complete Guide)
1:15:24
Shopify Header Design | Dawn Theme Customization
6:36
Indian web design: cheap, but it works. Here's why
9:58
Как мы играем в игры 😂
00:20
Просмотров 168 тыс.