Video Playback: Difference between revisions
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
=== Python === | === Python === | ||
Example demonstrating how to play a video with audio: | Example demonstrating how to play a video with audio: | ||
<syntaxhighlight lang="python" line> | <syntaxhighlight lang="python" line> | ||
from psychopy import logging, prefs | from psychopy import logging, prefs | ||
| Line 49: | Line 47: | ||
core.quit() | core.quit() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Example demonstrating how to play a video with audio disconnected: | Example demonstrating how to play a video with audio disconnected: | ||
<syntaxhighlight lang="python" line> | <syntaxhighlight lang="python" line> | ||