← Back to team overview

mahara-contributors team mailing list archive

[Bug 1220639] Re: mp4 file has wrong icon

 

The patch I made should be checking for (at least) these mime types for
video and giving them a video icon on upload.

    [video/x-msvideo] => stdClass Object
        (
            [description] => avi
            [mimetype] => video/x-msvideo
        )

    [video/quicktime] => stdClass Object
        (
            [description] => quicktime
            [mimetype] => video/quicktime
        )

    [video/x-sgi-movie] => stdClass Object
        (
            [description] => sgi_movie
            [mimetype] => video/x-sgi-movie
        )

    [video/mpeg] => stdClass Object
        (
            [description] => mpeg
            [mimetype] => video/mpeg
        )

    [video/mp4] => stdClass Object
        (
            [description] => mp4_video
            [mimetype] => video/mp4
        )

    [video/x-ms-wmv] => stdClass Object
        (
            [description] => wmv
            [mimetype] => video/x-ms-wmv
        )

    [application/x-flash-video] => stdClass Object
        (
            [description] => flv
            [mimetype] => application/x-flash-video
        )

    [video/flv] => stdClass Object
        (
            [description] => flv
            [mimetype] => video/flv
        )

    [video/x-flv] => stdClass Object
        (
            [description] => flv
            [mimetype] => video/x-flv
        )

-- 
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/1220639

Title:
  mp4 file has wrong icon

Status in Mahara ePortfolio:
  In Progress

Bug description:
  On master (1.8.0dev) in Firefox:

  When an mp4 file is uploaded, it does not have the media icon of a
  camera, but just the generic document icon. I think the match-up of
  mime type and icon doesn't work properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1220639/+subscriptions


References