how to include Flash/SWF objects in Zope website?
I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions? If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
You could just upload them into Zope and point to them. http://www.gotschool.com (see flash demos). It uploads as a "application/octet-stream" I am sure you are talking about much more interaction. J
From: Fred Yankowski <fred@ontosys.com> Date: Mon, 16 Oct 2000 11:06:53 -0500 To: zope@zope.org Subject: [Zope] how to include Flash/SWF objects in Zope website?
I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions?
If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py.
-- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
N.B. You probably should add your Flash/SWF objects as "File" objects. DTML Method/Document objects can do amusing things with binary data, which is why there are "File" objects. -- Jim Washington J. Atwood wrote:
You could just upload them into Zope and point to them.
http://www.gotschool.com (see flash demos).
It uploads as a "application/octet-stream"
I am sure you are talking about much more interaction.
J
Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: + create File object with id "foo_swf". + upload my local foo.swf file into foo_swf. + create DTML Method object "foo_flash" to provide all the HTML OBJECT and EMBED elements needed to wrap the flash object, referring to that flash object as '<PARAM NAME=movie VALUE="foo_swf">' and 'src="foo_swf"', respectively. + use '<dtml-var foo_flash>' to display the flash object in a DTML Document. On Mon, Oct 16, 2000 at 02:10:03PM -0400, Jim Washington wrote:
N.B. You probably should add your Flash/SWF objects as "File" objects. DTML Method/Document objects can do amusing things with binary data, which is why there are "File" objects.
-- Jim Washington
J. Atwood wrote:
You could just upload them into Zope and point to them.
http://www.gotschool.com (see flash demos).
It uploads as a "application/octet-stream"
I am sure you are talking about much more interaction.
J
-- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
At 10/16/00 02:21 PM, Fred Yankowski wrote:
Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did:
In order to provide alternate content and/or detect which level of Flash player is present, you might want to also include the free Moock "fpi" (f.lash p.layer i.nspector) found at http://www.moock.org/webdesign/flash/detection/moockfpi/ -- Dennis Nichols nichols@tradingconnections.com
On Mon, Oct 16, 2000 at 11:06:53AM -0500, Fred Yankowski wrote:
I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions?
If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py.
I once hacked together a simple 'Flash' object in a Python based Product. It was just a class derived from the File object, which behaved very much like the Image object. If called by DTML, it would return the appropriate HTML to include the Flash animation in the page, whcih could be customized with a special method very much like the '.image()' method on Image objects. Alas, the class was written for a previous employer, and never released as Open Source. But it was dead easy to create. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
participants (5)
-
Dennis Nichols -
Fred Yankowski -
J. Atwood -
Jim Washington -
Martijn Pieters