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

Hi,

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="https://vjs.zencdn.net/7.10.2/video-js.css" rel="stylesheet" />

In the Body:

<script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script>

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

Thanks!

Howard

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.