jfinn преди 3 години
родител
ревизия
3dc14bd63c
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 5
    2
      react/features/base/media/components/native/Video.js

+ 5
- 2
react/features/base/media/components/native/Video.js Целия файл

87
         if (stream) {
87
         if (stream) {
88
             // RTCView
88
             // RTCView
89
             const style = styles.video;
89
             const style = styles.video;
90
-            const objectFit
90
+            // const objectFit
91
+            var objectFit
91
                 = zoomEnabled
92
                 = zoomEnabled
92
                     ? 'contain'
93
                     ? 'contain'
93
                     : (style && style.objectFit) || 'cover';
94
                     : (style && style.objectFit) || 'cover';
94
-            var video_info = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("video_info",{that:this,vc:{objectFit,style}},0) : {}
95
+            // var video_info = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("video_info",{that:this,vc:{objectFit,style}},0) : {}
96
+            var video_info = window.gvx.fns.fncb ? gvx.fns.fncb("video_info",{that:this,vc:{objectFit,style,vct:1}},0) : {}
97
+
95
             const rtcView
98
             const rtcView
96
                 = (
99
                 = (
97
                     <RTCView
100
                     <RTCView

Loading…
Отказ
Запис