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
sujithravindran
Posts: 261
Registered: ‎08-11-2009
My Device: Not Specified
Accepted Solution

Embedded video is not playing in the browser field on os 5.

Hi all,

 

I have tried to play an embedded video in the broser field. Its worked fine in the simulator. But not working in the real device. I am using 8900. When i opened the url in the default browser of 8900 its working perfectly. Is there any settings nedded for browser field to play the embedded video or audio?.

 

The url am trying is  http://devweb.wizzpers.com/chat/seewizzper/wizzperid/30305

 

Another problem is the long time for playing the video in the default browser of the blackberry 8900. When i tried the same in android and iphone its taking 7-8 seconds to play. But 8900 takes 45-60 seconds.

 

My code snippet is as given below

 

VerticalFieldManager browserManager=new VerticalFieldManager();

BrowserField browser = new BrowserField();

browserManager.add(browser);
browser.requestContent(url);

add(browserManager);    

 

Any idea regarding this problem?

Thanks in advance.

Sujith.

Developer
sujithravindran
Posts: 261
Registered: ‎08-11-2009
My Device: Not Specified

Re: Embedded video is not playing in the browser field on os 5.

Hi all,

 

Any help ???

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Embedded video is not playing in the browser field on os 5.

What BlackBerry device software version are you testing on (full 4 digits)?  You can find this under Options, About on the BlackBerry Smartphone.

 

Was the same version used in the simulator and real device?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
sujithravindran
Posts: 261
Registered: ‎08-11-2009
My Device: Not Specified

Re: Embedded video is not playing in the browser field on os 5.

Hi ,

 

Thanks for your sugession,


My device version is

 

BlackBerry 8900

smartphone (EDGE, Wi-Fi)

v5.0.0.681 (Bundle 1168, Platform 5.2.0.67)

 

Am using the same version in the simulator and device.

 

I tried the same with the deault url in the same project as

 

BrowserSession browserSession = Browser.getDefaultSession();
browserSession.displayPage(url);

 

Its working fine. Thus i think its not the problem with the version, something related to the settings of browser field.   

Thanks,

Sujith

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Embedded video is not playing in the browser field on os 5.

What services are available on the BlackBerry Smartphone (BES, BIS or both)?  Is it connected via cellular, WiFi or both when you perform your testing?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
sujithravindran
Posts: 261
Registered: ‎08-11-2009
My Device: Not Specified

Re: Embedded video is not playing in the browser field on os 5.

Hi Msohm,

 

Thanks for ur reply ,

 

 We are not using  any service like(BES or BIS),  just using the wifi for both the simulator and for the smartphone .

 

 

 

Thanks

SujithRavindran

Developer
sujithravindran
Posts: 261
Registered: ‎08-11-2009
My Device: Not Specified

Re: Embedded video is not playing in the browser field on os 5.

Hi Msohm,

 

Can u please help us .

 

 

 

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Embedded video is not playing in the browser field on os 5.

What is the format of the video?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
sujithravindran
Posts: 261
Registered: ‎08-11-2009
My Device: Not Specified

Re: Embedded video is not playing in the browser field on os 5.

Hi Mark Sohm,

 

The video is in 3gp format.

 

Could you please try the url 

http://devweb.wizzpers.com/chat/seewizzper/wizzperid/30305

 

The loading time is also too large when compared with other smart phones.

 

Thanks,

Sujith

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Embedded video is not playing in the browser field on os 5.

I am able to reproduce this issue.  It's being caused by an issue with the BrowserField itself.  I don't have a work around for this when using the BrowserField.  You could launch the browser to display the page or play the video directly within your application using the Player class.

 

Our development team is aware of this issue, which should be resolved in a future BlackBerry Device Software release.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker