Closed smortexa closed 4 years ago
Please also provide an screen shot of the error message. Thanks
On Sun, Feb 23, 2020, 22:34 Seyed Morteza Ebadi notifications@github.com wrote:
This package works fine but logs ERR_CONTENT_LENGTH_MISMATCH 206 (Partial Content) error in the console and failed status in browsers devTools network tab.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imanghafoori1/laravel-video/issues/7?email_source=notifications&email_token=ABVDUH7Q62BPB34HMPXIH3DRELCCFA5CNFSM4KZ466P2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPSQQPQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVDUHZQSL4CIZUNUWSJY2LRELCCFANCNFSM4KZ466PQ .
I'm experience the same during development. But on the live server the video won't load on the first request. Once I refresh the page, it does work.
I think you should change the web server settings. https://github.com/expressjs/express/issues/3392#issuecomment-354073432
https://stackoverflow.com/questions/24434231/err-content-length-mismatch-when-loading-audio
please also check for the same issue in Firefox and etc (not only chrome).
There is no problem with Firefox. But Brave and Edge (both based on Chromium) have the same problem. unfortunately, I have no access to Apache configuration on this app yet to test this solution. Thanks.
I think that chrome is wrong about the error message. As the stack over flow say it is going too smart.
Anyway if the end user is expriancing no error it is ok.
I suggest to tinker with the buffer size in the config file. To see what will happen.
On Thu, Feb 27, 2020, 16:54 Seyed Morteza Ebadi notifications@github.com wrote:
There is no problem with Firefox and Brave and Edge (both based on Chromium) have the same problem. unfortunately, I have no access to Apache configuration on this app yet to test this solution. Thanks.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imanghafoori1/laravel-video/issues/7?email_source=notifications&email_token=ABVDUH4BSGRNQDY6VWAKOSTRE65IJA5CNFSM4KZ466P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENELR3A#issuecomment-591968492, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVDUH5JGPME5V2TAAVLV2DRE65IJANCNFSM4KZ466PQ .
I tried this and this problem was solved:
https://codesamplez.com/programming/php-html5-video-streaming-tutorial
could you please open up a pull request ? Since I am busy for now.
OK.
The PR removes a feature but I think I found the real issue.
There is another problem that I do not know why it happens. And the problem is that in the last version (2.0.2) most of the times a stream request canceled and the web page blinks and the player does not work. There is no problem with the snippet that I mentioned.
So the current version must be ok for now Thanks for feed back
On Sun, Mar 22, 2020, 21:27 Seyed Morteza Ebadi notifications@github.com wrote:
There is another problem that I do not know why it happens. And the problem is that in the last version (2.0.2) most of the times a stream request canceled and the web page blinks and the player does not work. There is no problem with the snippet that I mentioned.
[image: chrome_YK3cCmN40K] https://user-images.githubusercontent.com/47121888/77255245-aa2fdb00-6c83-11ea-8e9f-360842ed37d5.png
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/imanghafoori1/laravel-video/issues/7#issuecomment-602239068, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVDUHZ5HZHLHQLJAGGPYC3RIY7NZANCNFSM4KZ466PQ .
This package works fine but logs ERR_CONTENT_LENGTH_MISMATCH 206 (Partial Content) error in the console and failed status in browsers devTools network tab.