Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    You can not, if it is real player doing that, you can not really change its internal behaviour.

  2. #17
    Registered User ryback3's Avatar
    Join Date
    Nov 2008
    Posts
    7
    Hi,

    I tried this code with n95 but it didn't establish a network connection only it shows loading image and do nothing. Is object or embed tag depend on symbian version, which version of symbian support object or embed tag?

  3. #18
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    Did you try the link first with the Real player application, i.e. launching it from menu and using its menu options for opening the streaming link ?, it is always good to first check that the link is supported by the device..

    And secondly, what is the link you are trying to play ?

  4. #19
    Registered User ryback3's Avatar
    Join Date
    Nov 2008
    Posts
    7
    Thanks for quick reply, link is a rtsp url, content type is 3gpp Yes i tried link with Real Player, it is working. Also my code working with nokia 6710 navigator, but with n95 it shows only loading image and doesn't attempt to establish a network connection. In this link http://discussion.forum.nokia.com/fo...o-on-wap-pages says they can embed video, but it didnt work for me? Is problem with sybian s60 v3.1? because 6710 has sybian s60 v3.2

  5. #20
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    Dunno really then, maybe you could check whether the N95 has something different on Real players settigns than the 6710. Also you might see whether it is firmware issues, i.e. you could try updating your N95's firmware to be the latest available.

  6. #21
    Registered User yapiskan's Avatar
    Join Date
    May 2011
    Posts
    21
    Hi,

    I'm currently developing a game in wrt. I want to add sounds for some actions. I have used the code that you have provided;

    Code:
     
    function EmbedPlay(url,type) {
      
      var playerDiv = document.getElementById('player');
      
      if (playerDiv != null && playerDiv.childNodes != null) {
            for (var i = 0; i < playerDiv.childNodes.length; i++) {
                playerDiv.removeChild(playerDiv.firstChild);
            }
        }
        // Create a new one
        var previewPlayer = document.createElement('embed');
        previewPlayer.id = 'audioplayer';
        previewPlayer.setAttribute('volume', '10');
        previewPlayer.setAttribute('type', type);
        previewPlayer.setAttribute('autoplay', 'true');
        previewPlayer.setAttribute('data', url);
        previewPlayer.setAttribute('src', url);
        playerDiv.appendChild(previewPlayer);
    }
    But this does not work in my case. I'm testing my application in nokia 5800. Do I miss something? By the way, I'm giving the 'type' parameter as 'audio/x-wav' and the 'file' as 'a wav file' to play.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Implementation of Digital Rights Management (DRM) on Mobile Music Player for Java:
    By atiqkamran in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2011-02-26, 08:39
  2. how to play mp3 file and play long wav file
    By changsshuai in forum Symbian C++
    Replies: 6
    Last Post: 2008-09-02, 09:50
  3. OMA DRM media transfer using PC to Phone using USB
    By venky123 in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2008-08-13, 03:02
  4. cannot able to play a video file.
    By shalini.mishra in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2006-11-13, 16:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved