wendux / DSBridge-IOS

:earth_asia: A modern cross-platform JavaScript bridge, through which you can invoke each other's functions synchronously or asynchronously between JavaScript and native.
1.95k stars 303 forks source link

[ios]When webview video on full screen, js call native dsbridge will exit the fullscreen #149

Closed ben39053372 closed 1 year ago

ben39053372 commented 1 year ago

When webview video on full screen mode , js call native dsbridge will exit the fullscreen.

Step to reproduce:

  1. open a webview which have video
  2. change to video fullscreen mode
  3. js call native (e.g. return the current video progress)
  4. fullscreen mode will auto exit (<- the error)

only have error on IOS, android work good no error log show, I have try to comment out the function call of step 3, step 4 not happen