I'm new to Cynin and have a quick question. Is it possible to currently view .swf files from the site? Currently the users upload the .swf files and then download them to play them.
Hmm... we don't actually offer a functionality like this. You want to "play" the swf files in the browser, after a user uploads them, I think. What about things like width/height and parameters, etc.?
This would typically have to be a content type of it's own - like Video, Audio, etc.
This relates back to my experiences working with cyn.in V2 and p4a video. As I remember, you were concerned about the p4a video install introducing an unsupported content type.
Other than confusions around buildouts, I seemed to be alright using p4a to play SWF's.
While cyn.in V3 handles the 'video' of the p4a as a fully supported content type, that type doesn't support SWF. And, as drekmoore noted, at the moment, when uploaded as a file, the only thing available to a user is to download.
I'm game for taking a stab at installing p4a video to get it's ability to subtype and provide a workable view option. Any thoughts on that approach? Buildout v. egg?
One work around for viewing your swf files in Cyn.in would be that you could convert your .swf files to mp4. This way the videos will be view-able in the Cyn.in site itself.
I haven't tried these out yet, but do let us know if this worked for your requirement.
If the swf videos are published on another site like youtube, you can embed those videos directly into a Cyn.in blog / wiki, by using the embed code functionality. This is available when you click on the "external link" button in the editor as another tab: "Embed external object".
Well, I think I know what you guys are looking for - but this is not available yet.
You could try the above suggestion by Romasha, YMMV. Also, there's always the possibility of having flash embeds done within content areas like blog posts and wiki pages and so on, as discussed elsewhere.
What you guys are looking for (I think) is: A new content type called SWFFile. This would take an upload of an swf file, along with parameters of things like width, height, wmode, quality, allow fullscreen, etc., etc., - basically all the parameters that are put into the embed code. The view of the SWFFile in single item view would display the item as if it was embedded into the page with the parameters that are specified. We could think up a force-reduced size for the preview in the Activity Stream view. A possible bonus-mission area to explore would be to allow users to put in arbitrary name value pairs for attributes, flashvars and embed params because all of this would be outputted by using swfobject2.embedObject API and it would be the ultimate power-user feature, no?
It looks like http://plone.org/products/atflashmovie together with the kupu tweak described on that page would do the job .. I'll probably have the opportunity to try this soon.
The products are installed and show up fine at Control_Panel/Products/manage_main, but they don't show up at portal_quickinstaller/manage_installProductsForm or prefs_install_products_form .. does cyn.in whitelist products?
Why so complicated ;-)? If you upload swf file you can setup Blog/Wiki with embed/object tag for playing uploaded file. Here an example which is running well for me (replace .lt./.gt.):
I'm sure the team behind cyn.in can setup a dialog like the existing one for integration of external URLs which will generate this code by a give swf filename without too much effort ;-).
Maybe you are now finding a powerful utility to help you convert SWF to MPEG as perfect as you want. Here the http://www.swftompegconverter.com/ we provide you is just the right choice.
Hmm... we don't actually offer a functionality like this. You want to "play" the swf files in the browser, after a user uploads them, I think. What about things like width/height and parameters, etc.?
This would typically have to be a content type of it's own - like Video, Audio, etc.
This relates back to my experiences working with cyn.in V2 and p4a video. As I remember, you were concerned about the p4a video install introducing an unsupported content type.
Other than confusions around buildouts, I seemed to be alright using p4a to play SWF's.
While cyn.in V3 handles the 'video' of the p4a as a fully supported content type, that type doesn't support SWF. And, as drekmoore noted, at the moment, when uploaded as a file, the only thing available to a user is to download.
I'm game for taking a stab at installing p4a video to get it's ability to subtype and provide a workable view option. Any thoughts on that approach? Buildout v. egg?
Thanks.
One work around for viewing your swf files in Cyn.in would be that you could convert your .swf files to mp4. This way the videos will be view-able in the Cyn.in site itself.
You could try out one of these convertors:
http://www.swftomp4.com/
http://www.xilisoft.com/[…]/how-to-convert-swf-to-mp4.html
I haven't tried these out yet, but do let us know if this worked for your requirement.
If the swf videos are published on another site like youtube, you can embed those videos directly into a Cyn.in blog / wiki, by using the embed code functionality. This is available when you click on the "external link" button in the editor as another tab: "Embed external object".
Hope this helps.
You could try the above suggestion by Romasha, YMMV. Also, there's always the possibility of having flash embeds done within content areas like blog posts and wiki pages and so on, as discussed elsewhere.
What you guys are looking for (I think) is:
A new content type called SWFFile.
This would take an upload of an swf file, along with parameters of things like width, height, wmode, quality, allow fullscreen, etc., etc., - basically all the parameters that are put into the embed code.
The view of the SWFFile in single item view would display the item as if it was embedded into the page with the parameters that are specified.
We could think up a force-reduced size for the preview in the Activity Stream view.
A possible bonus-mission area to explore would be to allow users to put in arbitrary name value pairs for attributes, flashvars and embed params because all of this would be outputted by using swfobject2.embedObject API and it would be the ultimate power-user feature, no?
Would this work?
If you upload swf file you can setup Blog/Wiki with embed/object tag for playing uploaded file. Here an example which is running well for me (replace .lt./.gt.):
.lt.object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/[…]/swflash.cab#version=7,0,0,0" height="788" width="1024".gt.
.lt.embed src="filename.swf" width="1024" height="788" quality="low" loop="false" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/[…]/embed.gt.
.lt./object.gt.