Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29857

Unable to upload audio to Media field type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3, 2.5.0-beta1, 2.4.2
    • Component/s: None
    • Labels:

      Description

      The Media field type allows setting media type to HTML5 Audio. When set to audio I would expect to be able to upload audio files such as MP3.

      Currently the accepted MIME type is hard coded to be video/*, where as when the media type is set to HTML5 audio, it should be audio/*.

      Steps to reproduce:

      1. Edit content type
      2. Add Media field
      3. Set Media field type to "HTML5 Audio"
      4. Create or edit an object with said content type
      5. Try uploading an MP3 file to field
      6. MP3 will not be accepted

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jani.tarvainen@ez.no Jani Tarvainen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: