Skip to main content

Fullscreen Buttons

There are 2 fullscreen components

  1. "fullscreenButton1"
  2. "fullscreenButton2"

Fullscreen Button 1

Fullscreen Button 2

Usage

item1: {
id: 'fullscreenButton1',
buttonColor: '#b7cef4',
},

Properties

Property NameRequiredAccepted ValuesDescriptionDefault
idYes"fullscreenButton1" or "fullscreenButton2"Used to render a fullscreenButton.undefined
buttonColorNoAny hex or rgb color codeChanges the color of the fullscreenButton.Calculated from controlsBar barColor property
hideOnMobileNotrue or falseHides the fullscreenButton component when the video's width is less than 768pxfalse
marginLeftNoA string css value for the marginLeft property, ex: '10px', '10rem'Changes the left margin of the fullscreenButton"0"
marginRightNoA string css value for the marginRight property, ex: '10px', '10rem'Changes the left margin of the fullscreenButton"0"