https://bugzilla.wikimedia.org/show_bug.cgi?id=50980
--- Comment #2 from Michael Dale <[email protected]> --- We do have a jQuery api: $('#videoTarget').embedPlayer( callback ) and it supports loading sources via mwtitle ... So something like: $('<video>') .addClass('kskin') .css({ width:'400px', height:'300px' }) .attr({ 'data-mwtitle' : "0DRIVE.ogv", // the wiki title name }) .appendTo('#mw-content-text') // must append to dom before calling embedPlayer .embedPlayer(); // rewrites the video tag with player interface, loads sources via mwtitle attribute. Would "work" but its missing poster and duration hint, so we should probably enhance to load thous items from mwtitle as well ( if not defined in the video tag ) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
