UseGetYoutubeVideoId
katanakit-js / useGetYoutubeVideoId
Function: useGetYoutubeVideoId()
Section titled “Function: useGetYoutubeVideoId()”function useGetYoutubeVideoId(input): string | null;Defined in: core/services/media.service.ts:308
Extracts a YouTube video id from a URL or bare id.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
string |
Returns
Section titled “Returns”string | null