Is it possible to change the video player dimensions on mobile while playing vertical videos?
As you can see in our site, when you play vertical videos on mobile it looks very small and don’t display full size. It’s needed to expand it to watch it correctly.
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
@media only screen and (max-width: 690px) {
.fancybox-slide--video .fancybox-content {
min-height: 65vh !important;
}
}
Hi there,
Is it possible to change the video player dimensions on mobile while playing vertical videos?
As you can see in our site, when you play vertical videos on mobile it looks very small and don’t display full size. It’s needed to expand it to watch it correctly.
Thanks.
Hi There,
Thanks for keeping in touch.
Please try adjusting this css padding to adjust the video aspect ratio:
Thanks.
Hi there,
I’m not referring to the website view. I need to change it once you click on play. Let me attach you a screenshot.
It’s on view mode. Vertical videos dont display with a vertical viewer, they still show horitzontal so must be expanded to play it correctly.
Attached files: 9AB5FAA1-6D31-41F3-A03E-F31E2AEF460C.png
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team