I have problem with play internal video on nokia n97.
I try to do it in widget application.
structure of project:
www/
----- content/
------------ video.mp4
------------ image.jpg
- index.html
- master.css
- Icon.png
- Info.plist
- video.mp4
My attempts:
1. tag video doesn't help, this model doesn't understand HTML5
2. window.location.href doesn't help also:HTML Code:<video id="video" poster="content/image.jpg" width="320" height="240" autobuffer onClick="this.play();"> <source src="content/video.mp4" type="video/mp4" /> </video>
3. tag embed without successHTML Code:<script type="text/javascript" charset="utf-8"> function play_video() { window.location.href = "content/video.mp4"; } </script> <a href="javascript:play_video();">Play video (made on JS)</a>
4. doesn't helpHTML Code:<embed src="content/video.mp4" width="320" height="240" onclick="this.play();" />
I know that WRT have window.widget.openApplication(HexNumber Uid, String param).HTML Code:<a href="content/video.mp4">Play video (link)</a>
RealPlayer Uid = 0x10005a3e
- only opens RealPlayer, but I want to play video.mp4HTML Code:window.widget.openApplication(0x10005a3e, "content/video.mp4")
Do you have any ideas?

Reply With Quote

