resistants/src/Youtube.ts

6 lines
207 B
TypeScript
Raw Normal View History

2023-09-08 13:21:18 +00:00
export const getYoutubeLink = (id: string): string =>
`https://www.youtube.com/watch?v=${id}`;
export const getYoutubeEmbedLink = (id: string): string =>
`https://www.youtube-nocookie.com/embed/${id}`;