Hi Hongbo, Thank you for your reply! I am not familiar with the detail of chromium, could you help to give me some advice?
Thanks a lot. BR, Liutongbing 发件人: Min, Hongbo [mailto:[email protected]] 发送时间: 2014年10月15日 10:34 收件人: Liutongbing; [email protected] 主题: RE: [Crosswalk-help] [Crosswalk help]Issue about transparent background of webview Hi, Tongbing As far as I know, there is no much simple method to make the html background totally transparent without hooking the chromium core code. An attempt to use the approach to make html body transparent may lead to all UI elements invisible as you said. A short explanation for why need to hook chromium code is, each time chromium compositor starts to composite the web content by GPU, it would call glClear with white color, and the transparent effect requires to change the way of drawing a new frame. Thanks…Hongbo From: Crosswalk-help [mailto:[email protected]] On Behalf Of Liutongbing Sent: Monday, October 13, 2014 10:48 AM To: [email protected]<mailto:[email protected]> Subject: [Crosswalk-help] [Crosswalk help]Issue about transparent background of webview Hello guys, My app is a video player, whole app logic and UI use html to implement and media is drawn to android surface, so when video is playing, the controller(like stop button, pause button etc. ) html is overlapped on the surface. So I need set the html background transparent, but if I do like this, all the elements of controller html also transparent, even if I cannot see the buttons but they also can be clicked. How to set the html background transparent and also can see the elements of html? I googled and found out a link, it said I need to modify chromium, is there any simple method? https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/w0NANZgsakI Many thanks.
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
