react-notion icon indicating copy to clipboard operation
react-notion copied to clipboard

Allow autoplay control for embedded videos

Open parkdoeui opened this issue 4 years ago • 5 comments

Hi! I noticed that the rendered videos are being played automatically. Would it be possible to disable autoplay by default to match its behaviour with those from the original notion pages?

parkdoeui avatar Feb 14 '21 16:02 parkdoeui

Hey @DoParkEQ, this page has an example of what you're looking for: https://react-notion-x-demo.transitivebullsh.it/file-uploads-34d650c65da34f888335dbd3ddd141dc

transitive-bullshit avatar Feb 19 '21 17:02 transitive-bullshit

@DoParkEQ embedded youtube videos are not playing automatically. Custom uploaded videos are not supported by us. Can you please tell us which video source you've used?

Thanks :)

tobiaslins avatar Feb 23 '21 09:02 tobiaslins

@tobiaslins I was referring to a custom uploaded video. However, the same video does not play automatically in original Notion page.

parkdoeui avatar Feb 23 '21 18:02 parkdoeui

Hi, I encountered the same problem that the embedded videos are playing automatically everytime the Notion page is loaded. I was referring to videos from bilibili.com. Is there any way to avoid this?

YimoSheny avatar Mar 25 '23 10:03 YimoSheny

您好,我遇到了同樣的問題,每次加載 Notion 頁面時都會自動播放嵌入影片。我指的是來自bilibili.com的影片。有什麼辦法可以避免這種情況嗎? please add &autoplay=0 to IFRAME SRC.

yves219 avatar Feb 05 '24 22:02 yves219