Answered By: Tom Morrell
Last Updated: Sep 26, 2019     Views: 12

We've developed a JavaScript-based solution to embed video content from CaltechDATA into any web site.  You only need to know the DOI of the CaltechDATA record.  Paste the following code into your website:

<div id="videodiv1"></div>
 <script src="https://feeds.library.caltech.edu/scripts/CL.js"></script>
 <script> 
            let div = document.getElementById("videodiv1"),
            doi = '10.22002/D1.1278',
            item_no = 0;
            CL.doi_video_player(div,doi,item_no);
  </script>

If your CaltechDATA record contains multiple videos, select the specific one you want to display using the item_no variable.  Our CL.js function is general and will work with any DOI where the content provider has provided media information to DataCite. The underlying viewer is video.js, an open source javascript viewer.