Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Player always plays video on top, regardless of z-order. #17108

Closed
slackmoehrle opened this issue Jan 4, 2017 · 1 comment
Closed

Video Player always plays video on top, regardless of z-order. #17108

slackmoehrle opened this issue Jan 4, 2017 · 1 comment

Comments

@slackmoehrle
Copy link
Contributor

  • cocos2d-x version: 3.13.1
  • devices test on: iPhone 7P

Video Player always plays a video on top, regardless of z-order. You can test this in cpp-tests.

  1. run the default test and play a video.
  2. add a Sprite and give it a z-order higher than the video player. Re-run cpp-tests. Notice the Sprite is on top of the video player. Press play. Video then comes to the top.
  3. I tried adding a Layer, as a test, to see if it behaves differently. It does not, same result as step 2.

screen shot 2017-01-04 at 2 09 00 pm

screen shot 2017-01-04 at 2 09 20 pm

@minggo
Copy link
Contributor

minggo commented Jan 5, 2017

Videoplayer just use system widget, it is not rendered by OpenGL ES, there is not z value concept about it.

@minggo minggo closed this as completed Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants