[MAGNOLIA-4079] Serving of file types (especially video files) whose MIME type is not set up Created: 20/Dec/11 Updated: 05/Jan/16 Resolved: 05/Jan/16 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.5 |
| Fix Version/s: | 4.5.x |
| Type: | Bug | Priority: | Major |
| Reporter: | Natascha Desmarais | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | dms, stream, video | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
While testing the video player implementation for multiple files I also happened to test a .webm file. There is no MIME type defined in the server config yet, so the change introduced in r52901, r52900 and r52475 will return the default MIME type 'application/octet-stream'. While this might be good for some cases, it also has a major downside: when trying to acces the file directly in my browser (Chrome16.0.9 and FF7.0.1 in this case) it printed out its content instead of playing the file. Maybe it would be better to drop this default MIME type for serving from dms and rather make them downloadable. The downside to this is that new formats won't be viewable unless we provide the MIME type server config as well. Maybe make it depend on the size as well: if unknown and size is smaller than 3MBs (just as an example), then use the default mime type, else propose the file as download. |
| Comments |
| Comment by Michael Mühlebach [ 05/Jan/16 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |