Including reference to video player-related sylesheet and js script in a Rmd document


I'm writing a Rmd document for a Distill website.

To include a video in the web page using the Video.js player, I need to have the following in the resultant HTML file:

In the Head:

<link href="" rel="stylesheet" />

In the Body:

<script src=""></script>

My question: How do I "programmatically" get these statements there ? I certainly don't want to try editing each HTML files manually.



This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.