3

I want QuickTime Player to auto-play a file when I execute that file from Finder.

The default behaviour is to simply load the file and wait for you to press play.

I found a default pref that you can set to force QuickTime X to play movie files automatically.

defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1

How can you force QuickTime to play all its files automatically, regardless of their type (mp3, wav, aac, etc)

0

2 Answers 2

2

Just use Quick Look instead. Click on the video file to select it. Then tap your space-bar, and the video will appear in Quick Look. Watch it however you wish to. Then when you're finished, just tap your space-bar again and you're done.

1

Using the default will command QuickTime to start playback of the loaded file.

defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1

It's not file specific, or movie specific. It will play all files, regardless of type if you run this command, and restart QuickTime.

2
  • 1
    This will not work for QuickTime Player on macOS Sierra.
    – Cœur
    Commented Nov 3, 2017 at 1:56
  • Doesn't work in High Sierra either, sadly.
    – 5260452
    Commented Feb 7, 2018 at 21:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .