Languages

Menu
Sites
Language
Problem in playing video file stored in a web server

hi,

   I created a web app to play video on Tizen. It can't play video file stored in a web server . But it plays ok when video file stored in local. I used Html5 tag <video> to play video.

   My SDK version is:2.1. And I added code in index.html as follow:

   <div class = "media">

  <h1>play time example</h1>

 <video id="myVideo" controls preload="auto">

<source src="http://109.123.104.32/mov-bbb.mp4/" width="100"> </video>

<div class="log">Current Play Time : <span id="currentTime"></span></div>

<div class="log">Total Play Time : <span id="totalTime"></span></div>

<div>Progress: <span id="state"></span></div>

</div>

I don't know where's the problem. Hope someone can help me solve this problem.

Thanks~~~

 

 

 

 

 

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 Replies
Lakshmi Grandhi
Hi, Please go through documentation for more info on video streaming https://developer.tizen.org/documentation/articles/audio-video-playback-tutorial#streamAudio
Lakshmi Grandhi
Hi, Did you add access to the above url in config file. Try adding "*" in access tab of config file. Tested below your code with source "http://techslides.com/demos/sample-videos/small.mp4". Its working
jessica wang
It works.Thanks ~~