api documentation for react-player (v0.15.0)

A react component for playing a variety of URLs, including file paths, YouTube, SoundCloud, Streamable, Vidme, Vimeo and Wistia

table of contents

  1. module react-player
    1. function react-player ()
    2. function react-player.propTypes.fileConfig ()
    3. function react-player.propTypes.height ()
    4. function react-player.propTypes.onReady ()
    5. function react-player.propTypes.playing ()
    6. function react-player.propTypes.soundcloudConfig ()
    7. function react-player.propTypes.style ()
    8. function react-player.propTypes.url ()
    9. function react-player.propTypes.vidmeConfig ()
    10. function react-player.propTypes.vimeoConfig ()
    11. function react-player.propTypes.volume ()
    12. function react-player.propTypes.width ()
    13. function react-player.propTypes.youtubeConfig ()
    14. object react-player.defaultProps
    15. object react-player.propTypes
    16. object react-player.utils
    17. string react-player.displayName
  2. module react-player.defaultProps
    1. boolean react-player.defaultProps.controls
    2. boolean react-player.defaultProps.hidden
    3. boolean react-player.defaultProps.loop
    4. boolean react-player.defaultProps.playing
    5. boolean react-player.defaultProps.playsinline
    6. function react-player.defaultProps.onBuffer ()
    7. function react-player.defaultProps.onDuration ()
    8. function react-player.defaultProps.onEnded ()
    9. function react-player.defaultProps.onError ()
    10. function react-player.defaultProps.onPause ()
    11. function react-player.defaultProps.onPlay ()
    12. function react-player.defaultProps.onProgress ()
    13. function react-player.defaultProps.onReady ()
    14. function react-player.defaultProps.onStart ()
    15. number react-player.defaultProps.height
    16. number react-player.defaultProps.playbackRate
    17. number react-player.defaultProps.progressFrequency
    18. number react-player.defaultProps.volume
    19. number react-player.defaultProps.width
    20. object react-player.defaultProps.fileConfig
    21. object react-player.defaultProps.soundcloudConfig
    22. object react-player.defaultProps.vidmeConfig
    23. object react-player.defaultProps.vimeoConfig
    24. object react-player.defaultProps.youtubeConfig
  3. module react-player.propTypes
    1. function react-player.propTypes.className ()
    2. function react-player.propTypes.controls ()
    3. function react-player.propTypes.fileConfig ()
    4. function react-player.propTypes.height ()
    5. function react-player.propTypes.hidden ()
    6. function react-player.propTypes.loop ()
    7. function react-player.propTypes.onBuffer ()
    8. function react-player.propTypes.onDuration ()
    9. function react-player.propTypes.onEnded ()
    10. function react-player.propTypes.onError ()
    11. function react-player.propTypes.onPause ()
    12. function react-player.propTypes.onPlay ()
    13. function react-player.propTypes.onProgress ()
    14. function react-player.propTypes.onReady ()
    15. function react-player.propTypes.onStart ()
    16. function react-player.propTypes.playbackRate ()
    17. function react-player.propTypes.playing ()
    18. function react-player.propTypes.playsinline ()
    19. function react-player.propTypes.progressFrequency ()
    20. function react-player.propTypes.soundcloudConfig ()
    21. function react-player.propTypes.style ()
    22. function react-player.propTypes.url ()
    23. function react-player.propTypes.vidmeConfig ()
    24. function react-player.propTypes.vimeoConfig ()
    25. function react-player.propTypes.volume ()
    26. function react-player.propTypes.width ()
    27. function react-player.propTypes.youtubeConfig ()
  4. module react-player.propTypes.fileConfig
    1. function react-player.propTypes.fileConfig ()
    2. function react-player.propTypes.fileConfig.isRequired ()
  5. module react-player.propTypes.height
    1. function react-player.propTypes.height ()
    2. function react-player.propTypes.height.isRequired ()
  6. module react-player.propTypes.onReady
    1. function react-player.propTypes.onReady ()
    2. function react-player.propTypes.onReady.isRequired ()
  7. module react-player.propTypes.playing
    1. function react-player.propTypes.playing ()
    2. function react-player.propTypes.playing.isRequired ()
  8. module react-player.propTypes.soundcloudConfig
    1. function react-player.propTypes.soundcloudConfig ()
    2. function react-player.propTypes.soundcloudConfig.isRequired ()
  9. module react-player.propTypes.style
    1. function react-player.propTypes.style ()
    2. function react-player.propTypes.style.isRequired ()
  10. module react-player.propTypes.url
    1. function react-player.propTypes.url ()
    2. function react-player.propTypes.url.isRequired ()
  11. module react-player.propTypes.vidmeConfig
    1. function react-player.propTypes.vidmeConfig ()
    2. function react-player.propTypes.vidmeConfig.isRequired ()
  12. module react-player.propTypes.vimeoConfig
    1. function react-player.propTypes.vimeoConfig ()
    2. function react-player.propTypes.vimeoConfig.isRequired ()
  13. module react-player.propTypes.volume
    1. function react-player.propTypes.volume ()
    2. function react-player.propTypes.volume.isRequired ()
  14. module react-player.propTypes.width
    1. function react-player.propTypes.width ()
    2. function react-player.propTypes.width.isRequired ()
  15. module react-player.propTypes.youtubeConfig
    1. function react-player.propTypes.youtubeConfig ()
    2. function react-player.propTypes.youtubeConfig.isRequired ()
  16. module react-player.utils
    1. function react-player.utils.parseStartTime (url)

module react-player

function react-player ()

function react-player.propTypes.fileConfig ()

function react-player.propTypes.height ()

function react-player.propTypes.onReady ()

function react-player.propTypes.playing ()

function react-player.propTypes.soundcloudConfig ()

function react-player.propTypes.style ()

function react-player.propTypes.url ()

function react-player.propTypes.vidmeConfig ()

function react-player.propTypes.vimeoConfig ()

function react-player.propTypes.volume ()

function react-player.propTypes.width ()

function react-player.propTypes.youtubeConfig ()

module react-player.defaultProps

function react-player.defaultProps.onBuffer ()

function react-player.defaultProps.onDuration ()

function react-player.defaultProps.onEnded ()

function react-player.defaultProps.onError ()

function react-player.defaultProps.onPause ()

function react-player.defaultProps.onPlay ()

function react-player.defaultProps.onProgress ()

function react-player.defaultProps.onReady ()

function react-player.defaultProps.onStart ()

module react-player.propTypes

function react-player.propTypes.className ()

function react-player.propTypes.controls ()

function react-player.propTypes.fileConfig ()

function react-player.propTypes.height ()

function react-player.propTypes.hidden ()

function react-player.propTypes.loop ()

function react-player.propTypes.onBuffer ()

function react-player.propTypes.onDuration ()

function react-player.propTypes.onEnded ()

function react-player.propTypes.onError ()

function react-player.propTypes.onPause ()

function react-player.propTypes.onPlay ()

function react-player.propTypes.onProgress ()

function react-player.propTypes.onReady ()

function react-player.propTypes.onStart ()

function react-player.propTypes.playbackRate ()

function react-player.propTypes.playing ()

function react-player.propTypes.playsinline ()

function react-player.propTypes.progressFrequency ()

function react-player.propTypes.soundcloudConfig ()

function react-player.propTypes.style ()

function react-player.propTypes.url ()

function react-player.propTypes.vidmeConfig ()

function react-player.propTypes.vimeoConfig ()

function react-player.propTypes.volume ()

function react-player.propTypes.width ()

function react-player.propTypes.youtubeConfig ()

module react-player.propTypes.fileConfig

function react-player.propTypes.fileConfig ()

function react-player.propTypes.fileConfig.isRequired ()

module react-player.propTypes.height

function react-player.propTypes.height ()

function react-player.propTypes.height.isRequired ()

module react-player.propTypes.onReady

function react-player.propTypes.onReady ()

function react-player.propTypes.onReady.isRequired ()

module react-player.propTypes.playing

function react-player.propTypes.playing ()

function react-player.propTypes.playing.isRequired ()

module react-player.propTypes.soundcloudConfig

function react-player.propTypes.soundcloudConfig ()

function react-player.propTypes.soundcloudConfig.isRequired ()

module react-player.propTypes.style

function react-player.propTypes.style ()

function react-player.propTypes.style.isRequired ()

module react-player.propTypes.url

function react-player.propTypes.url ()

function react-player.propTypes.url.isRequired ()

module react-player.propTypes.vidmeConfig

function react-player.propTypes.vidmeConfig ()

function react-player.propTypes.vidmeConfig.isRequired ()

module react-player.propTypes.vimeoConfig

function react-player.propTypes.vimeoConfig ()

function react-player.propTypes.vimeoConfig.isRequired ()

module react-player.propTypes.volume

function react-player.propTypes.volume ()

function react-player.propTypes.volume.isRequired ()

module react-player.propTypes.width

function react-player.propTypes.width ()

function react-player.propTypes.width.isRequired ()

module react-player.propTypes.youtubeConfig

function react-player.propTypes.youtubeConfig ()

function react-player.propTypes.youtubeConfig.isRequired ()

module react-player.utils

function react-player.utils.parseStartTime (url)

[ this document was created with utility2 ]