Hey all,
I've been scanning the source and I can't find where the players are kept. Can anyone add any insight on this? Is it done as a hook or direct code?
TIA - Joseph Roberts
On Thu, Mar 24, 2011 at 12:05 PM, Joseph Roberts roberts.joseph@ntlworld.com wrote:
Hey all,
I've been scanning the source and I can't find where the players are kept. Can anyone add any insight on this? Is it done as a hook or direct code?
Extension:OggHandler. The video player is Cortado, which is bundled with OggHandler iirc
Thanks, would it be preferable to add HTML5 to that or make another extension purely for using <video>/<audio>?
On 24 March 2011 11:16, Bryan Tong Minh bryan.tongminh@gmail.com wrote:
On Thu, Mar 24, 2011 at 12:05 PM, Joseph Roberts roberts.joseph@ntlworld.com wrote:
Hey all,
I've been scanning the source and I can't find where the players are kept. Can anyone add any insight on this? Is it done as a hook or direct code?
Extension:OggHandler. The video player is Cortado, which is bundled with OggHandler iirc
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Actually, looking through OggHandler, I do think that developing a seperate entity may work well. I'm not quite sure what is wanted by the general public and would like to do what is wanted by the majority, not just wat would be easiest or even the best. What would be the best way to implement a HTML5 player in MediaWiki?
TIA - Joseph Roberts
On 03/24/2011 04:45 AM, Joseph Roberts wrote:
Actually, looking through OggHandler, I do think that developing a seperate entity may work well. I'm not quite sure what is wanted by the general public and would like to do what is wanted by the majority, not just wat would be easiest or even the best. What would be the best way to implement a HTML5 player in MediaWiki?
TIA - Joseph Roberts
There is the Extension:TimedMediaHandler, that implements multi-format multi-bitrate transocding with auto source selection, html5 player interface, timed text, temporal media fragments, gallery and search pop-up players, viral iframe sharing / embedding, etc.
Demo page here: http://prototype.wikimedia.org/timedmedia/Main_Page
peace, michael
On Thu, Mar 24, 2011 at 12:27 PM, Joseph Roberts roberts.joseph@ntlworld.com wrote:
Thanks, would it be preferable to add HTML5 to that or make another extension purely for using <video>/<audio>?
OggHandler already implements <video>. It tries to select an appropriate player (<video>, Cortado or VLC) depending on the user's browser.
On 24 March 2011 12:18, Bryan Tong Minh bryan.tongminh@gmail.com wrote:
On Thu, Mar 24, 2011 at 12:27 PM, Joseph Roberts roberts.joseph@ntlworld.com wrote:
Thanks, would it be preferable to add HTML5 to that or make another extension purely for using <video>/<audio>?
OggHandler already implements <video>. It tries to select an appropriate player (<video>, Cortado or VLC) depending on the user's browser.
Ah, cool. If no one minds, shouldn't [[mw:HTML5]] be editted to reflect what h in the mainstream?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Thu, Mar 24, 2011 at 9:22 AM, Joseph Roberts roberts.joseph@ntlworld.com wrote:
Ah, cool. If no one minds, shouldn't [[mw:HTML5]] be editted to reflect what h in the mainstream?
[[mw:HTML5]] only really covers the use of HTML5 markup, not other HTML5 features. The idea was to discuss the benefits of changing our doctype from XHTML 1.0 Transitional to HTML5, from the standpoint of what features we want that would break validation in XHTML 1.0 Transitional. Cortado doesn't use HTML5 markup, it's JavaScript that inserts video elements into the DOM at runtime. The fact that the feature it uses happens to be in the HTML5 standard doesn't make much of a difference to anything, any more than does the fact that getElementsByClassName() happens to be in HTML5.
[[mw:HTML5]] discusses the possibility of using <video> or <audio> tags directly in the markup. This would allow our video or audio to play even in browsers that have JavaScript disabled, which would be nice to have.
I'll be honest, I was thinking of this being part of wikicore; not just another extension. I think media support in core would be a good idea.
TIA
wikitech-l@lists.wikimedia.org