-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Incorrect responsive behaviour when displaying a video #104
Comments
Not too sure. |
Yep, I'm having issues when using data-featherlight='iframe'. The Lightbox opens up and you can see the video in a tiny square in the center of the screen. I would really like it to scale up to fill the screen no matter the size and I've been poking at the code for a while now and can't figure out a good solution. |
bump |
+1 |
This is another duplicate of #188 Or I guess it is a duplicate of this, since it's older. Either way, same issue. |
This is still occurring. Youtube videos seem to want to load at 300px wide. |
I also found that the default size of a video in an iFrame is 300 x 150. |
Hi,
I don't know if this is a bug or if I misread the documentation somehow. I've been using featherlight a lot lately but this is a real headscratcher for me:
I'm dynamically adding a video to the lightbox using videojs. And the problem is that featherlight's scaling behaviour is a little odd, unless I add a hidden text (a h1 in this case). This looks strange to me. I prepared a fiddle to illustrate the problem:
http://jsfiddle.net/freddixx/oh313bcv/5/
The lightbox scales nicely if you comment in the line:
//playerContainer.appendChild(p);
I'd appreciate any help. I'm sure this is a simple thing once I know what's wrong here..
The text was updated successfully, but these errors were encountered: