Handy2015 / canvas.swf

A polyfill for HTML 5 Canvas for Internet Explorer using Flash.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

canvas.swf

Canvas.swf is a polyfill which adds HTML5 Canvas support to Internet Explorer 6-8. Canvas.swf is implemented in Flash, with wider support and faster execution than polyfills that use VML or Silverlight.

Usage

Copy canvas.swf and canvas.swf.js from the lib/ directory to your website, and simply include the JavaScript file in your <head>:

<!--[if lt IE 9]>
<script type="text/javascript" src="path/to/canvas.swf.js"></script>
<![endif]-->

That's it! You are now able to use and script the element as though it were supported natively.

License

Canvas.swf is released under the MIT License. Based on extensive work by the FlashCanvas Project.

About

A polyfill for HTML 5 Canvas for Internet Explorer using Flash.

License:Other


Languages

Language:ActionScript 80.8%Language:JavaScript 18.7%Language:CoffeeScript 0.5%