Skip to content

Commit cb7b29f

Browse files
committed
use r2 js libs
1 parent c91a31f commit cb7b29f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ts/media/vimeo-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class VimeoPlayerAdapter implements MediaPlayerAdapter {
2929
async initialize(): Promise<void> {
3030
// Load Vimeo API if not already present
3131
if (!('Vimeo' in window)) {
32-
await loadScript('https://i.micr.io/vimeo.min.js');
32+
await loadScript('https://r2.micr.io/vimeo.min.js');
3333
}
3434

3535
if (!('Vimeo' in window)) {

src/ts/media/youtube-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class YouTubePlayerAdapter implements MediaPlayerAdapter {
4141
// Load YouTube API if not already present
4242
if (!('YT' in window)) {
4343
await loadScript(
44-
'https://i.micr.io/youtube.js',
44+
'https://r2.micr.io/youtube.js',
4545
'onYouTubeIframeAPIReady'
4646
);
4747
}

0 commit comments

Comments
 (0)