react-player
react-player copied to clipboard
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
Current code=> ```javascript import dynamic from "next/dynamic"; const ReactPlayer = dynamic(() => import("react-player/lazy"), { ssr: false }); ``` #### Current Behavior Ref methods like `player.current.getCurrentTime();` are not working when using...
#### Current Behavior When trying to pause a live hls audio stream from my mobile phone's lock screen (iOS and Android), it pauses for a moment and then resumes playing....
#### Current Behavior Currently in Safari videos will not start autoplaying with the `playing` prop set to `true` when the `light` prop is `true` It might be related to https://webkit.org/blog/6784/new-video-policies-for-ios/...
#### Current Behavior My video component looks like this: ```javascript // https://github.com/cookpete/react-player/issues/1428 import dynamic from 'next/dynamic' const ReactPlayer = dynamic(() => import('react-player/lazy'), { ssr: false }) export default function Video({src})...
#### Current Behavior Hello, currently facebook videos aren't being loaded properly which throws a "Failed to load [https://connect.facebook.net/en_US/sdk.js](https://connect.facebook.net/en_US/sdk.js) error" . In this https://developers.facebook.com/docs/plugins/embedded-video-player/#2--load-javascript-sdk, videos are loaded just fine but in...
Be sure to [search for your issue](https://github.com/CookPete/react-player/issues) before opening a new one. #### Current Behavior #### Expected Behavior #### Steps to Reproduce 1. 1. 1. #### Environment - URL attempting...
Hi, developer. #### Current Behavior / Expected Behavior - Using `Seekto`, there is a gap between sound and video. ``` playerRef.current.seekTo(playerRef.current.getCurrentTime() - 5.000000, 'seconds'); ``` ``` ``` - In this...
#### Current Behavior Unless `react-player` is loaded on the client-side using dynamic/no-ssr or useEffect, React will panic with a hydration error. #### Expected Behavior Use of SSR should not result...
Hi, I've been trying to reset the player back to the poster image once the video ended. I have tried the following code because I can't see any other method...
Be sure to [search for your issue](https://github.com/CookPete/react-player/issues) before opening a new one. #### Current Behavior #### Expected Behavior #### Steps to Reproduce 1. 1. 1. #### Environment - URL attempting...