View source: R/error_handling.R
| validate_video_id | R Documentation |
Validate YouTube video ID format
validate_video_id(video_id, name = "video_id")
video_id |
Video ID to validate |
name |
Parameter name for error messages |
Invisible NULL if valid, stops execution if invalid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.