2

I'm trying to play some locally downloaded videos on iOS using WKWebView. I copy the files into 'tmp/www' and they play fine. The issue I have is if I resign my activity using home button and bring it back, the video will resume playing but the screen will be black (there is audio).

The video readyState is 4 so I'm not sure what is wrong. If I trigger a new load() on the video the screen comes back but I'd like NOT to have to do that - is there anything in the media player I can query to tell me it's in this messed up date?

hamobi
  • 7,940
  • 4
  • 35
  • 64

0 Answers0