×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    1

    Question Play internal video in widget WRT

    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
    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>
    2. window.location.href doesn't help also:
    HTML 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>
    3. tag embed without success
    HTML Code:
    <embed src="content/video.mp4" width="320" height="240"
    onclick="this.play();" />
    4. doesn't help
    HTML Code:
    <a href="content/video.mp4">Play video (link)</a>
    I know that WRT have window.widget.openApplication(HexNumber Uid, String param).
    RealPlayer Uid = 0x10005a3e

    HTML Code:
    window.widget.openApplication(0x10005a3e, "content/video.mp4")
    - only opens RealPlayer, but I want to play video.mp4

    Do you have any ideas?

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    18

    Re: Play internal video in widget WRT

    Did you solve the problem...?? I am having the same trouble... :S

Similar Threads

  1. Replies: 20
    Last Post: 2011-06-23, 09:06
  2. Play Video Files from WRT
    By oviyan solutions in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2010-07-03, 16:58
  3. How to Play Video on Nokia WRT Application?
    By amitccet in forum Symbian Web Runtime
    Replies: 2
    Last Post: 2010-05-25, 07:52
  4. Unable to play video in Nokia97 wrt
    By vijaygopal12345 in forum Symbian Web Runtime
    Replies: 1
    Last Post: 2009-06-15, 08:31
  5. what are the names of devices that support internal streaming to play video file?
    By navneet.gupta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2008-06-13, 10:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •