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

    Playing sound in topic

    Nikke
    Nikke
    New Member


    Female Posts : 3
    Reputation : 1
    Language : Polish, English
    Location : Germany

    Solved Playing sound in topic

    Post by Nikke January 8th 2018, 9:14 pm

    Hello. I was wondering if it's possible to add script that'll be playing sound in certain topic, when someone enters it. I know that's possible for home page, but for topic? Please help.


    Last edited by Nikke on January 10th 2018, 7:15 am; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Playing sound in topic

    Post by SLGray January 8th 2018, 10:12 pm

    Well, you can add a music video from Youtube in the first post of a topic and have that first post appear in each page of the topic.



    Playing sound in topic Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SarkZKalie
    SarkZKalie
    Support Moderator
    Support Moderator


    Male Posts : 1442
    Reputation : 220
    Language : English

    Solved Re: Playing sound in topic

    Post by SarkZKalie January 9th 2018, 8:27 am

    Enable HTML in forum's post then insert this one to any topic you want.
    Code:
    <audio controls autoplay style="width:0">
      <source src="directlink.mp3" type="audio/mpeg">
    </audio>
    Upload your musisc to any hosting i.e Vocaroo. Get and replace a direct link to my directlink.mp3
    Nikke
    Nikke
    New Member


    Female Posts : 3
    Reputation : 1
    Language : Polish, English
    Location : Germany

    Solved Re: Playing sound in topic

    Post by Nikke January 10th 2018, 5:02 am

    Thank you for the script, it's working, but when I post topic, html disables automatically. It's working in preview, but after posting a topic, like I said, html is not working, even when I edit topic, and enable html again, after topic update it's disabled and looks like this:
    Playing sound in topic RmS7K1J
    Can this be modified in admin panel?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Playing sound in topic

    Post by SLGray January 10th 2018, 6:08 am

    You have to set it in 2 places:  AP and profile.

    https://help.forumotion.com/t35636-enabling-html?highlight=html



    Playing sound in topic Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Nikke
    Nikke
    New Member


    Female Posts : 3
    Reputation : 1
    Language : Polish, English
    Location : Germany

    Solved Re: Playing sound in topic

    Post by Nikke January 10th 2018, 7:14 am

    Thank you so much, it now worked Very Happy Topic solved Very Happy
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: Playing sound in topic

    Post by Draxion January 10th 2018, 9:46 am

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules

      Current date/time is September 23rd 2024, 7:27 am