Interactive Video: Video format not supported on Iphone device

Hello,

A student gets the message: Video format not supported on Interactive videos:

Moodle 3.9.2 (Build: 20200914) Estructura H5P v1.24 (h5plib_v124)

Mobile - Safari/Chrome any browser on IPhone devices

What can be done to fix this? All of courses heavily rely on interactive videos, thanks in advance.

Content types: 
otacke's picture

Hi!

H5P is technically not playing the video, but the browser is. If you're using a video format (codec) that iOS doesn't support (for instance support for webm was added only recently and may not be available on all iOS versions), then Interactive Video cannot play this either. This is the most likely cause if the video plays fine on other devices.

Best,

Oliver 

Is there a fix for the iOS issue? is it because the video is based on webm? I had to use webm because mp4 was not working with h5p. 

otacke's picture

Yes, older versions of Safari do not support webm, cmp. https://caniuse.com/video,ogv,webm,mpeg4 and it is well possible that one browser supports a special codec that another one does not.

H5P is not supporting or rejecting any particular video format. H5P itself does not decode anything, it just passes the data to the browser. If a video format does not work, it's the browser that cannot handle it. There is nothing that H5P can do here.

 

This isn't an old version though; I'm using the latest ios chrome and safari and the video still doesn't load on either, hence I was asking if there is one known to work? I also get file type not allowed when I try to upload the video as mp4 (Even using the non-capitalised title). 

BV52's picture

Hi Wenaz,

Please avoid cross posting the forums to avoid conflicting or incomplete answers from the community. Luckily it was Oliver who answered and 99.99% of the time he is on point. ;-)

To recap the your other post you mentioned:

Hi team,

Do we have a way to make interactive videos work with modern mobile browsers? Including current versions of safari and chrome.

Or is there a specific browser we ask our content consumers to use?

Kind regards,

Hi Wenaz,

H5P content types including Interactive Video are designed and tested using the most recent versions of major browsers and this includes Safari and Chrome. It would help if you can provide more details if you are having any issues. The information requested in the bugs forum can guide you on which information may help to diagnose the issue.

-BV

Hello BV52, it seems the issue is isolated to interactive videos when using an iOS device (both chrome and safari). The same video works well on android, laptop and desktop. I used webm as the base for the video because H5P wouldn't accept .mp4, and there's a suggestion on the forum that webm may be the issue.

Firstly since we do not have a copy of your video file in .mp4 we cannot really know why you cannot upload it but I can tell you that H5P allows you to use .mp4 videos. The sample content in fact uses both an webm and a .mp4 files. As Oliver mentioned H5P does not do anything special to the videos you upload it is the browser that cannot play the video. If you see any issues with the video, the most probable reason is that it is not optimized for the web. If you have created this video, you should check what options you have when creating the video file. Maybe there are some options to web optimize it?  If not, you could try using a video editor/optimizer which usually have options for web optimized video.

-BV