11wqe1 5 months ago
parent
commit
0bd177c672
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/pages/pptEasy/dialog/BilibiliSearchDialog.vue

+ 2 - 2
src/components/pages/pptEasy/dialog/BilibiliSearchDialog.vue

@@ -294,7 +294,7 @@ export default {
       if (this.lang.lang == 'cn') {
         url = `//player.bilibili.com/player.html?isOutside=true&bvid=${item.bvid}`;
       } else {
-        url = 'https://www.youtube.com/watch?v='+item.id;
+        url = 'https://www.youtube.com/embed/'+item.id;
       }
       const videoData = {
         name: "链接",
@@ -344,7 +344,7 @@ export default {
         if (this.lang.lang == 'cn') {
           url = `//player.bilibili.com/player.html?isOutside=true&bvid=${video.bvid}`;
         } else {
-          url = 'https://www.youtube.com/watch?v='+video.id;
+          url = 'https://www.youtube.com/embed/'+video.id;
         }
         const videoData = {
           name: this.lang.ssLink,