I have this issue in a few sites with different templates so maybe it is just a setting or two i am missing.
I would like the YouTube videos to always fit, basically being responsive inside a slideshow element without showing a big black bar across the top/bottom.
Also if a video has a title on YouTube then it shows on the slideshow when the page opens, is there any way to stop that from showing?
thanks
YouTube videos - making them always fit and not showing the title?
6 replies
Hello,
Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.
Also, mention the page name.
Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!
Best regards,
Ok thanks, this isnt a joomshaper template and i appreciate you guys are always really helpful but i dont expect the world! i was just hoping to see if there were ways to adjust the slideshow section so it would take almost any youtube video.
n have added access to the Hidden Content.
thanks
Please, mention the page name and for temporary disable the coming soon mode.
Thanks
Thanks i have done this it is the Homepage slideshow (just one slide at the moment) at the top
Please, check now and adjust your content on slider.
Thansk
Wow yes that has fixed the black spacing, could you please tell me what you did as i will be playing around with different videos on this and other sites?
very many thanks for great service as ever!
Please, Check the screenshot: https://prnt.sc/AOZd5inycRRt
I would be interested to know as my youtube have black box top and bottom and its not the ratio as its behind the title.
It’s an issue with your video’s aspect ratio. Please use this link on your site to see how it displays correctly:
https://www.youtube.com/watch?v=BWLRMBrKH_c
Thanks.
Amazing work many thanks, i have adjusted the number -45 to block the youtube title from showing and it works really well, code below for anyone else that might need this - adjust to fit !!
addonId .sp-video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
width: 100% !important;
left: 0 !important;
right: 0 !important;
top: -45px !important;
}
It’s great to hear that your issue has been resolved.
If everything is working fine now, please mark the question as complete by accepting any of our answers.
Thank you!