diff options
author | Vitaly Takmazov | 2023-08-23 15:44:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-08-23 15:44:33 +0300 |
commit | f8ac2f39dbce6c523a61971da804bccf28ecae8a (patch) | |
tree | 9a3d2feb8dffec004ac9ef2853ab568113664c49 /vnext/src/utils/embed.js | |
parent | e0225bc87f36161090e1954cefd6611e0f534a8a (diff) |
Dynamic feeds WIPx
Diffstat (limited to 'vnext/src/utils/embed.js')
-rw-r--r-- | vnext/src/utils/embed.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js index 3020058a..19636a5a 100644 --- a/vnext/src/utils/embed.js +++ b/vnext/src/utils/embed.js @@ -223,7 +223,7 @@ function getEmbeddableLinkTypes() { let [, v, args, plist] = reResult let iframeUrl if (plist) { - iframeUrl = '//www.youtube-nocookie.com/embed/videoseries?list=' + plist + iframeUrl = 'https://www.youtube-nocookie.com/embed/videoseries?list=' + plist } else { let pp = {}; args.replace(/^\?/, '') .split('&') @@ -246,7 +246,7 @@ function getEmbeddableLinkTypes() { let argsStr = Object.keys(embedArgs) .map(k => `${k}=${embedArgs[k]}`) .join('&') - iframeUrl = `//www.youtube-nocookie.com/embed/${v}?${argsStr}` + iframeUrl = `https://www.youtube-nocookie.com/embed/${v}?${argsStr}` } let iframe = makeIframe(iframeUrl, '100%', '360px') iframe.onload = () => makeResizableToRatio(iframe, 9.0 / 16.0) |