×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    33

    embed youtube in nokia wrt

    Is it possible to embed a youtube video in a nokia WRT application?
    I want to make a musicplayer which plays music from youtube (no video).

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    33

    Re: embed youtube in nokia wrt

    When I try to embed a youtube video I only see the flash logo. Is that normal?

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: embed youtube in nokia wrt

    Hi,

    What is your target device and what is your current implementation?

    -Ilkka

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    33

    Re: embed youtube in nokia wrt

    My target is Symbian S60E5.

    I tried to embed it like this but only a flash logo is visible:
    <object id="myytplayer" type="application/x-shockwave-flash" style="width:400px; height:325px;" data="http://www.youtube.com/v/FlsBObg-1BQ?rel=0&amp;showsearch=0&autoplay=0&enablejsapi=1&playerapiid=ytplayer&iv_load_policy=3&version=3">
    <param id="paramMovie" name="movie" value="http://www.youtube.com/v/FlsBObg-1BQ?rel=0&amp;showsearch=0&autoplay=0&enablejsapi=1&playerapiid=ytplayer&iv_load_policy=3&version=3" />
    <param name="allowScriptAccess" value="always">
    </object>

    it seems like that an external flash file cannot be loaded on that way.

    This method is working (video is playing) but how to access the youtube object to change volume for example?
    <div id="mainview">
    <iframe src="http://www.youtube.com/v/KQ6zr6kCPj8" frameborder="0" width="250" height="250"/>
    </div>

  5. #5
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: embed youtube in nokia wrt

    Hi,

    The embed code you have uses ActionScript 3 interface. If I remember correctly AS3 is only supported in Symbian^3 onwards. What you could try is to drop version=3 parameter to use AS2 interface. At least following code seems to work in E5

    Code:
    	<object style="height: 171px; width: 304px">
    <param name="movie" value="http://www.youtube.com/v/2rbjLAdyO3Q?feature=player_embedded">
    <param name="allowFullScreen" value="true">
    <param name="allowScriptAccess" value="always">
    <embed src="http://www.youtube.com/v/2rbjLAdyO3Q?feature=player_embedded" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></object>
    -Ilkka

Similar Threads

  1. Replies: 20
    Last Post: 2011-06-23, 09:06
  2. can i update WRT 1.0 to WRT 1.1 in mobile device
    By vimalrajpara in forum Symbian
    Replies: 2
    Last Post: 2011-01-08, 06:17
  3. can i update WRT 1.0 to WRT 1.1 in mobile device
    By vimalrajpara in forum General Development Questions
    Replies: 1
    Last Post: 2011-01-07, 18:59
  4. Youtube Probple with Nokia X3
    By sunilgupta91 in forum General Development Questions
    Replies: 2
    Last Post: 2010-12-04, 10:53
  5. Embed Flash Lite within a WRT widget?
    By bryanrieger in forum Symbian
    Replies: 10
    Last Post: 2010-04-18, 17:42

Posting Permissions

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