cocos2dx masters I want to play two video clips in same scene simultaneously. I create two layers and adding in to scene but video is always displays in full screen.Anybody can help me please?
Asked
Active
Viewed 207 times
0
-
Cocos2D is iOS right? – Gerard Oct 14 '13 at 09:58
-
Never mind, I was thinking of Cocoa – Gerard Oct 14 '13 at 09:59
-
I am working with COCOS2D-X which is cross platform works with ios/android/blackberry/bada/windows/linux etc. It is c++ 2d game engine by cocos2d. – Biraj Zalavadia Oct 14 '13 at 10:00
-
On iOS AVPlayer can play two videos at once, see: http://stackoverflow.com/questions/14646235/multiple-videos-with-avplayer http://www.sdkboy.com/?p=66 No idea about Android. – CodeSmile Oct 14 '13 at 10:37
-
@LearnCocos2D will it work for android also? – Biraj Zalavadia Oct 14 '13 at 10:54
-
no, that's an iOS API. – CodeSmile Oct 14 '13 at 11:37
-
How do you play the video? Do you have custom Activity added to cocos2dxlib? If so, you can change the layout of this activity to have two VideoViews so each of them can play a separate video. – Losiowaty Oct 15 '13 at 08:51