Description Usage Arguments Examples
Create a material video container
1 2 |
src |
Video path or url, if any. |
width |
Video width in px. Should be NULL if responsive is TRUE. |
height |
Video height in px. Should be NULL if responsive is TRUE. |
responsive |
Whether the video is responsive. TRUE by default. |
fullscreen |
Whether to allow full screen. Useless if responsive is TRUE. |
1 2 3 4 | material_video(
src = "//www.youtube.com/embed/Q8TXgCzxEnw?rel=0",
responsive = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.