We've been stalled for years on adding media playback to the Wikipedia iOS app due to the impasse between Wikimedia's insistence on free formats and Apple's insistence on only supporting patented formats.
I'm trying to route around that impasse by getting Ogg and WebM playback up and running on iOS through a native widget library, which I've been cleaning up to ready it for CocoaPods packaging. Here's the high-level library: https://github.com/brion/OGVKit and provisional CocoaPods specifications for the low-level open-source libraries it needs: https://github.com/brion/OGVKit-Specs Once I finish some further fixes and do an API cleanup (version 0.5 on my provisional milestones <https://github.com/brion/OGVKit/milestones>) I plan to publish my podspecs and write a patch to the Wikipedia app that uses OGVKit to handle media playback. Rough patch plan: * add OGVKit as dependency * enhance the photo carousel view to instantiate a player view for audio/video files, just like on Android * add content CSS to clean up those video thumbnail 'Play media' links * add a JS click handler for 'Play media' links to launch the carousel * add a JS click handler for <audio> and <video> elements in content * add a bunch of libraries to the list on the about page Ideally this should be a "surgical" patch and relatively minimal, though an update of the Pods dir will pull in a lot of files. :) -- brion
_______________________________________________ Mobile-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mobile-l
