Jump to content

Extension talk:SoundManager2Button

About this board

The media file has the same link as the page

4
46.59.247.167 (talkcontribs)

The installation seems pretty easy (only the require_once), but something is really wrong here.

I used the sm2-Tag but playbutton doesn't have the link of the media. It is always linked to the same page it is on.

What am I missing?

NilsTycho (talkcontribs)

The generated HTML is supposed to look like this: <a href="https://example.com/foo.mp3" title="Play" class="sm2_button">Play</a>. Is that how it looks?

104.3.78.9 (talkcontribs)

I have the same problem. Generated HTML is not inserted into the page.

NilsTycho (talkcontribs)

Is it a public wiki? If so, could you link me the page?

Reply to "The media file has the same link as the page"

"soundManager is not defined" JS error

2
Pcj (talkcontribs)

Hello,

I'm getting a "soundManager is not defined" JS error (on the line with the "soundManager.setup" call) when the page loads. When I click the relevant buttons on the page it loads the sound directly in the browser, instead of playing it on the page.

Is there some configuration setting that has been missed or any other way to fix this?

NilsTycho (talkcontribs)

Sorry, there was a bug in that version. (An unterminated comment in an upstream script.) I've fixed it.

Reply to ""soundManager is not defined" JS error"

Marking files linked through sm2 as used

3
178.2.47.9 (talkcontribs)

Is there any way of marking files used through the sm2 tags as used? And if not is that something that could be added to the extension?

NilsTycho (talkcontribs)

That would be a great feature, but I don't know how to implement it.

84.57.215.24 (talkcontribs)

I haven't worked with mediawiki extensions, but from what I can see, you'd have to write to the imagelinks table.

Reply to "Marking files linked through sm2 as used"

Can anyone please update the plyaer to newest version?

2
Deletedaccount4567435 (talkcontribs)
NilsTycho (talkcontribs)

Done.

Reply to "Can anyone please update the plyaer to newest version?"
There are no older topics