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: [email protected] 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: [email protected] 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

    Hi, I'm having the same problem, but only with safari. I'm disabling the GZIP compression on the server to see if I can find a solution.
  1. Detailed steps to reproduce the bug (exactly how and when did it happen). When I check the contents through Safari, it throws me the message when a video should run.
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle. Moodle 3.6.7
  3. Mobile or Desktop. Desktop
  4. Browser: Chrome, Firefox, Safari etc. Safari
  5. H5P plugin version. 1.20.1
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P. Course Presentation
  7. Any browser console errors. No
  8. Any PHP errors. No
  9. Screenshots if it's a visual problem

https://ibb.co/TK8QMKn

https://ibb.co/sqR8JKw

 

BV52's picture

Hi hreyescl,

Would you mind providing the following:

1. Safari Version

2. Test page so that we can also check.

-BV

Safari 12.1.2 

Test Page, OK, i can see videos.

Hi BV52,

Look, I'll leave you with the mistakes I get on Safari.

 

1. I created a video with mp4 format, uploaded to Vimeo Pro. Tried to embed it in a new H5P interactive video module; it doesn't display, a message in Step 2 (Add Interactions) says 'Video format not supported.'

2. Wordpress 5.3.2, PHP 7.3.

3. Desktop.

4. Same issue in Chrome and Safari.

5. H5P 1.15.0.

6. Interactive video editor, just updated it.

7. "A cookie associated with a cross-site resource at http://vimeo.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`."

8. No PHP errors that I've seen.

10, 11. No recent changes to browser or environment other than routine plugin updates, but I haven't tried to create a new H5P video exercise in a few months, so hard to say.

Older H5P interactive videos on my site from last year, in the same format, still work fine in the browser. Embedding a new video in a new H5P module does not work; embedding an older video (that still works in an existing page) in a new H5P module does not work. 

Would be grateful for any suggestions! Sorry if this is a double post, I created a new topic a day ago but I'm not seeing it in the forum.

BV52's picture

Hi curtford,

Would you mind checking what version of Interactive Video you are using?

-BV

When I check 'Libraries' under H5P content, I see different versions listed, from 1.12.3 to 1.21.7; I guess that's because I have existing exercises made over the last year or two? Libraries 1.12.3 through 1.17.5 are listed as used in a number of contents. The older exercises still work. 1.21.7 is listed as used by 0 contents. When trying to start a new exercise, I'd clicked 'update available' last week so I've assumed I'm trying to use the newest version; 'update available' is not shown now next to "interactive video" in the list of H5P modules after clicking 'Add New.'

Would downgrading to an earlier version be an option?

Exercises using earlier versions are still working; trying to create a new one (using 1.21.7, I guess) gives the unsupported format error message.