This is a migrated thread and some comments may be shown as answers.

Rad Media Player on a Tab...

1 Answer 66 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
mark
Top achievements
Rank 1
mark asked on 18 May 2009, 10:05 PM
I am trying to have a Rad Media Player on the THIRD Tab of a Rad Tab Control, INSIDE a Rad Window....The Video loads when the third tab is activated and it plays well.  My question is, when I click the 2nd or 1st tab, the Video stops playing and reloads...Is there something I can do to keep the video playing in the background or at least PAUSE where it left off last?

Thanks...It is a very cool control though.

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 19 May 2009, 07:38 AM
Hi mark,

The problem is in the way the TabControl works. It removes the tab content which is not visible from the visual tree and then it adds it back again when the tab item is selected.

You can handle the events in the media player and to store its current time position (and state). When the player is back loaded you can point to its previous state.

Let us know if you need more help on that.

Regards,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
MediaPlayer
Asked by
mark
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or