Comments (12)
Likely add a swf/flash model and view extending document. Maybe to social_stream
from vish.
Flash movies should not be a problem, if there are a video file into the swf file, ffmpeg can take a snapshot of a frame.
The real problem is to generate thumbnails of any swf file, to take a screenshot of a flash file you need to executed it to see it.
It doesn't look an easy job.
from vish.
You are right, I just renamed the bug to say "Flash objects"
from vish.
These tools could be useful: http://www.swftools.org
GPL license
SWFExtract Allows to extract Movieclips, Sounds, Images etc. from SWF files.
from vish.
A Paperclip Processor should be easily written inside the swf/flash model that called swftools
http://rdoc.info/github/thoughtbot/paperclip/Paperclip/Processor
from vish.
It seems like swftools has swfrender
exactly for this purpose. It creates a png file, which should be good enough. Now all we have to do is make it play with paperclip.
from vish.
Why is it a vish_editor issue?
from vish.
Well, the main (I dare say only) use for this is to embed SWF objects at the editor. It's definitely not a vish_editor issue and as such it's open at the vish tracker, not at the vish_editor one.
I understand the vish_editor
label as the issue being related to vish_editor. If you prefer, you can say this issue blocks the development of vish_editor and as such may be of interest to the developers of that project.
from vish.
OK, I agree. This semantic seems very convenient
from vish.
Please notice: we haven't forgotten about this issue, but it's rather complex, so we'll get to it after Wednesday's meeting.
from vish.
I've been testing a bit SWFTools.
It has two interesting tools: 'swfrender' and 'swfextract'.
Swfrender generates a PNG of the SWF file, appears to be the first frame.
The problem is that it's very common that this image don't represents the SWF file content.
With Swfextract we can extract images (JPEGs and PNGs) included in the SWF file.
Problem: Not all SWFs include images, and again, it's very common that images don't represent the content.
One option is to offer the user the different images to choose the most appropriate.
Or more simply, add the image obtained by swfrender and cross your fingers.
Vish Editor now shows flash objects accompanied by their title, so, the thumbnails generation may be not extremely necessary, however, would be a nice optional feature.
from vish.
We do treat SWF files as a separate type of document ever since this social_stream commit. However, generating a thumbnail is both cumbersome and unreliable.
You can now fetch SWF files as you do with pictures and videos. The name of the controller is swfs
.
Closing for now.
from vish.
Related Issues (20)
- Moodle courses support
- SCORM 1.2 support
- SEO enhancements
- HTTPs support
- SCORM LMS APIs
- Support for IMS CP
- Workshop contributions enhancements
- Error while doing bundle install HOT 2
- VISH sphinx failed HOT 4
- Error on "bundle exec rake db:schema:load": BLOB/TEXT column 'settings' can't have a default value HOT 1
- Error on "bundle exec rake db:schema:load": NoMethodError: undefined method `last_comment' for #< Rake:: HOT 1
- Unable to index error when executing sudo bundle exec rake ts:rebuild
- Enhancements in links and embeds
- Contest templates
- New customization settings
- XWiki support
- New recaptcha
- Migrate ViSH to Ubuntu 16.04
- Could not find proudhon gem during installation
- Who to contact for security issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vish.