有谁知道gmail使用flash有什么用?
我觉得 Gmail.com 使用 Flash 很奇怪,因为 Flash 在网络上被认为是糟糕(在很多方面)。
Gmail 使用 Flash 的目的是什么?
为什么不使用 Java Applet 或 Javascript 来实现该功能?
I find it odd that Gmail.com uses Flash since Flash is considered lousy for the web (in many ways).
What did Gmail use Flash for?
Why wasn't that feature implemented with Java Applet or Javascript instead?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
还有各种性感的附件,如 @ScottR提到:
...Flash 是肯定用于视频聊天。
Along with various sexiness with attachments, as @ScottR mentioned:
...Flash is definitely used for video chat.
我认为他们用它来显示附件的上传进度。
I think they use it for the upload progress on attachments.
Flash 用于处理附件上传,主要是因为打开的“浏览”窗口可以设置为允许多个文件选择,直到最近,如果不使用 Flash、Java 或其他插件,这是不可能的。
Flash 是实现此目的的一种流行方法。然而,这种行为现在在大多数浏览器上都可用 使用 HTML5。
Flash is used for handling attachment uploads mainly because the "browse" window that gets opened can be set to allow multiple file selection, which was until recently not possible without using Flash, Java or some other plugin.
Flash is a popular method to accomplish this. However, this behavior is now available natively on most browsers using HTML5.
扩展我上面给出的答案; Flash 还用于在网页中启用声音。
我在 Gmail 页面上从未收到过电子邮件(至少我的声音是打开的),但我可以想象它会发出声音来通知您刚刚收到了一封电子邮件。当你在聊天中收到新消息时,Facebook 也会这样做(或者过去,我相信)会播放声音。
最明显的例子是著名的 Google Pacman,它使用 flash 来创建我的声音效果思考。
所以我想原因之一是声音。正如其他人已经提到的那样,它也适合用于文件上传,因为它是一种简单且更通用的方法,允许返回进度的文件上传 - 并且可以通过 JavaScript 进行交互。
Expanding on the answers given above me; flash is also used to enable sounds within a webpage.
I've never received an email whilst on the Gmail page (with my sound on at least) but I can imagine that it creates a sound to notify you that you've just received an email. Facebook also does this (or used to, I believe) to play a sound when you receive a new message on chat.
The most obvious example of this was the famous Google Pacman which used flash to create the sound effects I think.
So I imagine that one of the reasons is for sounds. As others have already mentioned it is also good to use for file uploads as it's an easy and more universal way to allow file uploads which return progress - and can be interacted with from JavaScript.