Problem with windows wmv files having filetype video/x-ms-asf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon |
Bug Description
Sometimes windows files that have the wmv (or wma) extension are being saved in the artefact_file_files table as mimetype video/x-ms-asf rather than video/x-ms-wmv (or audio/x-ms-wma).
This means you can't add them to a video (or audio) block.
Also for some reason, which I'm yet to work out, sites can have data where a wmv video with mimetype video/x-ms-asf is connected to an internalmedia block.
I'm not sure if they had the correct mimetype of video/x-ms-wmv in the past and somehow the mimetype changed or whether the mahara system allowed them to connect files with mimetype video/x-ms-asf.
But as there can be bad existing data on a site it needs to be fixed up pretty soon so that more bad data is created.
Looking at a myportfolio site there were 11,200 internal media blocks and 2,500 of them had a connection to a wmv file that had video/x-ms-asf as the mimetype (about 1/5th)
So it seems to be more than an isolated incidence.
Changed in mahara: | |
assignee: | nobody → Robert Lyon (robertl-9) |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
According to http:// en.wikipedia. org/wiki/ Advanced_ Systems_ Format, video/x-ms-asf is a correct mime type for both .wma and .wmv files