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

A couple of requests

6 Answers 104 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 08 Jan 2009, 07:23 PM
Hi;

I'd like to make a couple of feature requests for media player:
a) Can you give us a property that we can show/hide the top white section where it shows running time? or you could include the running time in the bottom panel as well.
b) On the bottom pane where the controls are, to the left, there is a button to display media list. Can you give us a property to show/hide that button?
c) Would it be possible to provide a "tiny" Control panel with transparent colors that blends better? You can give us a choice of "Normal" or "Tiny" control panel to  choose from. If you look at your new TV site, it uses a Flash Media player that the control panel blends better. Can we have something like that?

Thank you in advance!
..Ben

6 Answers, 1 is accepted

Sort by
0
Accepted
kalyan
Top achievements
Rank 2
answered on 12 Jan 2009, 12:39 PM

Ben,

You can accomplish this either by altering the default templete of the MediaPlayer  or by getting the required elements programatically .

example :

 

Panel

rootElement { get; set; }

 

rootElement = (

Panel)VisualTreeHelper.GetChild(media, 0);

 

stopButton = (System.Windows.Controls.

Button)rootElement.FindName("PlaylistButton");

 

playListButton.Visibility =

Visibility.Collapsed;

 

 

or you have to get the default templete of the MediaElement and remove your required element from the template.
I believe this can help you.

Thanks

Kalyan

0
Ben Hayat
Top achievements
Rank 2
answered on 12 Jan 2009, 02:39 PM
Could you also consider request C for future updates?
Thanks!
0
Valentin.Stoychev
Telerik team
answered on 12 Jan 2009, 02:49 PM
Hello ..Ben,

This is a very good idea. I'll pass your feedback to our UX department to see if we can have that option.

Thanks!

All the best,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ben Hayat
Top achievements
Rank 2
answered on 12 Jan 2009, 02:57 PM
Thank you Sir;
0
Helen
Top achievements
Rank 2
answered on 28 Apr 2009, 04:15 AM
I'd like to second the suggestion of making the buttons public properties of the MediaPlayer object. Yes, you can use code to dig them out, but that means you need to know the names of the controls, which you have to get from the template. In my view it would be a lot cleaner if developers could access them as properties of the object.
0
Valentin.Stoychev
Telerik team
answered on 28 Apr 2009, 11:31 AM
Hi Helen,

Yes - this is in our plan for Q2. We are working towards making the MediaPlayer more configurable and more Web-like. If you have any other suggestions for improvements I'll be glad to know.

Thanks!

All the best,
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
Ben Hayat
Top achievements
Rank 2
Answers by
kalyan
Top achievements
Rank 2
Ben Hayat
Top achievements
Rank 2
Valentin.Stoychev
Telerik team
Helen
Top achievements
Rank 2
Share this question
or