Page 1 of 1

X3 Audio plugin not working in Xiaomi devices

Posted: 10 Jan 2019, 05:16
by soltanirad
Hello... i have Xiaomi Mi 4 and i can not see Audio player green icon. I checked with Xiaomi Redmi Note 4 and the result is the same. There was no problem with Samsung devices.

Re: X3 Audio plugin not working in Xiaomi devices

Posted: 10 Jan 2019, 06:34
by mjau-mjau
Hi there. What browser is it though? There could only be two reasons for that:
  • Did you uncheck "disable for small mobile devices"? If not, and the screen size of your Xiaomi is not large, the audio player will be disabled.
  • Or the browser + device fails the tests for HTML5 audio:
    Code
    audio.canPlayType('audio/mpeg;')
  • Or perhaps the mp3 files are encoded with an unsupported codec.
There is really nothing in the code, as we just check for HTML5 audio support, and then start an audio object "audio = new Audio()".

Re: X3 Audio plugin not working in Xiaomi devices

Posted: 10 Jan 2019, 16:12
by soltanirad
>>"disable for small mobile devices"?

It was checked. I unchecked it and now everything is ok. Many thanks.