File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/code/Magento/ProductVideo/view Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -569,8 +569,8 @@ require([
569
569
type = 'youtube' ;
570
570
} else if ( href . host . match ( / v i m e o \. c o m / ) ) {
571
571
type = 'vimeo' ;
572
- vimeoRegex = new RegExp ( [ 'https?:\\/\\/(?:www\\.)?vimeo.com\\/(?:channels\\/(?:\\w+\\/)' ,
573
- '?|groups\\/([^\\/]*)\\/videos\\/|album\\/(\\d+)\\/video\\/|)(\\d+)(?:$|\\/|\\?)'
572
+ vimeoRegex = new RegExp ( [ 'https?:\\/\\/(?:www\\.|player\\. )?vimeo.com\\/(?:channels\\/(?:\\w+\\/)' ,
573
+ '?|groups\\/([^\\/]*)\\/videos\\/|album\\/(\\d+)\\/video\\/|video\\/| )(\\d+)(?:$|\\/|\\?)'
574
574
] . join ( '' ) ) ;
575
575
id = href . href . match ( vimeoRegex ) [ 3 ] ;
576
576
}
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ define([
68
68
type = 'youtube' ;
69
69
} else if ( href . host . match ( / v i m e o \. c o m / ) ) {
70
70
type = 'vimeo' ;
71
- vimeoRegex = new RegExp ( [ 'https?:\\/\\/(?:www\\.)?vimeo.com\\/(?:channels\\/(?:\\w+\\/)' ,
72
- '?|groups\\/([^\\/]*)\\/videos\\/|album\\/(\\d+)\\/video\\/|)(\\d+)(?:$|\\/|\\?)'
71
+ vimeoRegex = new RegExp ( [ 'https?:\\/\\/(?:www\\.|player\\. )?vimeo.com\\/(?:channels\\/(?:\\w+\\/)' ,
72
+ '?|groups\\/([^\\/]*)\\/videos\\/|album\\/(\\d+)\\/video\\/|video\\/| )(\\d+)(?:$|\\/|\\?)'
73
73
] . join ( '' ) ) ;
74
74
id = href . href . match ( vimeoRegex ) [ 3 ] ;
75
75
}
@@ -327,7 +327,7 @@ define([
327
327
scriptTag = document . getElementsByTagName ( 'script' ) [ 0 ] ;
328
328
329
329
element . async = true ;
330
- element . src = 'https://f .vimeocdn.com/js/froogaloop2.min.js' ;
330
+ element . src = 'https://secure-a .vimeocdn.com/js/froogaloop2.min.js' ;
331
331
scriptTag . parentNode . insertBefore ( element , scriptTag ) ;
332
332
} ,
333
333
You can’t perform that action at this time.
0 commit comments