Skip to content
Dave Hall edited this page Apr 13, 2014 · 15 revisions

Hosting html5media

The instructions for using html5media involve linking to a file that is hosted on the html5media Content Delivery Network (CDN). This generally gives the best experience for your users, as it means they get to download the files from a location that's close to them.

There are a number of alternative ways for you to link to html5media, detailed below.

Serving html5media over a secure connection

If your page is being served over HTTPS, then linking to html5media will cause security warnings in some browsers. Simply use the following embed code in your page:

<script src="https://api.html5media.info/1.1.8/html5media.min.js"></script>

Hosting your own copy of html5media

If you'd rather just host everything yourself, no worries. It makes our life easier too, and places less strain on our servers. Simply download html5media, and select the latest version from the dist folder.

Just make sure that you keep all the html5media files together in their own directory, and everything should Just Work.

If you're feeling adventurous, then you can also check out a copy of the html5media GitHub repository and build your own version. Instructions for building html5media are included in the repository, in a file called BUILDING.markdown.

Clone this wiki locally