HTML 5< video>标签与Flash视频。优缺点都有什么? [英] HTML 5 <video> tag vs Flash video. What are the pros and cons?

查看:501
本文介绍了HTML 5< video>标签与Flash视频。优缺点都有什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来像新的< video> 标签是最近的炒作,尤其是在Firefox现在支持它的情况下。这个消息在各地的博客上都出现了,大家似乎都很兴奋。但是呢?



就像我搜索的那样,我找不到比老的Flash视频更好的东西。事实上,我只看到它的问题:


  • 在所有的浏览器开始支持它之前还有一段时间,大多数人升级之前;
  • Flash已经可用,每个人都有;
  • 您可以将Flash与任何想要控制播放的奇特UI 。我收集的标签也可以控制(通过JavaScript的可能),但它将能够全屏?


    唯一我可以看到< video> 标记的两个优点:$ b​​
    $ b


    • 它更语义化 - 可能对包括我在内的所有人都不重要;它不依赖于单个商业第三方实体(Adobe) - 我也没有看到一个令人信服的理由转换,因为免费的播放器和视频转换器已经可用了,而且Adobe并没有以任何方式阻碍整个过程(甚至不符合他们的利益)。


    所以...有什么大不了的?
    $ b

    新增:


    • 无论如何,有多少移动设备实际上能够以合适的速度解码视频, Flash还是其他?

    • 直到主流移动设备获得< video> 支持多久?
    • 有多少人在手机上的网页上观看视频?



    至于语义部分 - 我知道搜索引擎现在可以更好地检测视频,但是...无论如何,他们会怎么做?好的,所以他们知道页面中有一个视频。和?他们不能索引视频!


    $ b

    新增:

    另一个缺点这开辟了一个全新的跨浏览器不兼容的领域。 HTML和CSS在这方面已经很杂乱了。闪光至少在每个地方都是一样的。但至少有一家主要的浏览器厂商可以根据< video> 标签(任何人都可以说Internet Explorer?)地狱探索。

    增加:



    竞争=更多的创新。确实如此。给予Adobe更多的竞争可能会迫使他们改进目前缺乏的Flash领域。 Linux似乎是一个薄弱的地方,引用了很多。

    解决方案

    在这里有很多好的点,像武术艺术格斗风格,每一点都有其推动力,而且每一个都可以辩护;但是每个人都可以用适当的动作来击败。

    任何站在关于专制插件的论点上的人都会很快下降。微软,苹果和Adobe都承认有罪,但那只是商业。您不会在一夜之间改变业务,并通过新标签添加每层复杂性,例如< video>它支持一个非常技术性的接口将导致每个浏览器*稍微*不同的实现。

    HTML 5现在可以使用,Flash也可以使用。它是如何实现的,它需要的技能 - 它定义了每个资源,无论是员工的表现,站长的权力,还是域的影响力。

    尽管我只有40岁,但是当我选择橙色或绿色的单色显示器作为颜色选择时,我开始编程,硬件安装随附祈祷书,而不是指导手册。也许你可以找出调制解调器的AT命令,当它不配置你的硬件,64K内存就像WOWWWWW!

    HTML 5 / Flash是一个未成年人讨厌相比,废话。让我们都学习如何在社区中合作,以获得更好的资源。有一个开源Flash项目,它会有错误。所以将HTML 5 ... ...

    在这里的每一个论点是真实的,但不一定生产力。用这种能量来解决问题。

    Seems like the new <video> tag is all the hype these days, especially since Firefox now supports it. News of this are popping up in blogs all over the place, and everyone seems to be excited. But what about?

    As much as I searched I could not find anything that would make it better than the good old Flash video. In fact, I see only problems with it:

    • It will still be some time before all the browsers start supporting it, and much more time before most people upgrade;
    • Flash is available already and everyone has it;
    • You can couple Flash with whatever fancy UI you want for controlling the playback. I gather that the tag will be controllable as well (via JavaScript probably), but will it be able to go fullscreen?

    The only two pros for a <video> tag that I can see are:

    • It is more "semantic" - which probably holds no importance to a whole lot of people, including me;
    • It is not dependent on a single commercial 3rd party entity (Adobe) - which I also don't see as a compelling reason to switch, because free players and video converters are already available, and Adobe is not hindering the whole process in any way (it's not in their interests even).

    So... what's the big deal?

    Added:

    OK, so there is one more Pro... maybe. Support for mobile devices. Hard to say though. A number of thoughts race through my head about the subject:

    • How many mobile devices are actually able to decode video at a decent speed anyway, Flash or otherwise?
    • How long until mainstream mobile devices get the <video> support? Even if it is available through updates, how many people actually do that?
    • How many people watch videos on web pages on their mobile phones at all?

    As for the semantics part - I understand that search engines might be able to detect videos better now, but... what will they do with them anyway? OK, so they know that there is a video in the page. And? They can't index a video! I'd like some more arguments here.

    Added:

    Just thought of another Cons. This opens up a whole new area of cross-browser incompatibility. HTML and CSS is quite messy already in this aspect. Flash at least is the same everywhere. But it's enough for at least one major browser vendor to decide against the <video> tag (can anyone say "Internet Explorer"?) and we have a nice new area of hell to explore.

    Added:

    A Pro just came in. More competition = more innovation. That's true. Giving Adobe more competition will probably force them to improve Flash in areas it has been lacking so far. Linux seems to be a weak spot for it, cited by many.

    解决方案

    There are many good points here, and like a Martial Arts fighting style, each point has its thrust, and each can be defended; but each can be defeated with the proper moves.

    Anyone standing on arguments about "propietary" plugins will fall quickly. Microsoft, Apple, and Adobe all bear the guilt, but that's just BUSINESS. You won't change business overnight, and each layer of complexity added by a new tag such as <video> which supports a very technical interface will result in * slightly * different implementations by each browser.

    HTML 5 works now, and so does Flash. How it is implemented, the skill it requires- this defines each resource, whether it's an employee's performance, a webmaster's power, or a domain's influence.

    Although I'm only 40, I began programming when orange or green monochrome monitors were the color choice, and hardware installation came with prayer books instead of instruction manuals. Maybe you could figure out AT commands for the modem when it wouldn't configure with your hardware, and 64K RAM was like, WOWWWWW!

    HTML 5/Flash is a minor nuisance compared to that crap. Let's all learn how to collaborate in community toward a better resource. There is an Open Source Flash Project, it will have bugs. So will HTML 5...

    Every argument here is true, but not necessarily productive. Use that energy toward a solution.

    这篇关于HTML 5&lt; video&gt;标签与Flash视频。优缺点都有什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆