this js file can create html5 video from json data