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.
The forum of the forums
4 posters

    How to add Music to only one Thread/Topic

    Ryuku
    Ryuku
    Forumember


    Male Posts : 165
    Reputation : 14
    Language : English

    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?
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


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

    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.
    Ryuku
    Ryuku
    Forumember


    Male Posts : 165
    Reputation : 14
    Language : English

    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">
    avatar
    runawayhorses
    Hyperactive


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

    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>
    Ryuku
    Ryuku
    Forumember


    Male Posts : 165
    Reputation : 14
    Language : English

    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
    Sanket
    Sanket
    ForumGuru


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

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

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

    Topic Solved & Archived.

      Current date/time is September 22nd 2024, 5:32 pm