facebook

setMedia not work on chrome and iOS: CLOSED

💡
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
  • #344047 Reply

    Muhammad
    Member

    I use setMedia call to play mp3 file, get error on chrome and iOS(iphone), but run well on Mobione test center.
    I read this document to make code.

    https://docs.google.com/document/d/1PSkh9PhU6RRGuJoOIb0kBnzS0KR2hO-BJjb6TkhZycQ/edit#

    var aw1 = AudioPlayerWidget.fromWidget('m1-aw-test-audio1'); 
    aw1.setMedia('http://full_url.mp3') 

    Can you check it, please?

    See attachment Image 2.png

    Attachments:
    You must be logged in to view attached files.
    #344060

    support-michael
    Keymaster

    See my follow to your related audio player question here
    The issue in your example is the wrong dom element was selected. Note I updated this document today, especially section 2 for how to look up the audio player’s container element.

    #344103

    Muhammad
    Member

    Thank you for your help.
    I solved this issue.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: setMedia not work on chrome and iOS: CLOSED

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