Skip to content

Direct link video embed being cutted off #3496

Answered by mmistakes
illusion0001 asked this question in Q&A
Discussion options

You must be logged in to vote

.responsive-video-container has styling to make iframe video content (e.g., YouTube, Vimeo, etc.) responsively size.

You don't need it for a <video> element. Just add width="100%" and it'll work.

<video controls width="100%">
  <source src="https://storage.googleapis.com/assets-illusion0001/images/TLOU-Nailbomb-Softlock/T1-AC-nailbomb-section-trimmed.mp4" type="video/mp4">
</video>

Ref: https://css-tricks.com/fluid-width-video/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@illusion0001
Comment options

Answer selected by mmistakes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3495 on February 27, 2022 16:22.