mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #15211
[Bug 1045292] Re: Not alllowed to embed internal video/avi files
The problem here is the default mimetype for .avi -> video/x-msvideo is
not been adhered to by the browser that is uploading the file.
This most likely is a result of this bug 1249858
where the correct mimetype is not 'sniffed out' properly and so relies on what the browser tells it.
This can be slightly wrong, like: video/avi or can be completely wrong, like: image/jpeg
It all depends where a user has been with their browser and what has
been added to the mimetypes the browser understands.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1045292
Title:
Not alllowed to embed internal video/avi files
Status in Mahara ePortfolio:
Triaged
Bug description:
In our organisation we noticed that with the AVI option checked on the
'Plugin administration: blocktype: file/internalmedia' screen, it was
still not possible to embed AVI files. (Ubuntu 12.04.1 x86_64 with
Mahara 1.5.2).
I traced the source back to the artefact/file/filetypes.xml file which is missing the mimetype 'video/avi' for the AVI extension.
Adding this line and manually to the artefact_file_mime_types postgres database table fixes the issue.
I've enclosed a unified diff so that it can be processed into the next
Mahara update.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1045292/+subscriptions
References