Commit f63617dd authored by 李维's avatar 李维

使用高清转码视频

parent f3991b35
......@@ -537,7 +537,7 @@ export function asyncGetVideoDuration(video) {
// 获取视频地址
export function getVideoUrl(video_url) {
return new Promise((resovle, reject) => {
const video_url_h = video_url.replace(/.mp4$/g, "_m.mp4");
const video_url_h = video_url.replace(/.mp4$/g, "_h.mp4");
this.httpHeadCall(video_url_h, (success) => {
if (success) {
// console.log('return video_url_h: ', video_url_h);
......
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