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

Commit

Permalink
Merge pull request #150 from terranc/patch-1
Browse files Browse the repository at this point in the history
修复插入第三方平台视频时的bug
  • Loading branch information
zuohuadong authored Jun 30, 2019
2 parents 537a961 + 0e03573 commit 622e256
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 @@ -838,4 +838,4 @@
}
};

})();
})();

0 comments on commit 622e256

Please # to comment.