Description Usage Arguments Note Author(s) Examples
Expand images, videos or iframes to cover their entire container and place your own content on top.
| 1 | UIkitCover(src = NULL, type = "img", height = "medium")
 | 
| src | Media source or path. | 
| type | Media type: "image", "video" or "iframe". | 
| height | Cover height: "medium" by default but also "small" or "large". | 
Prefer iframe movie quality than the video one.
David Granjon, dgranjon@ymail.com
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | if(interactive()){
library(shiny)
shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitCover(
     src = "https://getuikit.com/docs/images/dark.jpg",
     type = "image"
   ),
   UIkitCover(
     src = "https://quirksmode.org/html5/videos/big_buck_bunny.mp4",
     type = "video"
   ),
   UIkitCover(
     src = "https://www.youtube-nocookie.com/embed/YE7VzlLtp-4",
     type = "iframe"
   )
 ),
 server = function(input, output) {}
 )
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.