View source: R/play_random_song.R
play_random_track | R Documentation |
Will play a random track from a wave file in a given folder.
play_random_track(base_folder, file_list = NULL, random_seed = NULL)
base_folder |
Base folder path from which to search from. |
file_list |
Vector of strings with file locations. If it is null, will search for them manually. Should be relative to base_folder |
Will not return anything. It does open your media player
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.