Commit 62377d35 authored by liujiaxin's avatar liujiaxin

1

parent 8b3b714e
...@@ -154,7 +154,7 @@ cc.Class({ ...@@ -154,7 +154,7 @@ cc.Class({
this.ProgressBar.node.on(cc.Node.EventType.TOUCH_START, (e) => { this.ProgressBar.node.on(cc.Node.EventType.TOUCH_START, (e) => {
const pos = e.getLocation(); const pos = e.getLocation();
const pPos = this.ProgressBar.node.convertToNodeSpaceAR(pos); const pPos = this.ProgressBar.node.convertToNodeSpaceAR(pos);
newX = Math.min(maxX, Math.max(pPos.x, minX)); const newX = Math.min(maxX, Math.max(pPos.x, minX));
this.updateBarByPos(newX); this.updateBarByPos(newX);
// console.log("ProgressBar TOUCH_START", newX); // console.log("ProgressBar TOUCH_START", newX);
}); });
...@@ -296,7 +296,8 @@ cc.Class({ ...@@ -296,7 +296,8 @@ cc.Class({
}, },
getDefaultData() { getDefaultData() {
// return {video_url: "http://staging-teach.cdn.ireadabc.com/5826aa205a4d33bf65552778b2aaf6f8.mp4"} // return {video_url: "http://staging-teach.cdn.ireadabc.com/5826aa205a4d33bf65552778b2aaf6f8.mp4"}
return {video_url: "http://staging-teach.cdn.ireadabc.com/d2b6b86798ef09034bf29417a0e747d2.mp4"} // return {video_url: "http://staging-teach.cdn.ireadabc.com/d2b6b86798ef09034bf29417a0e747d2.mp4"}
return {video_url: "https://iplayabc-teach-yun-test.oss-cn-beijing.aliyuncs.com/movie2.mp4"}
}, },
play(){ play(){
......
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