This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

hambern
hambern

Trying to upload an audiofile using the following:

    audio:
        label: Sound file
        type: fileupload
        mode: audio
        span: right
        fileTypes: mp3,ogg,wav
        useCaption: true

But it's simply not possible. And if I remove mode: audio it thinks that my mp3 file is an image.

So what to do here?

Med vänlig hälsning, Mattias

Last updated

hambern
hambern

Solved it, Sorry...

audio:
    label: Sound file
    type: fileupload
    mode: file
    span: right
    fileTypes: mp3,ogg,wav
    useCaption: true

does the trick

taha.azzabi14703
taha.azzabi14703

hello

i think you sloud use the widget "Media finder" , Exemple :


record_voice:
            label: 'Media finder'
            oc.commentPosition: ''
            mode: file
            span: auto
            type: mediafinder
            tab: Profil

Last updated

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.