Description Usage Arguments Value Author(s) Examples
This function will generate an HTML file to display the Flash animation.
1 2 |
swf.file |
the path of the SWF file |
output |
the output path of the HTML file; by
default ‘foo.swf’ produces |
width |
width of the Flash |
height |
height of the Flash |
fragment |
whether to produce an HTML fragment only |
The HTML code as a character string.
Yihui Xie <http://yihui.name>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.