Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 39
Registered: ‎02-06-2010
My Device: 9000
My Carrier: devloper

How can I play youtube in my Blackberry Application

hi

 

I want to play youtube in my blackberry application  

plz give me idea about this

 

Thanx

 

 

Developer
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: How can I play youtube in my Blackberry Application

You have 3 options,

 

 

1. Use the youtube link and invoke the browser - displays the youtube mobile version of their website

 

2. Use the youtube vidoes rtsp link and invoke the browser, the video will start playing directly in the standard media player

 

3. Use the youtube rtsp link and create your own player.

Developer
Posts: 39
Registered: ‎02-06-2010
My Device: 9000
My Carrier: devloper

Re: How can I play youtube in my Blackberry Application

[ Edited ]

hey

 

Thanx for reply

i am using "1 point" but browser show error  when play video

Error like "Attempting to play media" - Blackberry 9000

 

what about next ?

 

plz tell me

 

Thanx

 

 

 

Developer
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: How can I play youtube in my Blackberry Application

It won't work on the simulator. Try it on a real device

Developer
Posts: 39
Registered: ‎02-06-2010
My Device: 9000
My Carrier: devloper

Re: How can I play youtube in my Blackberry Application

[ Edited ]

hey

 

I found the answer to the youtube problem from:

 CanWEBada

 

Who responded to following step: 

go to m.youtube.com
scroll to bottom of page.
click "optimize"
click "start optimization"
test 1/7: click "yes" when you see the tiny grey heart
test 2/7: click "yes" when you see the puppy
test 3/7: click "no" when the flash lite video fails
test 4/7: click "click here" when pressing "5" key does squat
test 5/7: there is no test 5 for some reason - skip to test 6/7
test 6/7: click "YES" - the test video WILL FAIL BUT CLICK "YES" ANYWAY
test 7/7: click "no" - h.263 does not work

 

but this step follow on 8**** series simulator  work fine but in BB 9000  some thing setting missing

 

 plz give me idea about this

 

 

Developer
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: How can I play youtube in my Blackberry Application

is the error on the simulator or actual device?

Developer
Posts: 39
Registered: ‎02-06-2010
My Device: 9000
My Carrier: devloper

Re: How can I play youtube in my Blackberry Application

 

Error on simulator

“An error has occurred attempting to play media” .

 

 

 

Developer
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: How can I play youtube in my Blackberry Application

Did you try it on an actual device? Even though it doesn't work on the simulator, it should work on the actual device. So install the application on an actual device and see. If there is still an issue, then I will try and help you.

Highlighted
Developer
Posts: 39
Registered: ‎02-06-2010
My Device: 9000
My Carrier: devloper

Re: How can I play youtube in my Blackberry Application

[ Edited ]

 

hey  

i have not real device ,i am work on Blackberry bold simulator