<iframe width="640" height="375" src="//www.youtube.com/embed/e02LFmNysoM" frameborder="0" allowfullscreen></iframe>
I have this in an Rmd file that is rendered in an app
tabPanel("About", mainPanel(tags$video(src = "www.mp4", type = "video/mp4", autoplay = NA, controls = NA)))
However I just want to play when te user goes to the "About" tab, but when I start the app the video automaticaly starts.
How can I add some play button?
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/4dced2c2-672e-49f8-8e9d-0630ee28cc52%40googlegroups.com.