Oneboxing with YouTube

I like the feature from discourse where if you enter a link from YouTube it will embed the video.

How do you customize properties like width, height and also disabling suggested videos when it finishes?

You wound need to write a new onebox for it or submit a PR to the onebox gem:

Solved here: