WordPress.org

Ready to get started?Download WordPress

Forums

Simple Ajax Chat
[resolved] Sound Help (15 posts)

  1. ozziekto
    Member
    Posted 2 months ago #

    I am trying to change the sound and have deleted my old sound from my WP Media Library and have uploaded my new sound to WP Media Library and have changed the file name to msg.mp3 and the new sound is not playing when I post a chat message. The old sound keeps playing.

    Any ideas?

    https://wordpress.org/plugins/simple-ajax-chat/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    It sounds like the old sound file is cached by the browser. I would try clearing the browser cache and reloading the page.

  3. ozziekto
    Member
    Posted 2 months ago #

    I cleared the cache in Firefox and the file is still the same when I type in my site's url and "/wp-content/plugins/simple-ajax-chat/resources/"

  4. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    It sounds like something may be interfering. What is the full URL to the sound file?

  5. ozziekto
    Member
    Posted 2 months ago #

  6. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    There are several files listed in that directory, which one don't you want?

  7. ozziekto
    Member
    Posted 2 months ago #

    I edited my post, see above.

  8. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    Okay, so then replace that file with the one that you want to use. Also replace the ogg version as a fallback.

  9. ozziekto
    Member
    Posted 2 months ago #

    I have deleted my old sound from my WP Media Library and have uploaded my new sound to WP Media Library and have changed the file name to msg.mp3. You're saying I need to change the ogg file too?

  10. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    First, this plugin has nothing to do with the media library. To change a file literally the only thing you need to do is change the file on the server.

    Also FYI, there are two versions of the same file to provide wider support for various browsers. So, if you change one of the sound files, you should change both.

  11. ozziekto
    Member
    Posted 2 months ago #

    I see now. I was wondering why it wasn't working. I appreciate your patience. Can you tell me how to get on the server again? Thanks Jeff!

  12. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    Get on which server?

  13. ozziekto
    Member
    Posted 2 months ago #

    This one, "To change a file literally the only thing you need to do is change the file on the server."

  14. Jeff Starr
    Member
    Plugin Author

    Posted 2 months ago #

    Seriously? Actually I was referring to your server.. i.e., the same one that you are using to run the plugin.. please tell me you're kidding..

  15. ozziekto
    Member
    Posted 2 months ago #

    Got it! Thanks Jeff :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags