Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you adjust the size? #23

Open
isthisthat opened this issue Dec 15, 2017 · 9 comments
Open

Can you adjust the size? #23

isthisthat opened this issue Dec 15, 2017 · 9 comments

Comments

@isthisthat
Copy link

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

@cesarmarinhorj
Copy link

me too...

@cesarmarinhorj
Copy link

cesarmarinhorj commented Jan 11, 2018

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

@talu-zz
Copy link
Contributor

talu-zz commented Feb 2, 2019

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?

@isthisthat
Copy link
Author

Would it be worth a PR?

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

@talu-zz
Copy link
Contributor

talu-zz commented Mar 10, 2019

Would it be worth a PR?

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

Thx, see #29

@rhukster
Copy link
Member

Looks good!

@bozzochet
Copy link

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

@PepaR
Copy link

PepaR commented Feb 25, 2023

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

@rhukster
Copy link
Member

4.2.0 has been relased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants