PlayerOptions: Override the default params Options: Override the default player options PlayerId: Override player ID for consistent server-side rendering (use with react-uid)Īttributes: Extra data attributes to pass to the fb-video element ![]() OnUnstarted: Called when state changes to unstarted (usually when video fails to autoplay) PlayerVars: Override the default player varsĮmbedOptions: Override the default embed options ![]() Settings for each player live under different keys: Key There is a single config prop to override settings for each type of player: ◦ Only supported by YouTube, Vimeo ( if enabled), Wistia, and file pathsĬalled when an error occurs whilst attempting to play mediaĬalled when user clicks the light mode previewĬalled when picture-in-picture mode is enabledĬalled when picture-in-picture mode is disabled Please set muted=Ĭallback containing duration of the media, in secondsĬalled when media seeks with seconds parameterĬalled when playback rate of the player changed Some players, like Facebook, cannot be unmuted until the user interacts with the video, so you may want to enable controls to allow users to unmute videos themselves. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |