If you want to experiment with the arguments to embed(), such as query, but do not have a particular video in mind, this function may be useful to you.

rickroll_vimeo(...)

rickroll_youtube(...)

Arguments

...

arguments (other than id) passed on to embed()

Value

Object with S3 class vembedr_embed.

Details

Please note that the YouTube video seems no longer embeddable.

Examples

  rickroll_vimeo()
#> <div class="vembedr">
#>   <div>
#>     <iframe class="vimeo-embed" src="https://player.vimeo.com/video/148751763" width="533" height="300" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" data-external="1"></iframe>
#>   </div>
#> </div>
  rickroll_youtube()
#> <div class="vembedr">
#>   <div>
#>     <iframe src="https://www.youtube.com/embed/iik25wqIuFo" width="533" height="300" frameborder="0" allowfullscreen="" data-external="1"></iframe>
#>   </div>
#> </div>