0.0.8 • Published 3 years ago

vidtile v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago
PropsDescriptionTypeExample
idUnique id to be attached to video tagstring"2"
uriURI for the src attribute of the video tagstring"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4"
isPausedUser has stopped sharing their camerabooleanfalse
isMutedUser has stopped sharing their microphonebooleanfalse
isHandRaisedUser has raised their handbooleanfalse
isPinnedVideo tile has been pinnedbooleanfalse
usernameFull Name of the user.string"Elon Musk"
highlightBorderPass CSS Border property to highlight the video tile.string"3px solid #aaa"
placeholder?Placeholder to be shown when the user has stopped sharing their camera. A string which is a valid URL to an image or a custom React Componentstring or React.ReactNodeCustom React Component
width?Width of the video tile. All valid CSS width can be passed. If no width is passed then it takes as much width availablestring or number"200px" or 200
height?Height of the video tile. All valid CSS height can be passed. If no height is passed then it takes as much height availablestring or number"200px" or 200
Topbar?Custom React Component to be shown at the top of video tileReact.ReactNodeCustom React Component
Popup?Custom React Component to be shown within the popup. It follows render props pattern. To close the popup when clicked within the popup execute close function. Any clicks outside the popup will automatically close the popup(close) => React.ReactNode(close) => <MyPopup close={close} />
onPinFunction to be executed when video tile is pinnedfunction-
onUnpinFunction to be executed when video tile in unpinnedfunction-
onHandClick?Function to be executed when hand is clickedfunction
onMicrophoneClick?Function to be executed when disabled microphone is clickedfunction-
0.0.3

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago