Play videos using HTML5 on desktop and mobile
It's possible to playback videos using the standard HTML5 <video> element. This makes it possible to play the videos on both desktop and mobile. Simply use the following code to insert a video.
This example requires you to specify your developer key (see tutorial).
A Silver or higher subscription is required.
<video id="html5" width="320" height="240"
Notice the two parameters: src which is the source of the video and poster which is the preview image. As values to these parameters, we use the Live/Play and Live/Thumbnail functions of the Web Service.
Note: if you are having any issue when running this code, make sure that you have a valid subscription and have recorded the videos on your production site. We support the following desktop browsers: Safari, Chrome, IE, Firefox (Windows).
View more tutorials.