1 create a media field
2 try to upload an mp3
display a audio player with mp3
we can't upload an mp3
but we didn't have restriction media is more large than an image ?
Labels |
Added:
No Code Attached Yet
|
i try to find option in field administration but nothing
you recommanded to override a core file ... ?
thanks for your reply @dgrammatiko
i try to find option in field administration but nothing
This is controlled from the developer. If they choose to use only the images then ask them to change their code.
BTW is this about custom fields?
is for display an audio file (mp3) with player
it can be so simple with a media field ?
Custom field Media afaik is not updated yet to support the other types
dommage !
If this is your request here then change the title to [Request] Custom Field Media support for docs,audios,videos
@bembelimen this should be fixed in 4.1, it's an easy one: add one more field (as multiple select) for type
and in the layout some code to switch between 4 different types (images,docs,audios,videos).
Title |
|
i have here a custom field for other media files. https://github.com/LukasHH/plg_field_file
We have just discovered that this no longer works with the update to version 4.0.5.
The same applies to the Media field when it is in an XML form. The types specification is ignored.
Otherwise, it can be included in the core if desired.
Ahh dommage i realy think that a media field need to be use for media not only for field lol
The media field is part of accessiblemedia. In 4.0, types (comma separated types of files for Media Manager) was added. I use the field for the custom field.
Since the specification of types is ignored, I will open an Issiu for it.
No Stop ignore my 2 last comments.
The error is in front of the screen.
I had installed the JCE editor and its media manager replaced the one from Joomla core. If I switch off the one used by the core, then everything works.
Yeah JCE is replacing both the media field and the media manager, which probably is not what most people should expect for Joomla 4...
This was in a local test installation and had no particular reason. Yesterday I was approached by someone that it wasn't working for them. That's the reason we came up with it. Today I found out that the JCE setting is causing it.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-02-26 14:59:12 |
Closed_By | ⇒ | QuyTon | |
Labels |
Added:
Feature
Removed: ? |
It works for the other types, you need to add in the xml something like
type=“docs,audios,videos,images”
iirc