Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
MP3 players
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2015 - 7:37 am

Hi All,

In posts embedding mp3s give the default player:

player.pngImage Enlarger

Can we get this in the forum?

 

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 31, 2015 - 8:04 am

If WordPress performs this task through it's oEmbed API then it should be exactly the same in the forum post. So the question is how are you structuring the post content for this?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 10:27 am

Sorry for delay forgot to subscribe to topic.

Pasting this in the source box:

Edit - I can't paste the shortcodes no matter which syntax I choose but it is the ones from that page

(square barcket) audio src=" http://www.landlordreferencing.....ration.mp3" autoplay="true"(square bracket)  (square bracket)/audio(square bracket)

 

This works in a page but not in the forum?

Got the code from here:

https://codex.wordpress.org/Au....._Shortcode

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 7, 2015 - 11:34 am

You can use shortcodes in forum posts but you do need to turn them on in the forum admin > Options > Content Settings. When you load the form use the popup help which explains what you need to do

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 11:46 am

Hey Kenn,

I'm not sure why you are using 'square brackets', Try:

<p><audio controls="controls">
<source src="http://www.landlordreferencing.co.uk/forum/files/2015/03/radio-advert-Immigration.mp3" type="audio/mp3" />
<source src="http://www.landlordreferencing.co.uk/forum/files/2015/03/radio-advert-Immigration.mp3" type="audio/ogg" />
<!--fallback-->
Your browser does not support the audio tag.</audio></p>

Which seems to work fine - Of course you should also be able to upload files through the media library or forum upload and copy the location to use instead of a URL

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 1:40 pm

strange, but when I hover over the thread title in recent forum posts, the media player you just posted shows in the preview pop up, is that normal? Never seen that before

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 2:39 pm

Weird - I am not seeing that, could it have been only when the last post was the one containing the mp3 player? Does it do the same now?

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 2:42 pm

yeah, just when that last post was the one, doesn't show now

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 2:48 pm

Glad it's not just me then 🙂 maybe WP does it in archive or category list view without excerpt, so you can easily identify a post with an mp3 attached? Not sure..

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 7, 2015 - 2:48 pm

Because it was a art of the content in the tooltip.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626