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

How to hide Sharing button ?

2 Answers 202 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 11 Jan 2014, 03:36 AM
Hi,

This is a problem similar to the one I had with the HD button. There is no way to hide those options when not required/needed/wanted through the control properties. I'd like to remove the share option (facebook etc.) from my video player. Setting the height/width to 0 under "Social Share" had no effect. Please advise with the required CSS (where it should just be a boolean propery setting within the control).

Thanks.

Barry

2 Answers, 1 is accepted

Sort by
0
Accepted
Senad
Top achievements
Rank 1
answered on 11 Jan 2014, 10:44 PM
Barry, this works for me:
player = new RadMediaPlayer();
player.ID = "RadMediaPlayer1";
player.Title = video.Title;
player.Source = "http://www.youtube.com/watch?v=" + "whatever...";
player.StartVolume = 90;
player.OnClientReady = "playerReady";
player.Height = System.Web.UI.WebControls.Unit.Pixel(366);
player.Width = System.Web.UI.WebControls.Unit.Pixel(700);
//player.FullScreen = true;
player.HDActive = true;
player.VolumeButtonToolTip = "Zvuk";
player.FullScreenButtonToolTip = "Veći ekran";
player.Skin = "Metro";
 
player.ToolBar.HDButton.Style["display"] = "none";
player.TitleBar.ShareButton.Visible = false;
0
Barry
Top achievements
Rank 1
answered on 12 Jan 2014, 12:33 AM
You da man !...thanks :-)
Tags
MediaPlayer
Asked by
Barry
Top achievements
Rank 1
Answers by
Senad
Top achievements
Rank 1
Barry
Top achievements
Rank 1
Share this question
or