1.
import subprocess
subprocess.Popen(["open", "path/to/the/movie.file"])
2. Quicktimeplayer can not auto play
refhttp://www.defaults-write.com/quicktime-player-x-enable-auto-play-feature/#.VOWJ6bCUf6Y
defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
Disable autoplay
|
沒有留言:
張貼留言