Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed local file #36

Open
ijlyttle opened this issue Jan 6, 2020 · 4 comments
Open

Embed local file #36

ijlyttle opened this issue Jan 6, 2020 · 4 comments

Comments

@ijlyttle
Copy link
Owner

ijlyttle commented Jan 6, 2020

@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>
@tungttnguyen
Copy link

tungttnguyen commented Jan 6, 2020

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]

@ijlyttle
Copy link
Owner Author

ijlyttle commented Jan 7, 2020

Will keep that in mind!

@tungttnguyen
Copy link

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

@ijlyttle
Copy link
Owner Author

ijlyttle commented Jan 7, 2020

I wonder if attaching such a file as an htmldependency might work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants