Skip to content

Instantly share code, notes, and snippets.

@csarigoz
Last active February 1, 2024 18:02
Show Gist options
  • Save csarigoz/b69102ae8ca4c07eab887f59dfc775bc to your computer and use it in GitHub Desktop.
Save csarigoz/b69102ae8ca4c07eab887f59dfc775bc to your computer and use it in GitHub Desktop.
YouTube Video Responsive Embed Example
<div class="video-container">
<iframe src="https://www.youtube.com/embed/TcNaihIowlo?cc_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;iv_load_policy=3" frameborder="0" allowfullscreen=""></iframe>
</div>
@csarigoz
Copy link
Author

csarigoz commented Feb 1, 2024

For more details on setting the custom CSS, please take a look at my blog post: https://bizstack.tech/embed-videos-responsively/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment