使用JavaScript检测Flash版本 [英] Detect Flash version using JavaScript

查看:125
本文介绍了使用JavaScript检测Flash版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检测浏览器使用哪个Flash版本的JavaScript? 有一个很好的,轻量级的 JavaScript Flash检测库,比使用SWFObject更小更方便。你应该考虑它,如果你只想检查是否安装了Flash,但是你正在使用不同的方法播放 FLV 电影。


$如果您还将其用于播放Flash影片,则应将SWFObject 仅视为 。为了检查,如果安装了Flash,在我看来是沉重的。


How can I detect which Flash version a browser is using with JavaScript?

解决方案

There is a nice, lightweight JavaScript Flash Detection Library, which is smaller and more convenient than using SWFObject. You should consider it, if you only want to check if Flash is installed, but you're using different method of playing FLV movies.

SWFObject should be considered only, if you're also using it for playing Flash movies. For just checking, if Flash is installed, it is to heavy in my opinion.

这篇关于使用JavaScript检测Flash版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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