Video format not supported

Hello,

So I created a few interactive contents, in my case Image Hotspots that would load a video in mp4 format hosted at amazon.
This was working fine until a couple of days, what I get now is "Video format not supported" as you can see in this screenshot.

Is there a way to fix this? We're starting to use this on our moodle courses this week.

Best regards

Victor

Hi,

I have the same error for all my mp4 videos. Any idea how this should be fixed?

Thank you.

Andreas

 

BV52's picture

Hi Andreas,

I would suggest that you also provide the same information below since you may see the same error message but the situation is a bit different. If you can also provide a sample file so that we can test it as well.

-BV52

 

BV52's picture

Hi Victor,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV52

It's happening from the H5P website itself, where I created the content. I used iframe to put on our moodle. screenshot

I tested with chrome and firefox and it's the same result.

It didn't gave me any kind of error.

As I said it was working fine, I think it stopped working on 2/11.

What else can I do?

Thanks

PS: I tried to inspect and on console I got this errors screenshot , what does it mean?

BV52's picture

Hi deaconpt,

There are 2 warning/error messages that gives us an idea on the issue.

First the "mixed content" message points to a combination of an secured site (HTTPS) and unsecured site (HTTP). Browsers will not allow this to happen. Since H5P.org is a secured site it will not allow a video embeded coming from an unsecured site.

Second the "Access-Control-Allow-Origin" message points to the server hosting the video does not allow embedding not unless the site you are embedding is allowed by the host.

Having said this there might be some changes in past couple of days in Amazon's policy regarding embedding their videos as well as how they host them. I would suggest that you contact them for further assistance.

You also mentioned earlier that you are going to use these contents in Moodle courses. You can use the plugin for Moodle and created the contents there as well as host the videos yourself.

-BV52

Thank you very much for that reply. It helped a lot. It was really necessary to make a change on CORS configuration on my Amazon S3 bucket. Now it works well.

About moodle, indeed I installed the plugin. But for some reason what I wanted to do, doesn't look well.

I wanted to use the image hotspot content inside a label. I embed the content on a moodle label, but for some reason it's using the moodle background. But doing the same  thing but with content created here at h5p.org it doesn't use the moodle background, it's transparent.

screenshot using the plugin on moodle.

Thank you

BV52's picture

Hi deaconpt,

I'm glad it's working now.

I'm not really sure what causes the background when embedding directly from Moodle. I'll check this on my side and get back to you once I have something conclusive.

-BV52

I am also using S3 bucket and have the same struggle. How do you edit the CORS configuration? can you please email me via: minhduc.xd.93@gmail.com because I may not receive any notification of your reply. Thank you very much

I am also using S3 bucket and have the same struggle. How do you edit the CORS configuration? can you please email me via: minhduc.xd.93@gmail.com because I may not receive any notification of your reply. Thank you very much

Hi,

I am using h5p through wordpress based CMS. In case of interactive videos , after recent update video .Mp4 files with cloudfront link is not working it's showing with "video format not supported"  but same files working when I am uploading it through interactive video module to may main application server.

BV52's picture

Hi ruds4u,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV52

Hello,

we have the same problem with our vimp video platform. If I try to link video in my interaktive video presentation, the error "Format is not supported" occurs.

  1. Creating new content (interactive video), putting url in the link field (Video :https://vimp.oth-regensburg.de/getMedium/84d4e31860f298c738965dfbce033d1...)
  2. Wordpress
  3. Desktop
  4. Firefox
  5.  1.20.4
  6. Interactive video
  7. No
  8. No
  9. Screenshots if it's a visual problem

Can you please help me?

BV52's picture

 

Hi ydolgano,

I tried using the link you provided and it works here: https://h5p.org/node/463268. Can you please double check if you haveany errors in the browser console.

-BV52

richard@tpv.com's picture

Hi BV52,

I am having a similiar "Video Format" issue. All of a sudden H5P doesn't like my vids out of my digital ocean - cloud. btw - I clicked the link above but its says "Video Format..." same thing I get. 

BV52's picture

Hi Richard,

Could you check if you have any errors in the browser console. This provides more details on what the is causing the issue. The issue with ydolgano may be caused by something different since it is very erratic I checked it this morning and I saw the error but it is working now prior to me answering your post.

-BV52 

Thank you. 

We have recently experienced issues with H5P videos playing in Moodle and after thorough testing, investigation and consulting with our vendor Catalyst, it has been identified as a bug in Moodle. A tracker has been registered and Moodle will fix it to resolve the issues. Please vote for this tracker so we can escalate the urgency: https://tracker.moodle.org/browse/CONTRIB-7870. Cheers! Nora