Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

ToscaWidget wrapper for swfobject

Project description

.. contents::

Detailed Documentation
**********************


tw.swfobject documentation
==============================

This Widget encapsulates the google code swfobject JavaScript library
`http://code.google.com/p/swfobject/`_ for embedding Shockwave Flash content in a standards-friendly manner.

The current swfobject version packaged with this widget is version 2.2
`http://swfobject.googlecode.com/files/swfobject_2_2.zip`_

Example:

From within your controller, simply instantiate a SwfObject and return this instance to be rendered with your template::

swfobject = SwfObject(swf = "/path/to/mycontent.swf", width = 640, height = 480, flashvars = {"myvar": 0})

From within your template, simply call the swfobject::

${swfobject()}

Contributors
************


Main developpers
================

* Patrick McKinnon <swfobject[at]txsv[dot]com

Maintainer
==========

* Nicolas Laurance <nicolas[dot]laurance[at]gmail[dot]com>


Change history
**************

New in 0.2
==========

Update to swfobject 2.2

New in 0.1
==========

First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tw.swfobject, version 0.2dev-20090428
Filename, size File type Python version Upload date Hashes
Filename, size tw.swfobject-0.2dev-20090428.tar.gz (32.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page