play_audio | R Documentation |
This uses HTML5 audio tags to play audio in your browser.
play_audio(audio = "output.wav", html = "player.html")
audio |
The file location of the audio file. Must be supported by HTML5. |
html |
The html file location that will be created to host the audio file. |
Borrowed from googleLanguageR::gl_talk_player()
## Not run:
play_audio(audio = "audio.wav", html = "player.html")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.