grav-plugin-youtube icon indicating copy to clipboard operation
grav-plugin-youtube copied to clipboard

Can you adjust the size?

Open isthisthat opened this issue 7 years ago • 9 comments

I want the embedded video to show up a bit smaller. Thank you!

isthisthat avatar Dec 15 '17 14:12 isthisthat

me too...

cesarmarinhorj avatar Jan 11 '18 13:01 cesarmarinhorj

div style="width: 300px" .... /div

cesarmarinhorj avatar Jan 11 '18 13:01 cesarmarinhorj

I forked and added a size option:

[plugin:youtube](https://www.youtube.com/watch?v=chQt5NHmSq8?size=250,400)

or

[youtube width=400 height=250]https://www.youtube.com/watch?v=chQt5NHmSq8[/youtube]

See talu-zz/grav-plugin-youtube

Would it be worth a PR?

talu-zz avatar Feb 02 '19 17:02 talu-zz

Would it be worth a PR?

I think that should be a PR :) nice one!

isthisthat avatar Feb 04 '19 09:02 isthisthat

Would it be worth a PR?

I think that should be a PR :) nice one!

Thx, see #29

talu-zz avatar Mar 10 '19 18:03 talu-zz

Looks good!

rhukster avatar Mar 10 '19 19:03 rhukster

Sorry, has this included in the published version of the repo (i.e. I guess the 'master')?

bozzochet avatar Dec 01 '22 08:12 bozzochet

May you include this branch (resize youtube video) in the official release (master) of the plugin, please?

PepaR avatar Feb 25 '23 17:02 PepaR

4.2.0 has been relased

rhukster avatar Apr 20 '23 16:04 rhukster