how to play video stream using html5

This code can play video stream. to run this code, Gear device should connect to wifi.
config.xml
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <access origin="*" subdomains="true"/>
        
        
index.hml
<div class="media">
        <h2>Video streaming</h2>      
	   <video id="video"
            src="http://content.bitsontherun.com/videos/q1fx20VZ-52qL9xLP.mp4" 	preload="auto" controls  loop autoplay>
       </video>
</div>

Responses

0 Replies