Merge pull request #7715 from minggo/fix-video-player

Fix video player
This commit is contained in:
minggo 2014-08-08 14:05:31 +08:00
commit 6f99fab13a
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ using namespace cocos2d::experimental::ui;
-(void) setVisible:(bool)visible -(void) setVisible:(bool)visible
{ {
if (self.moviePlayer != NULL) { if (self.moviePlayer != NULL) {
[self.moviePlayer.view setHidden:visible]; [self.moviePlayer.view setHidden:!visible];
} }
} }