material_video: Create a material video container

Description Usage Arguments Examples

Description

Create a material video container

Usage

1
2
material_video(src = NULL, width = NULL, height = NULL,
  responsive = TRUE, fullscreen = TRUE)

Arguments

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.

Examples

1
2
3
4
material_video(
 src = "//www.youtube.com/embed/Q8TXgCzxEnw?rel=0",
 responsive = TRUE
)

DivadNojnarg/shinymaterialPlus documentation built on May 10, 2019, 9:28 a.m.