#95 Add new MIME type

Legacy
closed-fixed
HIKAWA Kilica
5
2011-12-18
2011-07-04
Yoshi Sakai
No

I try to new MIME as MP4 movie. but core doesn't support as ext to MIME convert.
Don't you add MP4 MIMETYPE

Discussion

  • Yoshi Sakai
    Yoshi Sakai
    2011-07-04

    /html/class/mimetypes.inc.php

     
    Attachments
  • Yoshi Sakai
    Yoshi Sakai
    2011-07-04

    Attached file were just added 2 lines below.

    "m4v" => "video/x-m4v", // bluemoon
    "mp4" => "video/mp4", // bluemoon

     
  • HIKAWA Kilica
    HIKAWA Kilica
    2011-09-22

    • milestone: 566844 -->
    • labels: 815522 -->
    • status: open --> pending-remind
     
  • HIKAWA Kilica
    HIKAWA Kilica
    2011-09-22

    How did you try to upload the file ?
    Core and base(legacy) don't have the function to upload misc file.
    Only avatar and user batch upload is the exception.

     
  • HIKAWA Kilica
    HIKAWA Kilica
    2011-09-22

    • labels: --> 2.2.0 Enhancement
    • milestone: --> Legacy
    • assigned_to: nobody --> kilica
    • status: pending-remind --> pending-fixed
     
  • HIKAWA Kilica
    HIKAWA Kilica
    2011-09-22

    I see your request !

     
  • Yoshi Sakai
    Yoshi Sakai
    2011-09-22

    There is using on xSNS module, but source is core.

    $ext_to_mime = include(XOOPS_ROOT_PATH.'/class/mimetypes.inc.php');

     
  • Yoshi Sakai
    Yoshi Sakai
    2011-09-22

    • status: pending-fixed --> open-fixed
     
  • HIKAWA Kilica
    HIKAWA Kilica
    2011-10-14

    • status: open-fixed --> pending-fixed
     
  • HIKAWA Kilica
    HIKAWA Kilica
    2011-12-18

    • status: pending-fixed --> closed-fixed