sphinx-contrib / swf

A Sphinx extension to embed Flash files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swf Sphinx Extension

This package contains the swf Sphinx extension.

It adds a directive swf for improved flash file handling.

You can pass any parameter mentioned on flash attribute listing.

I stumbled across the issue, that screencasts often are "zoomed in", such that you do not have access to controls. So this directive has a "zoom-to-fit" option, which zooms out the video using javascript.

Example:

.. swf:: path/to/your.swf
   :zoom-to-fit: true

Installation

For install type:

pip install sphinxcontrib-swf

Enable Sphinx Extension

Add sphinxcontrib.swf to your extensions in conf.py:

extensions = [ 'sphinxcontrib.swf' ]

Author

Kay-Uwe (Kiwi) Lorenz (http://quelltexter.org)

About

A Sphinx extension to embed Flash files

License:Other


Languages

Language:Python 96.5%Language:JavaScript 3.5%