Description Usage Arguments Value Examples
Converts youtube links to mp3s.
1 | youtube2mp3(video_id, file = NULL)
|
video_id |
Youtube's assigned unique identifier; also accepted is a link to a youtube video URL, though if a URL is provided, it must include "youtube.com/watch?v=". |
file |
Name of output mp3 file. A ".mp3" file extension will be added if not already included. This defaults to the video code (value after v= in the URL) and saved in the current working directory. |
Saves output as file name.
1 2 3 4 5 6 7 8 | ## Not run:
## download mp3 of leftovers piano theme by max richter
youtube2mp3(
"https://www.youtube.com/watch?v=UVvOLhJd44Q",
file = "leftovers-theme.mp3"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.