How to turn off video auto-play?

44 views
Skip to first unread message

Sapphireslinger

unread,
Aug 14, 2021, 5:46:45 AM8/14/21
to TiddlyWiki
So I open a tiddler and all the videos contained in it all start playing at once. AAaagh! Even the ones embedded in Detail widgets. Is there some "do-not-autoplay" code I am missing?

For instance: one of my tiddlers contains both of these codes:

<div class="container"><iframe src={{!!url}} 
frameborder="0" allowfullscreen class="video"></iframe></div>

and 

<$list filter="[<currentTiddler>tag[video]]"> <div class="container"><iframe src={{!!url}} frameborder="0" allowfullscreen class="video"></iframe></div> </$list>

The {{!!url}} just calls for a video file on my computer, the video is not actually in the tiddlywiki file.

Thanks in advance for any tips.

maki aea

unread,
Aug 22, 2021, 7:37:24 AM8/22/21
to TiddlyWiki
i’m not an expert on this but am using some local audio. i also use some details widgets but am gradually converting to streams. on ios, autoplay is not default, in contrast, for the same tw on other systems, only iframes that are intentionally not contained in details widgets or are in open substreams will auto play. not sure why mine is behaving differently to yours, it might be system/browser specific? i am also not using divs, just bare iframes, and have the url manually inserted e.g. 

20140624 makiaea <iframe height="10px" width="40px" src="music/20140624perchance - 20210729makiaea.m4a" frameborder="0"></iframe>

or for video:

latest video (silent 19s) split–screen iphone input between tiddlywiki and anki <iframe width="277px" height="600px" src="video/20210809 split screen iphone input.mp4" frameborder="0" type="video/mp4" controls></iframe>

Reply all
Reply to author
Forward
0 new messages