fix. 썸네일 퀄리티 수정
This commit is contained in:
@@ -156,7 +156,7 @@ export const getPaginationClass = (
|
||||
*/
|
||||
export const getMediaImgSrc = (
|
||||
resourceGroups: PageDataResourceGroup,
|
||||
quality: 'default' | 'medium' | 'high' | 'standard' | 'maxres' = 'high'
|
||||
quality
|
||||
): string => {
|
||||
if (!resourceGroups) return ''
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ export const getYouTubeEmbedUrl = (
|
||||
*/
|
||||
export const getYouTubeThumbnail = (
|
||||
url: string,
|
||||
quality: 'default' | 'medium' | 'high' | 'standard' | 'maxres' = 'high'
|
||||
quality: 'default' | 'medium' | 'high' | 'standard' | 'maxres' = 'standard'
|
||||
): string => {
|
||||
const videoId = getYouTubeId(url)
|
||||
if (!videoId) return ''
|
||||
|
||||
Reference in New Issue
Block a user