Commit 797e5629 authored by 李维's avatar 李维

保存_h视频

parent ae533c26
...@@ -6274,7 +6274,7 @@ let FormComponent = /*@__PURE__*/ (() => { ...@@ -6274,7 +6274,7 @@ let FormComponent = /*@__PURE__*/ (() => {
"duration": 0, "duration": 0,
"size": 0, "size": 0,
"snapshotUrl": "", "snapshotUrl": "",
"muteVideoUrl": "https://teach.cdn.ireadabc.com/be144b2d0e8494bb7f2ce0b3e31c8772.mp4" "muteVideoUrl": ""
}; };
} }
// 截图 // 截图
...@@ -6295,7 +6295,7 @@ let FormComponent = /*@__PURE__*/ (() => { ...@@ -6295,7 +6295,7 @@ let FormComponent = /*@__PURE__*/ (() => {
this.save(); this.save();
} }
onVideoUploaded(e, item, key) { onVideoUploaded(e, item, key) {
item[key] = e.url; item[key] = e.url.replace(".mp4", "_h.mp4");
this.save(); this.save();
} }
} }
......
This diff is collapsed.
...@@ -10219,7 +10219,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d ...@@ -10219,7 +10219,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
"duration": 0, "duration": 0,
"size": 0, "size": 0,
"snapshotUrl": "", "snapshotUrl": "",
"muteVideoUrl": "https://teach.cdn.ireadabc.com/be144b2d0e8494bb7f2ce0b3e31c8772.mp4" "muteVideoUrl": ""
}; };
return _this45; return _this45;
} // 截图 } // 截图
...@@ -10249,7 +10249,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d ...@@ -10249,7 +10249,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
}, { }, {
key: "onVideoUploaded", key: "onVideoUploaded",
value: function onVideoUploaded(e, item, key) { value: function onVideoUploaded(e, item, key) {
item[key] = e.url; item[key] = e.url.replace(".mp4", "_h.mp4");
this.save(); this.save();
} }
}]); }]);
......
This diff is collapsed.
...@@ -16,7 +16,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -16,7 +16,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
"duration": 0, "duration": 0,
"size": 0, "size": 0,
"snapshotUrl": "", "snapshotUrl": "",
"muteVideoUrl": "https://teach.cdn.ireadabc.com/be144b2d0e8494bb7f2ce0b3e31c8772.mp4" "muteVideoUrl": ""
} }
// testUrl = "http://staging-teach.cdn.ireadabc.com/0e64dfbfc54a7bd0bb121092f74b130b.mp4"; // testUrl = "http://staging-teach.cdn.ireadabc.com/0e64dfbfc54a7bd0bb121092f74b130b.mp4";
...@@ -45,7 +45,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -45,7 +45,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
} }
onVideoUploaded(e, item, key) { onVideoUploaded(e, item, key) {
item[key] = e.url item[key] = e.url.replace(".mp4", "_h.mp4")
this.save(); this.save();
} }
......
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