
Set forceAudio to always render an element. Set attributes to apply element attributes. Set preload for preloading.Ĭonfiguration object for the file player. Set params to override the default player vars.

Set options to override the default player optionsĬonfiguration object for the DailyMotion player. Possible values: 240p, 480p, 720p, 1080p, dash, hlsĬonfiguration object for the Wistia player. Set format to use a certain quality of video, when available. Set preload for preloading.Ĭonfiguration object for the Vidme player. Set playerVars to override the default player vars. Set preload for preloading.Ĭonfiguration object for the YouTube player. Set iframeParams to override the default params. Set showArtwork to false to not load any artwork to display.Ĭonfiguration object for the Vimeo player. Set clientId to your own SoundCloud app client ID. These props allow you to override the parameters for the various players: PropĬonfiguration object for the SoundCloud player. If playing is set to true, media will play immediatelyĬalled when media starts or resumes playing after pausing or bufferingĬallback containing progress played, loaded (fraction), playedSeconds and loadedSeconds (seconds) eg Ĭallback containing duration of the media, in secondsĬalled when an error occurs whilst attempting to play media

The time between onProgress callbacks, in millisecondsĪpplies the playsinline attribute where supportedĬallback props take a function that gets fired on various player events: PropĬalled when media is loaded and ready to play. Sets the playback rate of the appropriate player Sets the volume of the appropriate player Set to true or false to display native player controls Note: Vimeo player controls are not configurable and will always display Set to true or false to pause or play the media The HTML5 element, in certain mobile browsers (such as Chrome and Safari), only allows playback to take place if it's initiated by a user interaction (such as tapping on the player). The YouTube player documentation, for example, explains that certain mobile browsers require user interaction before playing: Due to various restrictions, ReactPlayer is not guaranteed to function properly on mobile devices.
