The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to add Music to only one Thread/Topic

View previous topic View next topic Go down

Solved How to add Music to only one Thread/Topic

Post by Ryuku on 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
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™ on 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.

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

Regards,
Sir Chivas.

Sir Chivas™
Support Moderator
Support Moderator

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

Back to top Go down

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

Post by Ryuku on 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
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 on 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>

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
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 on 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
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 on November 3rd 2013, 6:15 am

Topic Solved & Archived.

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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