File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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 */
3131export const extractYoutubeVideoIdsFromNodes = ( nodes : Node [ ] ) : string [ ] => {
You can’t perform that action at this time.
0 commit comments