Hang summary applet

1) audio playback wx.createInnerAudioContext () in IOS, Chinese name is invalid playback problems

Problem Description: In Apple IOS, containing Chinese audio files can not be played properly, are normally played in Andrews and debugger.

var audio = wx.createInnerAudioContext();
audio.src = "... / Jay .mp3" ;
audio.play();

 

Solution: The Chinese name is encoded

var audio = wx.createInnerAudioContext();
audio.src = the encodeURI ( "... / Jay .mp3") ;
audio.play();

 

2)

Guess you like

Origin www.cnblogs.com/kandyvip/p/11995858.html