Skip to content

Instantly share code, notes, and snippets.

@gerdneuman
Created May 12, 2017 11:54
Show Gist options
  • Save gerdneuman/895a90177d6baa8d1eea5a6965a94b04 to your computer and use it in GitHub Desktop.
Save gerdneuman/895a90177d6baa8d1eea5a6965a94b04 to your computer and use it in GitHub Desktop.
virtue youtube responsive

Emded code is:

[space size="15px"]

<div class="video-fit">
<iframe width="640" height="360" src="https://www.youtube-nocookie.com/embed/lzcBnIwBQdU?rel=0&hl=en&cc_lang_pref=en&cc_load_policy=1" frameborder="0" allowfullscreen></iframe>
</div>

[space size="25px"]

For the "normal" page it is which is working nicely and responsive:

[space size="15px"]

[kad_youtube url="https://www.youtube.com/watch?v=lzcBnIwBQdU" width="640" height="360" maxwidth="640"]

[space size="25px"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment