Video Player - Stay on Bottom issue on Creator 3.5.2

Hi,

I am trying to achieve Video Player stays bottom of the canvas so that i can see other Node element.
I want to show the small portion of video on screen with the help of masking BG element and setting ENABLE_TRANSPARENT_CANVAS = true.

This feature is not working as expected. When i set video player stay-on-bottom, I am not able to view video. Is there any way that i can view video components?

Using sample project - cocos-test-projects/assets/cases/ui/21.video-player at v3.4 · cocos/cocos-test-projects · GitHub

I found issue.

GameDiv DOM element has background color setting and which was creating issue for video visibility if its placed in background.

Updated GameDiv element background color to transparent and it worked.


You can also manually modify the zindex of the videoplayer

1 Like