Resize colorbox popup with iframe

Created on 3 January 2022, almost 3 years ago
Updated 7 August 2024, 5 months ago

Problem/Motivation

Colorbox doesn't respect video size inside iframe and it's needed additional CSS/Javascript to fit iframe in colorbox popup without scrollbar.

Proposed resolution

I will attach a patch for that.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇷🇺Russia shra

    Update of the patch for v 2.0.2

  • 🇨🇦Canada phjou Vancouver 🇨🇦 🇪🇺

    It seems to work for me.
    I am not sure that would work in all cases, if someone had other fields in the media and want to display them inside the modal, it might be more appropriate to be larger than the iframe sometimes.

Production build 0.71.5 2024