- This topic has 5 replies, 2 voices, and was last updated 9 months ago by Sakin.
-
AuthorPosts
-
January 26, 2024 at 12:08 pm #331899HeinzParticipant
Hey! I havent updated my Slider Images for a while and was wondering if it would be possible to embed a youtube video instead of the image slider. Thanks for any help in advance!
Heinz
January 26, 2024 at 1:23 pm #331900SakinKeymasterHi Heinz,
There is no option to replace the slider with the Video. So for this, you need to build a child theme and add a custom function.
There is also a plugin called Catch Featured Video Pro which will add an option to upload a video instead of a Featured Image on a Page/post. After installing this plugin, you can add a YouTube video URL to the page/post “Catch Featured Video Pro URL box”. Finally, go to “Appearance => Customize => Featured Slider => Slider Options” and select Slider type as “Page/Post” and then select the page/post that has a video URL.Regards,
SakinJanuary 27, 2024 at 3:36 am #331916HeinzParticipantSakin, thanks a lot! I’ll go for the plug-in option since I have no idea how to build a child theme 🙂 though 25 bucks is no bargain for placing/embeding a video/code on a website … 🙂
Greez from vienna,
Heinz
February 1, 2024 at 8:32 am #332020HeinzParticipantHey Sakin!
That plugin does the job pretty god except for one thing.
I followed your instructions. Still the featured slider displays a little grey box in the video Thumbnail as if it wants to print the post title. If I ad a post title it prints the title “over” the video thumbnail.
How could one hide this box?
Thanks in advance !
Regards,
Heinz
February 1, 2024 at 8:44 am #332021HeinzParticipantAh got it! added the custom css in the theme Options -> additional css
#main-slider .entry-container { display: none; }
and that worked fine!
February 1, 2024 at 11:51 am #332029SakinKeymasterHi Heinz,
Yes, Additional CSS is the best way to solve that. Thanks for sharing it.
Regards,
Sakin -
AuthorPosts
- The topic ‘YouTube embeded Video instead of Homepage image slider’ is closed to new replies.