瀏覽代碼

Update index.ios.js

于广吉 6 年之前
父節點
當前提交
1611ff6263
No account linked to committer's email address
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      autoHeightWebView/index.ios.js

+ 1
- 0
autoHeightWebView/index.ios.js 查看文件

@@ -178,6 +178,7 @@ export default class AutoHeightWebView extends PureComponent {
178 178
           injectedJavaScript={script}
179 179
           source={source}
180 180
           onNavigationStateChange={this.handleNavigationStateChange}
181
+          allowsInlineMediaPlayback={true}
181 182
         />
182 183
       </Animated.View>
183 184
     );