Playing videos in UIWebView broken in iOS4?

后端 未结 4 461
傲寒
傲寒 2021-01-02 18:33

I have an app that\'s worked since version 2.0 of the SDK where I create and add a UIWebView and then load the URL of an .mov to play a movie. Ever since the early version

4条回答
  •  情书的邮戳
    2021-01-02 19:08

    I got a situation of "this movie could not be played" when playing a video clip. This happened when recorder was just used. And this would NOT happen when player was just used.

    Then I set audio session category to kAudioSessionCategory_AmbientSound after recorder finished.

    This problem was solved after I did that.

提交回复
热议问题