We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a42087b + 53ae34f commit cc31dedCopy full SHA for cc31ded
src/services.js
@@ -8,7 +8,7 @@ export default {
8
width: 580,
9
},
10
youtube: {
11
- regex: /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/,
+ regex: /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=[\w%+]*))*/,
12
embedUrl: 'https://www.youtube.com/embed/<%= remote_id %>',
13
html: '<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',
14
height: 320,
0 commit comments