How to stop videos from autoplaying when using {{video}} macros?

for example, I inserted this {{video 仔细想想,ChatGPT的成功难道不是维特根斯坦100年前、休谟200多年前,就预言了的吗?_哔哩哔哩_bilibili}} in my journal, every time I scroll to this page it autoplays.

When I have multiple videos in the same page, they start playing at the same time. How can I stop this autoplay behavior?

6 Likes

I need to resolve this as well. I simply cannot scroll through my journal because after a few pages I have a hundred videos playing.

also need how To disable auto play

Use HTML

why? you will have more options

For mp4 video

disable autoplay:
<video src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"controls></video>

enable autoplay:
<video src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"controls autoplay></video>

For video site

you need to find out the embed iframe script from the website, then set autoplay=0 attribute on iframe

for your link:
<iframe src="https://player.bilibili.com/player.html?aid=908003820&bvid=BV1WM4y1d78x&cid=1042934418&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" autoplay=0></iframe>

1 Like