[nodebb-plugin-youtube] Youtube Embed Plugin
-
This is awesome haha
-
Awesome
Thanks for this plugin @psychobunny -
Maybe a Resizer for mobile ?
-
How do I turn off embeds alltogether?
-
This post is deleted!
-
Oh, figured it out.
-
I added this to the style.css too optimise better for phones and tablets.
iframe.youtube-plugin {
border: 0;
height: 360px;
width: 640px;
}@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {iframe.youtube-plugin { border: 0; height: 180px; width: 100%; }
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {iframe.youtube-plugin { border: 0; height: 360px; width: 100%; }
}
-
@xCausxn thanks feel free to submit a PR and I will merge it in
-
Theres any way to make responsive the videos on mobile? Thats a must have app hehe
-
@xCausxn thanks i fixed it with your help !!
-
@Pablo-Macaluso no worries mate
-
Hey @psychobunny while you're updating packages... do you want to update this one too? there are a few pull requests for responsive updates but the one in npm has none of the updates
-
Thanks @bdharrington7 too many repos haha
-
Awesome thanks!
-
I've used a small jQuery library called FitVids.js on projects in the past and it has worked great.
-
@torybriggs said:
I've used a small jQuery library called FitVids.js on projects in the pass and it has worked great.
That's a nice lib.