The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to add Music to only one Thread/Topic

4 posters

Go down

Solved How to add Music to only one Thread/Topic

Post by Ryuku Thu 31 Oct - 21:56

Hi,

Is it possible to add music to a particular thread, that would auto play when you click on it? The tutorials in the tips/tricks appear to be for adding music to the forum as a whole, and requires me to put the code into a forum widget. Is there something that I can simply add to the first post of a thread?
Ryuku
Ryuku
Forumember

Male Posts : 165
Reputation : 14
Language : English

http://shinehq.heavenforum.com

Back to top Go down

Solved Re: How to add Music to only one Thread/Topic

Post by Sir Chivas™ Fri 1 Nov - 4:49

Hi,

The codes are HTML, you can activate HTML for the forum and let everyone know to activate HTML through their profiles. After that, you can post the code used for the whole board itself, but just post it within the first post. If this doesn't work, I'll try to find something closer to what you're looking for.

> https://help.forumotion.com/t35636-enabling-html

Regards,
Sir Chivas.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: How to add Music to only one Thread/Topic

Post by Ryuku Sat 2 Nov - 18:49

Thank you for the response Sir Chavas. I actually have had HTML enabled on my forum prior to posting this.

I've tried pasting the seamless music player code but it doesn't display correctly. The mixpod service is no longer available, and I don't quite understand how to add background music locally.

I've used this code, replacing MUSIC FILE with the path location of the music file, and nothing happens.

Code:
<embed src="MUSIC FILE" autostart="true" loop="true">
Ryuku
Ryuku
Forumember

Male Posts : 165
Reputation : 14
Language : English

http://shinehq.heavenforum.com

Back to top Go down

Solved Re: How to add Music to only one Thread/Topic

Post by runawayhorses Sat 2 Nov - 19:08

You can use HTML 5 audio codes to play music, just add an mp3 file and a ogg file format to the code below so all browsers can hear it. If you have one file format already just upload and convert it here:

http://www.online-convert.com/



Code:
<audio autoplay>
      <source src="URL OF OGG GOES HERE" type="audio/ogg">
      <source src="URL OF MP3 GOES HERE" type="audio/mpeg">
    </audio>
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: How to add Music to only one Thread/Topic

Post by Ryuku Sun 3 Nov - 6:13

I tried the above with no success, but I've discovered a work around. I just embedded a youtube video, added an ?autoplay=1 after the video URL and set the height to 0 to hide it.

Thank you for the help, I'm all set now Smile
Ryuku
Ryuku
Forumember

Male Posts : 165
Reputation : 14
Language : English

http://shinehq.heavenforum.com

Back to top Go down

Solved Re: How to add Music to only one Thread/Topic

Post by Sanket Sun 3 Nov - 6:15

Topic Solved & Archived.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum