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

"HD" will not hide ?!?!

3 Answers 99 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 08 Jan 2014, 07:33 PM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 09 Jan 2014, 05:21 AM
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.
0
Barry
Top achievements
Rank 1
answered on 09 Jan 2014, 10:24 AM
That did it !...thanx !

Barry
0
Brian Azzi
Top achievements
Rank 2
answered on 04 Feb 2014, 07:12 PM
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).
Tags
MediaPlayer
Asked by
Barry
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Barry
Top achievements
Rank 1
Brian Azzi
Top achievements
Rank 2
Share this question
or