cocos2d-iphone-extensions
cocos2d-iphone-extensions copied to clipboard
Request: enable the use of the standard MoviePlayer UI
I would like my users to be able to use the normal video UI controls, so they pause, skip/rewind, drag the playhead and use the volume slider etc.
Currently I can only stop the video even if I enable the standard UI.
I can allow the use of the normal UI by not using the _videoOverlayView.
It would be nice if this too was possible to choose parametrically.
[CCVideoPlayer setSkippable: YES]; -> should use the videooverlayview and make the movie skippable
If Skippable is set to NO then you would be able to use this: [CCVideoPlayer setControlstyle: MPMovieControlStyleEmbedded]; -> this may be trickier because of the different syntax for earlier IOS versions, but could be solved by some #ifdefs
This way we have a choice between a really easy to use videoplayer and some more advanced options.
Unfortunately I'm just starting out with Cocoa/Cocos2d, so I don't have any code.
Moved to 0.2, i think it will be something like [CCVideoPlayer setUIEnabled: YES], and it will enable all UI and disable overlayView.
If i remember right - there's also UI customization for Mac, so maybe it will be good to customize UI with some Mac/iOS Independent constants, CCVidePlayerControlStyleFull, CCVideoPlayerControlStyleVolume ,etc...
Thank you for creating an issue!
Thank you for doing a project like this, helps me learn!
You're welcome! ;)
20.08.11 12:49, mbinkhorst пишет:
Thank you for doing a project like this, helps me learn!