codec support
codec support
Posted Nov 15, 2012 17:51 UTC (Thu) by DonDiego (guest, #24141)Parent article: The Shumway open SWF runtime project
Posted Nov 15, 2012 18:30 UTC (Thu)
by bjartur (guest, #67801)
[Link]
Nobody is writing a movie decoder in JavaScript. At least not for Mozilla.
https://github.com/mozilla/shumway/blob/master/src/flash/media/Video.js
Posted Nov 16, 2012 12:02 UTC (Fri)
by coriordan (guest, #7544)
[Link]
If Shumway can get 2D games and websites that have SWF buttons and menus working, then it's a big help and no FLV or MP3 is required.
(I don't have an easy solution for the video formats, but I'm reluctant to start by saying "Let's give up".)
codec support
It simply maps to HTML features where available. It will draw vectors to a canvas, but raster images will be handled by the browser.
initialize: function initialize() {
this._element = document.createElement('video');
this._element.controls = true;
this._element.setAttribute("style", "position: absolute; top: 0px; left: 0px");
this._added = false;
},
codec support