Open marcobiedermann opened 9 years ago
@stefanjudis Is there a docu for all parameters of the YouTube Api? https://github.com/stefanjudis/perf-tooling/blob/master/lib%2Fhelper%2Fyoutube.js#L35
YouTube also serves the images in WebP at https://i.ytimg.com/vi_webp/VIDEO_ID/mqdefault.webp
Do you know how to fetch the data, so we can use the picture element with webp format instead?
Same with Vimeo. You can get the thumbnail in webp format. https://i.vimeocdn.com/video/VIDEO_ID_295x166.webp
The last time I checked - last month, they we're not exposing the path via API. I can check again if you want.
@stefanjudis Is there a docu for all parameters of the YouTube Api? https://github.com/stefanjudis/perf-tooling/blob/master/lib%2Fhelper%2Fyoutube.js#L35
YouTube also serves the images in WebP at https://i.ytimg.com/vi_webp/VIDEO_ID/mqdefault.webp
Do you know how to fetch the data, so we can use the picture element with webp format instead?
Same with Vimeo. You can get the thumbnail in webp format. https://i.vimeocdn.com/video/VIDEO_ID_295x166.webp