MoviePlayer.PlayerType

From Xojo Documentation

Revision as of 20:05, 1 June 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aMoviePlayer.PlayerType = newIntegerValue
or
IntegerValue = aMoviePlayer.PlayerType

New in 2005r1

Supported for all project types and targets.

Indicates the type of movie the MoviePlayer will play.

Notes

PlayerType can take on the following values:

Value Description
0 Preferred player
1 QuickTime player
2 Windows Media player

On Windows, the preferred player is the Windows Media Player, but if WMP cannot play the movie, the QuickTime player will try to be used instead. On macOS, PlayerType is ignored, as AVFoundation is used to play movies. If desired, set PlayerType to 2 to prevent the QuickTime player from being used on Windows. This is also ignored on Linux, where MoviePlayer uses GStreamer by default (requires version 010+) and uses Xine if GStreamer is not available.