New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Responsive Video Max Widht

  • Max
  • Topic Author
  • Visitor
  • Visitor

Responsive Video Max Widht was created by Max

hi,
I'd like to use rensponsive option to allow video resize on mobile and tablet layouts, but I need to set a Max Size for video player at 800px width , when the browser is in full view size.
It's possible with some tricks in Css files?

Thanks for your support!
10 years 5 months ago #7721

Please Log in or Create an account to join the conversation.

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: Responsive Video Max Widht

When the browser is in full view size?

- Do you mean when the full-screen option is selected from the player's control-bar? If yes, then this is not possible.

- If you're not speaking about the full-screen mode, then kindly try adding the following CSS code in your template's CSS file.
video {
  max-width:800px;
}
10 years 5 months ago #7723

Please Log in or Create an account to join the conversation.

  • Max
  • Topic Author
  • Visitor
  • Visitor

Replied by Max on topic Re: Responsive Video Max Widht

Sorry,
you're right, I wasn't clear :)

Yes I simply mean the browser in PC monitor, in his size (which is, of course, more large then tablet or smartphone), I don't mean the player in fullscreen.

Ok, so, I simply have to add this code in my template CSS file. Thanks. I'll try.
10 years 5 months ago #7724

Please Log in or Create an account to join the conversation.

Time to create page: 0.105 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies