Skip to content

Commit dfb5e84

Browse files
committed
yt embed: fix thumbnail not loading
1 parent d3ea7fc commit dfb5e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/message-pane/message-item/RawYoutubeEmbed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const RawYoutubeEmbed = (props: {
1111
const [playVideo, setPlayVideo] = createSignal<boolean>(false);
1212

1313
const thumbnailUrl = () => {
14-
return `https://i.ytimg.com/vi/${props.code}/hqdefault.webp`;
14+
return `https://i.ytimg.com/vi_webp/${props.code}/hqdefault.webp`;
1515
};
1616

1717
return (

0 commit comments

Comments
 (0)