Video Player

A component for playing media files and content from YouTube, SoundCloud and Vimeo.

Example:

<VideoPlayer
    url="https://www.youtube.com/watch?v=UzxYlbK2c7E"
    playing
/>

Options:

  • url: URL of the video. Default: ''.
  • controls: boolean indicating whether to display control elements of the video player. Default: false
  • playing: boolean indicating whether to automatically start playing the video. Default: false
  • volume: number setting the volume of the player. Default: 0.8
  • height: height of the player. Default: 360
  • width: width of the player. Default: 640

results matching ""

    No results matching ""