vembedr
vembedr copied to clipboard
Embed local file
@tungmilan sent along this code (thanks!) for embedding a local file:
<iframe width="720" height="480" src="`r video_files[1]`" frameborder="0" allowfullscreen align="center"></iframe>
Thanks for opening this! I was wondering if it's possible to do this in a loop as well. Something like src="`r video_files[i]`
instead of hard-coding video_files[1]
Will keep that in mind!
Would be great if there is also an option to somehow attach the video files to the html output so it would work on other PCs
I wonder if attaching such a file as an htmldependency might work.