facebook

MobiOne 2.5 Dev 10???

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #340212 Reply

    Brandon
    Member

    So I downloaded the dev 10 and am seeing if the audio will now work for my project. But I dont know this line:
    phoneui.activeAudioPlayer([nodeId])

    Is the nodeId the player id?

    #340214

    Hi CincyPlanet,

    The nodeId is almost the same selector that you had to use in with previous versions to access to jPlayer API:

    Previous

    $(“#m1-audio_player-audio3-player“).jPlayer(“setMedia”, { mp3: “http://205.188.215.229:8010/” });

    ]Current

    phoneui.activeAudioPlayer(“#m1-audio_player-audio3-container“).jPlayer(“setMedia”, { mp3:”http://205.188.215.229:8010/” });

    I can’t tell you why this was changed, I’ll ping team and will let you know. I suggest you to use a var to save the nodeId in case that codegen is modified in production release and the nodeId goes back to be named: #m1-<screenName>-<audioID>-player.

    Hope this is helpful.

    #340219

    Brandon
    Member

    Octavio,

    Thanks. Yes, I am using a var now for it also so it should be a fairly easy transition.
    (Until I update my older app…)

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: MobiOne 2.5 Dev 10???

You must be logged in to post in the forum log in