Skip to content

Commit cc31ded

Browse files
authored
Merge pull request #1 from qbabooba/119-youtube-space-issue
fixed issue editor-js#119
2 parents a42087b + 53ae34f commit cc31ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
width: 580,
99
},
1010
youtube: {
11-
regex: /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/,
11+
regex: /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=[\w%+]*))*/,
1212
embedUrl: 'https://www.youtube.com/embed/<%= remote_id %>',
1313
html: '<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',
1414
height: 320,

0 commit comments

Comments
 (0)