F
F
Finom2011-11-19 18:53:38
JavaScript
Finom, 2011-11-19 18:53:38

Flash is alive. Or things that can't be done in Javascript

I'm putting together a collection of things that are not supported by JS (more precisely, DOM), but can be reclaimed using flash movies. The requirement is a JS wrapper.

1. Downloading files generated on the client
Solution: Downloadify .

2. Working with the clipboard
Solution: ZeroClipboard
Overview: habrahabr.ru/blogs/personal/55646/

3. P2P for file transfer, chat implementation, etc.
Solution: Rtmfp API

4. Working with a microphone and webcam

5. Filter files by type or extension in the file selection dialog
Below, it is suggested that this is already there:

About the choice of file type is this statement? In html5, there is an accept parameter for input, in which you can write mime file types: accept="image/gif,image.jpg"
www.w3schools.com/html5/att_input_accept.asp


6. Full Screen Video
Solution: almost any flash player
It turns out there is a FullScreen API: wiki.mozilla.org/Gecko :FullScreenAPI is supported by chrome and FF10.

Feel free to share solutions and other challenges. If there is enough material, I will try to write a review.

Answer the question

In order to leave comments, you need to log in

10 answer(s)
M
MagaSoft, 2011-11-19
@MagaSoft

>Flash is alive
Like Tsoi and Lenin.
1 and 5 are implemented via HTML5 Filesystem API, so far only in Chrome.
2, 4, 6 will come with ie10, followed by everywhere.
And nothing will come to Flash, except for a furry animal and a good HTML5 scripter. By the way, fur: goo.gl/zLVld

E
Emin, 2011-11-19
@Emin

Interaction between pages located in different tabs and even different browsers (LocalConnection).

V
Vladislav Ross, 2011-11-20
@gag_fenix

I am for standards, but the fact is: Flash is faster than HTML5. Primitive HTML5 demos load 100% core for me (2.4 GHz).
And support is still so-so in browsers. Flash is more reliable.

I
Iskander Giniyatullin, 2011-11-19
@rednaxi

uploading files to the server with a choice of only certain types of files, for example, so that only pictures or only office documents are displayed in the file selection dialog.
resizing images on the client before uploading to the server

I
intation, 2011-11-20
@intation

Sorry, but this can all be done in HTML5

N
nicolausYes, 2011-11-20
@nicolausYes

Wait, isn't it possible to play full-screen video in HTML5? About 3 months ago I was looking for solutions and it seems like I found it, although I could be wrong.
Here, the first link in Google is blog.jilion.com/2011/07/27/world-s-first-true-html5-fullscreen-video
Or is this not suitable for you?

K
kreativf, 2011-11-19
@kreativf

You can remind that it is difficult to “tear out” the material from which the program consists of a flash. After all, sometimes you don’t want people to be able to tear out some kind of sound, film or other.

P
phasma, 2011-11-20
@phasma

> 4. Working with microphone and webcam
device in HTML5.
Flash RIP :)

E
Eddy_Em, 2011-11-20
@Eddy_Em

P. 4 sawing, soon it will be possible without a "flush".
And everything else can already be implemented today without this unnecessary holey muck.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question