Add a property VIDEO_HOLE_ENABLED. 18/248018/6
authorhuayong.xu <huayong.xu@samsung.com>
Thu, 19 Nov 2020 07:45:56 +0000 (15:45 +0800)
committerhuayong.xu <huayong.xu@samsung.com>
Mon, 1 Feb 2021 06:02:49 +0000 (14:02 +0800)
When playing videos in web engine, web engine make area of video
transparent and notify multi-media player to play video in another
layer.
In order to make this feature work in DALi/NUI, A property
VIDEO_HOLE_ENABLED is added to enable/disable video hole.
Default value is true.

Change-Id: I52da7db4599debc0fc8a29d85975d9d81c058f71

dali-csharp-binder/src/web-view.cpp

index 7f31f73..b49696c 100755 (executable)
@@ -281,6 +281,10 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_TITLE_get() {
   return (int)Dali::Toolkit::WebView::Property::TITLE;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_VIDEO_HOLE_ENABLED_get() {
+  return (int) Dali::Toolkit::WebView::Property::VIDEO_HOLE_ENABLED;
+}
+
 //@DEPRECATED_2_0.9.
 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebView_Property_CACHE_MODEL_get() {
   return 0;