mp4 file not working
-
To my surprise, this plugin do not work with mp4 files.
Outside ‘private’-folder i can play my video
Inside ‘private’-folder not
File access using parameters also do not play: ?pucd-folder=private&pucd-file=xyz.mp4HEADER within private (not working):
HTTP/1.1 200 Connection established Server: nginx Date: Mon, 25 Feb 2019 13:00:06 GMT Content-Type: video/mp4 Transfer-Encoding: chunked Connection: keep-alive Vary: Accept-Encoding,Cookie Expires: Mon, 25 Feb 2019 14:00:06 GMT Last-Modified: Mon, 25 Feb 2019 12:55:28 GMT ETag: "c984ad2e8a54ce9270403fc66fe953cc"
HEADER outside private (working)
HTTP/1.1 200 Connection established Server: nginx Date: Mon, 25 Feb 2019 13:00:40 GMT Content-Type: video/mp4 Content-Length: 383631 Connection: keep-alive Last-Modified: Mon, 25 Feb 2019 12:55:35 GMT ETag: "5da8f-582b774dfbfc0" Accept-Ranges: bytes
I added 2 lines after
header(‘Content-type: ‘ . $mimetype); // always send thisheader('Content-Length: ' . filesize($path)); //NEW header('Accept-Ranges: bytes'); //NEW
this do not help
Firefox Error in private-folder:
Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) Details: static MP4Metadata::ResultAndByteBuffer __cdecl mozilla::MP4Metadata::Metadata(mozilla::ByteStream *): Cannot parse metadata
TEST-VIDEO MP4:
https://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5PS: I use .htaccess – do not know why nginx is shown in header…
?
- The topic ‘mp4 file not working’ is closed to new replies.