"HD" will not hide ?!?!

4 posts, 1 answers
  1. Bazz
    Bazz avatar
    21 posts
    Member since:
    Aug 2011

    Posted 08 Jan 2014 Link to this post

    Hi, I'm trying to hide the "HD" from the playback bar in the MediaPlayer, as I do not have a HD version of my video to serve up. Otherwise it's works fine, and my .MP4 file plays normally. How do I hide the HD option ?

    These are my current settings:

    HDActive: False
    HDButtonToolTip: <blank>
    HDSource: <blank>

    ...yet the HD option remains in the player and everything breaks when it's clicked on.

    Please advise,

    Barry

  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Jan 2014 Link to this post

    Hi,

    Please have a look into the following code snippet to hide the HD button of RadMediaPlayer.

    ASPX;
    <telerik:RadMediaPlayer ID="RadMediaPlayer1" runat="server" Width="800px" Height="500px">
    </telerik:RadMediaPlayer>

    CSS:
    <style type="text/css">
        .rmpHDButton
        {
            display: none !important;
        }
    </style>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bazz
    Bazz avatar
    21 posts
    Member since:
    Aug 2011

    Posted 09 Jan 2014 Link to this post

    That did it !...thanx !

    Barry
  5. Brian Azzi
    Brian Azzi avatar
    65 posts
    Member since:
    Mar 2010

    Posted 04 Feb 2014 in reply to Shinu Link to this post

    Alternatively, you can do this in code behind as well (if you don't want to go the css route):

    RadMediaPlayer1.ToolBar.HDButton.Style.Add("display", "none");

    (This may be preferable depending on the situation).
Back to Top