开发者

Play video on iPhone using OpenGL ES?

开发者 https://www.devze.com 2023-01-07 01:28 出处:网络
Can I play a video using OpenGL ES on iPhone? I dont want to use MPMoviePlayController class (because default co开发者_运维问答ntrols also appears on the screen).

Can I play a video using OpenGL ES on iPhone? I dont want to use MPMoviePlayController class (because default co开发者_运维问答ntrols also appears on the screen).

Thanks Saurabh


I am not sure if you can play video with only OpenGL ES. But you can change the control displays on MPMoviePlayController, to None, Embedded or Fullscreen.

Also if you just want your own simple controls(such as just playing and stopping) you could create your own buttons and send pause/play commands to the controller when their pressed.

Probably not exactly what you wanted to hear but its a decent alternative.

0

精彩评论

暂无评论...
验证码 换一张
取 消