I also think playing video would be a great addition. There are a couple of tricks to playing video flexibly:
- Using with other animated stimuli – by default video playback at a framerate other than the fps of the display causes PTB to wait for the next frame. So if you also want to animate anything else at the fps of the display that is a problem. One solution is to buffer each frame, if the next frame is not ready than use the previous one.
- Transparent video – it is nice if the video can blend with the background, and that is possible using this trick: Playing Transparent Videos via PTB
I would be happy to contribute a demo demonstrating these two tweaks if it would help. Your demos are so useful to many new PTB users, thank you for all your work on this!