Overview

I encountered an issue where large videos could not be played in Chrome. However, they could be played in Safari.

When I checked with the developer tools, the download was being cancelled.

The viewer part looks like this:

<vsivduierdoceeoc>osnrtcr=o"lhst=t"pcso:n/t/roomlesk"a.parwesl.oladda=s".njopn/ef"ilsetsy/loer=i"gwiindatlh/:c468260fpex4;aeh8edi9g2h6t0:34466758pfxa;1"1bw0idd6tbh2=f"d15050b%0"e6h9e5i.gmhpt4=""1t0y0p%e"=>"video/quicktime"title="undefined">

This HTML was generated by the combination of Omeka S + IIIF Server introduced in the following article.

Cause

Looking at the HTML above, the type is type="video/quicktime", and although the extension is mp4, the actual content is different (a mov file perhaps).

It appears that only the video file extension was changed, and when it was registered in Omeka S, Omeka S specified the type based on the actual content.

This is likely also the reason why it could be played in Safari.

Solution

For example, on Mac, you can convert to mp4 using the following:

brewinstallffmpeg
ffmpeg-iaaa.movaaa.mp4

Summary

I hope this serves as a useful reference when distributing video files with Omeka S and similar platforms.