Okay
  Public Ticket #3092678
Youtube iframe prevents scroll
Closed

Comments

  • Kenan Soylu started the conversation

    Hello,

    Thanks for this amazing template, it's a pleasure working with it.

    I want to embed a Youtube video into the page I've provided. The page doesn't scroll when the mouse is over the video. This also happens on mobile when the page is being dragged on the video.

    Setting "pointer-events: none" enabled scroll but disables interactivity with the video.

    The last option is to host the video on another platform and use the provided "video-link" class, but I'd prefer if I could still embed Youtube videos somehow.

    Thanks

  •  2
    Patrick replied

    Hi,

    If you have smooth scroll activated, you can not scroll over an iframe because there is another html/body content which is not related with your website

  •  2
    Patrick replied

    We recommend to put your video inside a lightbox cover image. Please see this page:

    http://elymor.clapat-templates.com/multimedia.html

    Click on image nr 2