Skip to content
Advertisement

PHP stream remote video file

Let’s say I have a video on a remote server and this its url

http://domain/video-path/video.mp4

What is the correct way to stream this video using php with seekable..

I know how to stream the video using fopen and fread but it can’t seek with remote file

Advertisement

Answer

I’m using this, working both local & external video, seekable & resumable

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement