kiwix / kiwix-apple

Kiwix for offline access on iOS and macOS
https://apple.kiwix.org
GNU Lesser General Public License v3.0
438 stars 70 forks source link

Cannot play video #25

Closed automactic closed 4 years ago

automactic commented 7 years ago

In iOS app video cannot be played. Tested using French TedxLausanneChange2013 Mar18, 2015, 81.8MB.

Here is the video player in the HTML `

` It does't have the source element. (The HTML video example from W3School has.) @kelson42, could this be mwoffliner's fault?

automactic commented 7 years ago

After some further investigation, I found that in the raw html, there indeed is a source tag. `

`

However, this a webm video, which is not supported by UIWebView(source). Because of that, the loaded webpage doesn't have a source tag in video.

One way to solve the issue is that we use mp4 video (type="video/mp4").

automactic commented 7 years ago

This issue is not caused by the app itself. It's just iOS doesn't support webm.

kelson42 commented 6 years ago

I re-open the issue as we have the issue and need a strategy.

So far I see the following alternatives:

kelson42 commented 6 years ago

A few links:

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

kelson42 commented 4 years ago

The fundamental problem has been solved. If video don't play now, this is a problem with the ZIM themselves. @rgaudin Would you agree to close that ticket?

rgaudin commented 4 years ago

No, it has only been solved for iOS. Do you want to open a separate bug for macOS?

kelson42 commented 4 years ago

@rgaudin yes please if this is still not done. iOS and macOS versions of Kiwix should not have tickets in common.

kelson42 commented 4 years ago

See also https://github.com/kiwix/apple/issues/189