vuetube
Version:
A fast, lightweight, lazyload vue component acting as a thin layer over the YouTube IFrame Player API which renders fast
19 lines (15 loc) • 596 B
text/typescript
/**
* YouTube hosts
*/
export const DEFAULT_HOST = 'https://www.youtube.com';
export const NO_COOKIES_HOST = 'https://www.youtube-nocookie.com';
/**
* Origins that are in the critical path
*/
export const GOOGLE_ADS_URL = 'https://googleads.g.doubleclick.net';
export const GOOGLE_FONTS_URL = 'https://fonts.gstatic.com';
export const GOOGLE_URL = 'https://google.com';
export const YTIMG_URL = 'https://i.ytimg.com';
export const GSTATIC_URL = 'https://www.gstatic.com';
export const YT3_URL = 'https://yt3.ggpht.com';
export const YOUTUBE_API_URL = 'https://www.youtube.com/iframe_api';