I would like to see videos working on mobile
Yet there seems to be two issues here. 1) Cleaning up MobileFrontend code We are stripping the ogg_player by parsing and cleaning up the HTML We could probably do this in css/javascript instead.
2) Making videos work on mobile where supported If we were to explore enabling videos on mobile we would have to look at the ogg player javascript code associated with it and get it working on mobile or create our own code that knows how to read it. http://www.mediawiki.org/wiki/Extension:OggHandler
I'm also concerned about the size of the javascript module and since it is not needed by every page I would argue that it should only be loaded when the video is clicked (the existing extension may do this or not I'm not clear): https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FOggHandler/895f74e63...
On Thu, Jun 20, 2013 at 5:35 PM, Max Semenik maxsem.wiki@gmail.com wrote:
Hi, when mobile WP was in its childhood, it was decided that we're not ready to display videos on our pages, so they were stripped. And stripped very crudely, by removing just #ogg_player_1 and #ogg_player_2 so that only first two videos on a page were removed. What are your opinions - shoudld we continue doing this?
-- Best regards, Max Semenik ([[User:MaxSem]])
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
-- Jon Robson http://jonrobson.me.uk @rakugojon