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
New Contributor
sinumathews
Posts: 2
Registered: ‎02-24-2010
My Device: Storm

How to add video controls (rewind, forward, seek bar) in a blackberry application?

[ Edited ]

Hi Experts,

 

I'm developing a blackberry application that plays video from the server. I've used Player.start() and Player.stop() for playing and pausing a video. But I also need rewind, forward and seek bar controls in my application. I tried using FramePositioningControl for these controls. But the following code is returning null.

 

FramePositioningControl framePositioningControl = (FramePositioningControl) player.getControl("FramePositioningControl");

 

I searched several forums and it says many players do not support FramePositioningControl. Can I know which all are the players that support FramePositioningControl. And also what else should I do to add these controls in my application. Please help, its very urgent.

 

Thank you very much in advance,

Sinu Mathews

Please use plain text.
JSanders
Posts: 85,729
Likes: 23,109
Solutions: 5,957
Registered: ‎04-01-2008
My Device: Passport • Z30 • Z10 • Torch9850 • Playbook
My Carrier: Verizon

Re: How to add video controls (rewind, forward, seek bar) in a blackberry application?

Perhaps we should get this thread moved to the Java developer section of the forum, not this Forum Feedback and ideas section.

 

Greetings, and welcome to the BlackBerry.com Support Forums.




1. If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes


Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
Please use plain text.
Contributor
papdoligosa
Posts: 27
Registered: ‎02-12-2010
My Device: Torch 9800

Re: How to add video controls (rewind, forward, seek bar) in a blackberry application?

Any update on this issue?

I am also having a similar issue. I want my app to have a seek functionality so I tried getting an instance of FramePositionControl from the player but it returns null.

I tried getting all available controls but only the VideoControl and VolumeControl were returned.
Please use plain text.
Retired
saziz
Posts: 76
Registered: ‎07-11-2008
My Device: Z10

Re: How to add video controls (rewind, forward, seek bar) in a blackberry application?

The following sample implements the seek bar:

http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

 

FramePositioningControl is not supported on the java player.

Sarim
BlackBerry Development Advisor
www.BlackBerryDeveloper.com
Please use plain text.