joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

Use the right mime type in the the media field

Open dgrammatiko opened this issue 2 years ago • 3 comments

Pull Request for Issue #38333 .

Summary of Changes

The preview might get the wrong mime type in some cases.

Testing Instructions

  • Edit the file administrator/components/com_content/forms/article.xml and add types="images,audios,videos,documents" after https://github.com/joomla/joomla-cms/blob/7cf5e1228db337881d7678ad1c71915d5c885150/administrator/components/com_content/forms/article.xml#L752
  • Try to upload and select different type of media, especially video, audio and document (eg, mp3, mp4, mov, pdf, doc, docx, etc)

Actual result BEFORE applying this Pull Request

No preview in some cases

Expected result AFTER applying this Pull Request

Preview is ok

Documentation Changes Required

No

dgrammatiko avatar Aug 08 '22 18:08 dgrammatiko

I have tested this item :white_check_mark: successfully on abd4aca766a4e5ac61b39d8776a90d669ee9472f

Thank you!!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38425.

crystalenka avatar Aug 09 '22 07:08 crystalenka

I have tested this item :white_check_mark: successfully on abd4aca766a4e5ac61b39d8776a90d669ee9472f


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38425.

viocassel avatar Aug 09 '22 07:08 viocassel

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38425.

alikon avatar Aug 09 '22 08:08 alikon

Thanks!

wilsonge avatar Sep 05 '22 12:09 wilsonge