|
|
Subscribe / Log in / New account

codec support

codec support

Posted Nov 15, 2012 18:30 UTC (Thu) by bjartur (guest, #67801)
In reply to: codec support by DonDiego
Parent article: The Shumway open SWF runtime project

Nobody is writing a movie decoder in JavaScript. At least not for Mozilla.

    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;
    },
It simply maps to HTML features where available. It will draw vectors to a canvas, but raster images will be handled by the browser.

https://github.com/mozilla/shumway/blob/master/src/flash/media/Video.js


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds