-
Notifications
You must be signed in to change notification settings - Fork 384
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.
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>
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.