Commit 5837f8f9 authored by youjie's avatar youjie

no message

parent 90253a9c
......@@ -133,17 +133,17 @@
}
},
play(Src) {
let arr = Src.split(" "); //按空格分段
var MySrc='';
arr.map((e) => {
if (e.indexOf("src") != -1) {
let Before = e.split("url=")[0]
if (Before) {
MySrc = decodeURIComponent(Before.slice(4, -1));
}
}
});
MySrc = MySrc + " "+ arr[11]
// let arr = Src.split(" "); //按空格分段
// var MySrc='';
// arr.map((e) => {
// if (e.indexOf("src") != -1) {
// let Before = e.split("url=")[0]
// if (Before) {
// MySrc = decodeURIComponent(Before.slice(4, -1));
// }
// }
// });
// MySrc = MySrc + " "+ arr[11]
if(data.isPlay){
innerAudioContext.pause();
data.isPlay=false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment