owncloud-archive / apps

Repo for ownCloud apps. Code here is work in progress and not intended for endusers
373 stars 337 forks source link

Feature Request: Preview for Flash files #1608

Open ghost opened 10 years ago

ghost commented 10 years ago

Please add a preview for Flash swf files like the image preview

PVince81 commented 10 years ago

@georgehrke

georgehrke commented 10 years ago

cc @jancborchardt

What's the usecase for this? Why would one have swf files in his ownCloud folder?

georgehrke commented 10 years ago

There was a php library to work with swf, but it's development has been discontinued. Maybe you could use gnash on the command line. Furthermore swf is full of license and patents issues, I don't think we will integrate this in core. It would still be possible to write a 3rdparty app for it.

PVince81 commented 10 years ago

If you're a flash developer and want to showcase your work, you could create a public link that lets other people run your flash app (or games!) in preview mode on the public link page :smile:

PVince81 commented 10 years ago

@novij were you talking about the thumbnail previews or the full screen preview like the slideshow app / public page preview ? (like for videos)

georgehrke commented 10 years ago

If you're a flash developer and want to showcase your work, you could create a public link that lets other people run your flash app (or games!) in preview mode on the public link page

But swf involves animations and videos. A preview is just a static picture which doesn't help in this context

jancborchardt commented 10 years ago

I assume @novij means the thumbnail capability of the Files app.

As @georgehrke says, seems difficult to work with.

ghost commented 10 years ago

Thank you for your replies. Sorry for not beeing more accurate on this.

As @PVince81 says it would be nice if the swf file starts playing on public link page or in full screen preview. If I open the swf file directly in Firefox it starts immediately, but this is more difficult for customers. Thumbnail preview is not needed.

ghost commented 10 years ago

I've done some PHP coding in the past, so maybe if you can tell me what files have to be changed so I can prepare a patch.

LukasReschke commented 10 years ago

If you're a flash developer and want to showcase your work, you could create a public link that lets other people run your flash app (or games!) in preview mode on the public link page :smile:

This may lead to a XSS vulnerability since Flash can do nearly everything.