Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page