Video requiring asp.net authentication not working on iOS 10

前端 未结 3 1278
予麋鹿
予麋鹿 2020-12-31 15:00

On Safari in iOS 10 my video doesn\'t work, only showing the play-icon.

I serve the video via an asp.net server, which checks to make sure the user has logged on and

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 15:04

    Solution is to be found here:

    HTML5 video/audio player on mobile Safari (iOS 7 & iOS 10) excludes cookies

    Set an expire date to the cookie and the video player in iOS 10 can read back the cookie. Session cookies without an expire date can not be read back by the video player in iOS 10.

提交回复
热议问题