how to play video stream using html5

This code can play video stream. to run this code, Gear device should connect to wifi.