Social share social-share
The social share tool appears in the top-right corner by default. It consists of a button and a panel that expands when the user clicks or taps on a button and contains individual sharing tools.
The position and size of the social share tool in the viewer user interface is controlled with the following:
.s7interactivevideoviewer .s7socialshare
CSS properties of the social share tool
Example example
To set up a social sharing tool that is positioned four pixels from the top and five pixels from the right of viewer container and is sized 28 x 28 pixels.
.s7interactivevideoviewer .s7socialshare {
top:4px;
right:5px;
width:28px;
height:28px;
}
The appearance of the social share tool button is controlled with the following CSS class selector:
.s7interactivevideoviewer .s7socialshare .s7socialbutton
CSS properties of the social share tool button
state
attribute selector, which can be used to apply different skins to different button states.The button tool tip can be localized. See Localization of user interface elements.
Example example-1
To set up a social sharing tool button that displays a different image for each of the four different button states.
.s7interactivevideoviewer .s7socialshare .s7socialbutton[state='up'] {
background-image:url(images/v2/SocialShare_video_dark_up.png);
}
.s7interactivevideoviewer .s7socialshare .s7socialbutton[state='over'] {
background-image:url(images/v2/SocialShare_dark_over.png);
}
.s7interactivevideoviewer .s7socialshare .s7socialbutton[state='down'] {
background-image:url(images/v2/SocialShare_dark_down.png);
}
.s7interactivevideoviewer .s7socialshare .s7socialbutton[state='disabled'] {
background-image:url(images/v2/SocialShare_dark_disabled.png);
}
The appearance of the panel which contains the individual social sharing icons is controlled with the following CSS class selector:
.s7interactivevideoviewer .s7socialshare .s7socialsharepanel
CSS properties of the social share panel
Example example-2
To set up a panel to have transparent color:
.s7interactivevideoviewer .s7socialshare .s7socialsharepanel {
background-color: transparent;
}