Video format not supported

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's picture

Hi mmohsen,

Please check if you have errors in the browser console.

-BV52

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.

 

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's picture

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