Skip to content

Commit 5aa151d

Browse files
committed
fix: small fixes
1 parent e4937b7 commit 5aa151d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/components/MemoYoutubeEmbedListView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const MemoYoutubeEmbedListView: React.FC<Props> = ({ videoIds }: Props) => {
1818
className="absolute top-0 left-0 w-full h-full"
1919
src={`https://www.youtube.com/embed/${videoId}`}
2020
title="YouTube video player"
21-
allow="accelerometer; encrypted-media; gyroscope; picture-in-picture; web-share"
21+
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
2222
allowFullScreen
2323
/>
2424
</div>

web/src/utils/youtube.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const extractYoutubeIdFromUrl = (url: string): string | undefined => {
2525

2626
/**
2727
* Extract YouTube video IDs from markdown nodes.
28-
* @param nodes The array of markdown nodes to extract YouTube video IDs from .
28+
* @param nodes The array of markdown nodes to extract YouTube video IDs from.
2929
* @returns A deduplicated array of YouTube video IDs.
3030
*/
3131
export const extractYoutubeVideoIdsFromNodes = (nodes: Node[]): string[] => {

0 commit comments

Comments
 (0)