Results 1 to 2 of 2

Thread: How To Get MusicPlayer Working

  1. #1

    How To Get MusicPlayer Working

    The API documentation says:

    Music Player
    MusicPlayer, a static global class, is the in-game music player. It allows you to control the music player in the same way that the in-game music player user interface does.
    and

    setCurrentAudioclip(...)
    .Sets the audioclip to be loaded.

    setCurrentAudioclip(parameters)

    parameters: A Table containing the audioclip parameters.
    parameters.url: Url for the new audioclip.
    parameters.title: Title for the new audioclip.

    --Example Usage
    parameters =
    {
    url="SOME URL HERE",
    title="SOME TITLE HERE"
    }
    MusicPlayer.setCurrentAudioclip(parameters)
    I'm trying to get this to work but I keep getting a error indicating that I am working with a nil object. It is as if MusicPlayer is not recognized. I even tried adding the MP3 Player object, getting its GUID and setting MusicPlayer to the object based on that GUID...but still got the same problem.

    What am I missing? (Yes, I did replace URL with an actual URL)

  2. #2
    Its working now. It looks like the documentation was updated before the update to include MusicPlayer was pushed. Now that I downloaded the latest update, MusicPlayer is accessible.

    The only problem is that I can't seem to clear the Music Player. I entered an invalid URL and now it remembers that (even between games) until replaced with a valid URL. Isn't there some way to clear the URL?

Similar Threads

  1. [SUPPORT] Mic NOT working in TBT sim
    By Lightoflol in forum Technical Support
    Replies: 1
    Last Post: 08-03-2018, 03:38 PM
  2. [SUPPORT] Mic not working
    By gedim in forum Technical Support
    Replies: 2
    Last Post: 07-24-2018, 01:29 PM
  3. [SUPPORT] TTS Man O' War 7.1 not working
    By Coonpuff in forum Technical Support
    Replies: 0
    Last Post: 07-04-2018, 09:09 PM
  4. [Suggestion] Tablet copy.com Musicplayer support
    By cgg1 in forum General Discussion
    Replies: 2
    Last Post: 05-25-2015, 01:05 PM
  5. [SOLVED] Microphone not working
    By halogen in forum Technical Support
    Replies: 2
    Last Post: 04-21-2014, 02:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •