cookpete / react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
https://cookpete.github.io/react-player
MIT License
8.94k stars 1.12k forks source link

Fast forwards or backwards for some videos does not work #1716

Closed kingmaker9841 closed 6 months ago

kingmaker9841 commented 6 months ago

Please use this url as an example: https://resource.api.dev.medhavhi.com/media/resources/37967364-8d61-4025-93b8-16429d19bfcc.mp4

Here is the jsfiddle: https://jsfiddle.net/bacfp5d3/3/

Try playing it via React player with source as the given url You will not be able to seek the video. Also in my case, since i have custom controls, no fast forward or backward is working.

Current Behavior

Fast forward, backward or even seek is not happening

Expected Behavior

To be able to fast forward, backward or seek

Environment

This is particularly happening with some videos, but not for all.

kingmaker9841 commented 6 months ago

Anyone facing same kind of issue, please check if your server knows how to support range header. Please check this stackoverflow section where you can find extra information: support for range header