Questions tagged [ccvideoplayer]

CCVideoPlayer:Simple Video Player for Cocos2D apps.

Simple Video Player for Cocos2D apps.

SDK : Download link

Playing video uses a lot of resources, so CCVideoPlaye recommended to stop gpu render.

Dependencies:

« QTKit.framework for Mac

« MediaPlayer.framework for iOS

8 questions
6
votes
0 answers

How to use a UIView with a CCLayer cocos2d?

I am playing a short video with CCVideoPlayer in cocos2d and at the end of it I am capturing the very last frame of the video and I am showing it on the screen using a UIView because trying to draw it on a CCLayer makes the image show up with…
Stephen
  • 499
  • 9
  • 28
3
votes
2 answers

Cocos2d: How to play a video in the background of a CCLayer

I want the video play in the background, and the text label in the front, run the following code, video is playing, but text label does not show! -(id) init { if(!(self=[super init])) { return nil; } CGSize size = [[CCDirector…
WangYang
  • 499
  • 2
  • 10
  • 20
1
vote
0 answers

How to retain the last video frame of a video using CCVideoPlayer class?

I'm using CCVideoPlayer class in one of my iPhone/iPad apps to play the video on various types of gestures. As of now, when the video ends, I replace the video with a jpeg image of the last frame of the video. Is there anyway using which I can…
89hardy
  • 112
  • 2
  • 10
1
vote
0 answers

CCVideoPlayer play movie finished get Screen flicker,what's wrong with it?

I use CCVideoPlayer to play video. and when video finished the screen sometime get a Screen flicker. it look like the videoView quit animation. Does someone know what's wrong with it? - ( void ) moviePlaybackFinished { CCLOG(@…
ryuikuya
  • 75
  • 2
  • 7
1
vote
1 answer

CCVideoPlayer not working correctly

I have "imported" the extension "CCVideoPlayer" to my cocos2d project and I would like to use it in order to show a video splash screen before my game starts (I know many people hate it, but I don't care). However, there are not as many tutorials on…
the_critic
  • 12,720
  • 19
  • 67
  • 115
0
votes
1 answer

CCVideoPlayer has a delay?

I am using CCVideoPlayer to play a video in my game but it has a slight delay before it plays which causes a black screen to show before it plays. Is there some way to preload the video or set up CCVideoPlayer in a way that does away with this…
Stephen
  • 499
  • 9
  • 28
0
votes
1 answer

Apple Mach-O Linker Error duplicate architecture armv7 CCVideoPlayer cocos2d extension (cocos2d v2.0)

I'm trying to solve this linker error issue but I have no doubt, looked up for class duplicates or something else but nothing clear for now. Did anyone faced this issue? Seen this post on cocos2d forum but commenting out the macros didn't helped…
el.severo
  • 2,202
  • 6
  • 31
  • 62
0
votes
0 answers

Is it possible to fade out a video using "CCVideoPlayer"

I am playing a video in cocos2d using "CCVideoPlayer" and I am wondering if there is a way to fade the video out towards the end? what I mean by fading out the video is, usually the video just stops abruptly at the end and i am needing to be able to…
Stephen
  • 499
  • 9
  • 28