getYoutubeVideoId | R Documentation |
This function extracts the youtube video id from a youtube video url.
getYoutubeVideoId(url)
url |
Character string. Youtube video url. |
Video id as character string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.