Skip to content

Fix responsive video embed previews.#1921

Merged
notnownikki merged 3 commits intomasterfrom
fix/responsive-video-embeds
Jul 26, 2017
Merged

Fix responsive video embed previews.#1921
notnownikki merged 3 commits intomasterfrom
fix/responsive-video-embeds

Conversation

@notnownikki
Copy link
Copy Markdown
Member

Sets the height of video embeds dynamically.

Tested with the following:

@jasmussen
Copy link
Copy Markdown
Contributor

Niice! Thanks for doing this, sorry I missed the PR.

I pushed some polish to the code, so embeds have slightly less margin now, and videos are responsive also in aspect ratio:

screen shot 2017-07-26 at 10 37 19

By the way can we easily add the generic "Embed" block to the "Recents" tab also? I know it shows up as soon as you use it the first time. But it'd be nice to pre-populate it there.

I think this is good to ship! Nice work!

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

Successfully merging this pull request may close these issues.

2 participants