Extension talk:MP3MediaHandler

About this board

Provide a usage example

5
Kghbln (talkcontribs)

I cannot get this extension to work. These approaches for an uploaded .mp3-file fail for recent Firefox:

<audio>[[Media:Poloroid - So damn beautiful.mp3]]</audio>

<audio>[[File:Poloroid - So damn beautiful.mp3]]</audio>

<audio>Poloroid - So damn beautiful.mp3</audio>

Special:Version does not show "audio" as a usable tag so this is probably the reason why the tag is not working. I have no clue how to embed the file. Any hint and tip appreciated.

37.152.251.226 (talkcontribs)

Same here. An example of usage wouldn't hurt, really.

Rob Kam (talkcontribs)

I got it to work with e.g. [[File:Poloroid - So damn beautiful.mp3]]. Leave out the audio tags.

Yadasampati (talkcontribs)

When i try this i see no mp3 audio player, but just a clickable link

Kghbln (talkcontribs)

Cool, thanks a lot. After reading the docu it also makes sense not to use a tag.

Reply to "Provide a usage example"

Any way to load external mp3 resources?

1
213.195.99.217 (talkcontribs)

Hi, is this posibble? Thanks

Reply to "Any way to load external mp3 resources?"

Does not work in MW 1.27.1

2
24pm (talkcontribs)
Oetterer (talkcontribs)

For me it was a wrong mime type in the mediahandler section of extension.json. What works for me is:

    "MediaHandlers": {
        "audio/mpeg": "MP3MediaHandler"
    },
Reply to "Does not work in MW 1.27.1"
There are no older topics