Search…

X3 Photo Gallery Support Forums

Search…
 
soltanirad
Topic Author
Posts: 4
Joined: 04 Jan 2019, 12:28

X3 Audio plugin not working in Xiaomi devices

10 Jan 2019, 05:16

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 11646
Joined: 30 Sep 2006, 03:37

Re: X3 Audio plugin not working in Xiaomi devices

10 Jan 2019, 06:34

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()".
 
soltanirad
Topic Author
Posts: 4
Joined: 04 Jan 2019, 12:28

Re: X3 Audio plugin not working in Xiaomi devices

10 Jan 2019, 16:12

>>"disable for small mobile devices"?

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