objective c - Play video in Mac OS X 10.7 -
what simplest way play video programmatically objective-c in mac os x 10.7 (lion)? , if want support os x 10.6 (snow leopard) too?
i noticed ios av foundation introduced os x 10.7. unfortunately documentation seems written ios , found confusing.
"simplest" depends on you're trying do. if want more control (e.g., rendering movie opengl texture) or less (e.g., independent window can pop , ignore), there might different answers.
but use cases, if want 10.6+ support, simplest way show movie qtkit. see article "using qtkit media playback" in xcode documentation starting point.
Comments
Post a Comment