Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Markdown): filter styles from video #2954

Merged
merged 12 commits into from
Oct 16, 2024
Prev Previous commit
Next Next commit
better docs
  • Loading branch information
dreamwasp committed Oct 15, 2024
commit 79f32b38b974fd3c623c8a440f726f807bd8e103
Original file line number Diff line number Diff line change
@@ -358,6 +358,6 @@ Vimeo and Youtube video iframes will be rendered by our Video component, otherwi

### Video

`video`s with an `src` or a `source` video file will be rendered by our Video component, otherwise they'll render the original code. Videos with a `style` prop or another restricted prop will render their original code.
`video`s with an `src` or a `source` video file will be rendered by our Video component, otherwise they'll render the original code. Videos with a `style` prop or another restricted prop will be stripped of that property.

<video width="100%" height="100%" align="middle" controls> <source src="https://content.codecademy.com/articles/db-browser/open-database.mp4" type="video/mp4"> Your browser does not support the video tag. </video>