Commit 29bea4a9 authored by 李维's avatar 李维

测试 强制使用原视频

parent ac2b4b3e
...@@ -601,10 +601,14 @@ cc.Class({ ...@@ -601,10 +601,14 @@ cc.Class({
}, },
getVideoUrl(callback) { getVideoUrl(callback) {
const url1 = this.data.video_url; const url1 = this.data.video_url;
const url2 = url1.replace(/.mp4$/g, "_l.mp4");
// 强制使用原视频
callback(url1);
return
// ==== End ===
const url2 = url1.replace(/.mp4$/g, "_l.mp4");
this.httpHeadCall(url2, (success) => { this.httpHeadCall(url2, (success) => {
if (success) { if (success) {
console.log('return url2: ', url2); console.log('return url2: ', url2);
callback(url2); callback(url2);
......
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