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 October 31st 2013, 9:56 pm

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

View user profile http://shinehq.heavenforum.com

Back to top Go down

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

Post by Sir Chivas™ November 1st 2013, 4:49 am

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 : 6825
Reputation : 434
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

View user profile

Back to top Go down

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

Post by Ryuku November 2nd 2013, 6:49 pm

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

View user profile http://shinehq.heavenforum.com

Back to top Go down

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

Post by runawayhorses November 2nd 2013, 7:08 pm

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

View user profile http://runawayhorses.alldiscussion.net/

Back to top Go down

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

Post by Ryuku November 3rd 2013, 6:13 am

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

View user profile http://shinehq.heavenforum.com

Back to top Go down

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

Post by Sanket November 3rd 2013, 6:15 am

Topic Solved & Archived.
Sanket
Sanket
ForumGuru

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

View user profile

Back to top Go down

Back to top

- Similar topics

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