Video format not supported
Submitted by mmohsen on Mon, 06/10/2019 - 08:27
Forums:
I'm using H5P WordPress plugin 1.13.1. I created Interactive Content and tried to add direct links to videos hosted on Amazon S3, using MP4, WebM, and MKV, neither work. I verified that the video links are directly accessible to the browser (used the link directly in incognito), tested on Mac's Safari and Chrome, iPhone's Safari. All produce the same result. Only YouTube links are working
What should I do?
Thanks
BV52
Tue, 06/11/2019 - 03:28
Permalink
Hi mmohsen,Please check if
Hi mmohsen,
Please check if you have errors in the browser console.
-BV52
mmohsen
Wed, 06/12/2019 - 04:36
Permalink
Hi @BV52Yes, the error is
Hi @BV52
Yes, the error is:
Access to video at 'https://***.s3.amazonaws.com/temp/***.mp4' from origin 'https://***.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.mmohsen
Wed, 06/12/2019 - 04:48
Permalink
Solved!
I just noticed that my S3 bucket CORS confugration wasn't set to allow GET.
Your guidance to checking console error opened up the solution
Thanks!
BV52
Thu, 06/13/2019 - 04:28
Permalink
Hi mmohsen,I'm glad it is
Hi mmohsen,
I'm glad it is working now. If in case you encounter any issues in the future not just with H5P checking the console usually gives the best clue ;-)
-BV52