Okay
  Public Ticket #1054207
FIX Youtube full width video
Closed

Comments

  • Gorast started the conversation

    I have been struggling with getting Youtube video to get full width of the browser so I finally got a mini hack fo fix that. Here is my CSS but you can modify it for your needs.


    .tp-caption.fullscreenvideo iframe, .tp-caption.fullscreenvideo iframe video {
      height: 155% !important;
      margin-top: -10%;
      width: 100% !important;
    }


  •  751
    Igor replied

    Hi,

    thank you for your contribution. I am sure that our members will value it

    Regards,
    Igor

  • Robert replied

    Hi, been struggling with this for days now..

    The result is not what I want.. best for me is vimeo but youtube is also not a problem.

    Added your css but no go.. image attached. A small loop hosted from my own server is no problem but linked from Vimeo or youtube, that I can't get right.  I want fullwidth linked video and a height of 600 or 700px

    I assume the css goes into the slider settings and not in the custom css of the template.

    If someone knows how to get it right, many thanks!

  • Gorast replied

    Mine code is in override.css for my template and not the slider itself.