Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
修复插入第三方平台视频时的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
terranc authored May 18, 2019
1 parent 1533611 commit 0e03573
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dialogs/video/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@
align = findFocus("videoFloat","name");

var newurl = convert_url(url);
if (newurl.startsWith("<embed>")) {
if (newurl.startsWith("<embed")) {
var arr = newurl.split(" ");
for (var i=0; i>arr.length; i++) {
for (var i=0; i<arr.length; i++) {
if (arr[i].startsWith("src")) {
newurl = arr[i].replace("src=", "");
}
Expand Down Expand Up @@ -820,4 +820,4 @@
}
};

})();
})();

0 comments on commit 0e03573

Please # to comment.