asap-viewer 12.6.25 → 12.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/asap-viewer.umd.js +10 -1
- package/bundles/asap-viewer.umd.js.map +1 -1
- package/bundles/asap-viewer.umd.min.js +1 -1
- package/bundles/asap-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/@core/pipes/vimeo-embed.pipe.js +11 -2
- package/esm5/lib/@core/pipes/vimeo-embed.pipe.js +11 -2
- package/fesm2015/asap-viewer.js +10 -1
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +10 -1
- package/fesm5/asap-viewer.js.map +1 -1
- package/package.json +1 -1
|
@@ -3063,7 +3063,16 @@
|
|
|
3063
3063
|
* @return {?}
|
|
3064
3064
|
*/
|
|
3065
3065
|
function (url) {
|
|
3066
|
-
|
|
3066
|
+
/** @type {?} */
|
|
3067
|
+
var id = this.getVimeoID(url);
|
|
3068
|
+
if (!id)
|
|
3069
|
+
return '';
|
|
3070
|
+
/** @type {?} */
|
|
3071
|
+
var queryParams = '';
|
|
3072
|
+
if (typeof url === 'string' && url.includes('?')) {
|
|
3073
|
+
queryParams = url.substring(url.indexOf('?'));
|
|
3074
|
+
}
|
|
3075
|
+
return 'https://player.vimeo.com/video/' + id + queryParams;
|
|
3067
3076
|
};
|
|
3068
3077
|
/**
|
|
3069
3078
|
* @param {?} url
|