A couple of requests

7 posts, 1 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 08 Jan 2009 Link to this post

    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
  2. Answer
    kalyan
    kalyan avatar
    38 posts
    Member since:
    Jul 2008

    Posted 12 Jan 2009 Link to this post

    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

  3. DevCraft banner
  4. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 12 Jan 2009 Link to this post

    Could you also consider request C for future updates?
    Thanks!
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 12 Jan 2009 Link to this post

    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.
  6. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 12 Jan 2009 Link to this post

    Thank you Sir;
  7. Helen
    Helen avatar
    101 posts
    Member since:
    Nov 2008

    Posted 27 Apr 2009 Link to this post

    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.
  8. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 28 Apr 2009 Link to this post

    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.
Back to Top
DevCraft banner