SWF文件不能在Chrome中启动 [英] SWF file not launching in Chrome

查看:171
本文介绍了SWF文件不能在Chrome中启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有10个html文件,基本上他们是测验,最终用户可以在Mac和PC上的Chrome,Safari和Firefox中打开。

这些文件最初创建大约3年前,现在我发现最新版本的Chrome和Safari不能在Mac上打开,不知道关于个人电脑。

从我对编码的有限知识来看,这些html文件应该启动一个 .swf 浏览器。这是什么东西,很容易解决?

解决方案


我的最终用户没有做在线测验,他们只需下载压缩包,解压缩,然后参加测验,基本上他们是在本地做

$ / b

如果您愿意跳过使用Flash Player(浏览器插件)并将Flash Player作为桌面应用程序运行,那么它将运行您的测验。

我在Windows PC上工作。您的设备上应该已经存在 FlashPlayer.exe (即:浏览器在网页中以插件的形式运行它。)



可以在文件资源管理器中右键单击SWF,然后选择使用Flash Player打开。也许可以将这样的免费独立玩家包装在某个文件夹中与您的测验?





编辑: em>那么你会推荐为每个测验分别打包一个,一个用于Windows,一个用于Mac?最后,通过添加独立的
播放器,.swf文件如何知道如何使用播放器,而不是最终用户计算机上的
默认.swf播放器?


这里是链接针对Adobe的独立FlashPlayers(称为投影机)。投影机也是上图中的一个窗口。从视觉上来看,安装程序 独立版本,除了安装程序版本对您的操作系统的其他应用程序(例如:浏览器) b

http://www.adobe.com/support/ flashplayer / debug_downloads.html



PC(exe): 下载Flash Player投影机
$ b MAC(dmg):< a href =https://fpdownload.macromedia.com/pub/flashplayer/updaters/24/flashplayer_24_sa.dmg =nofollow noreferrer> 下载Flash Player投影机



(无需安装,只需下载并运行 .exe / .dmg 文件)。将swf文件拖到窗口中。测试这两个操作系统。

一旦测试,然后决定最终用户的指示。显然,它们不能私下分发(见下面的注释),所以在你的网站上可能会提供单独的测验和链接链接。这些玩家下载。

1)要么通知用户运行下载的独立播放器&或者尝试制作一些脚本/批处理文件。例如,要在PC上测试,只需将独立播放器放置到 Quiz.swf 的相同位置即可。现在打开 NotePad 程序粘贴这段文字:


  start flashplayer_24_sa.exe quiz.swf 

另存为 StartQuiz.bat Quiz.swf 位置相同。现在双击 StartQuiz.bat 进行测试,看看它是否全部自动运行。研究这样一个脚本文件的MAC / OSx等价物。



注意关于分发:检查它们是否可以打包... Adob​​e这些仅供开发人员进行测试。不得分发给公众。我认为他们的逻辑(或恐惧?)是,如果有太多独立的玩家链接在那里,普通的网络用户可能会得到错误的版本&当它不在浏览器中显示时,它将无法理解。


I have 10 html files, essentially they are quizzes that end users can open in Chrome, Safari and Firefox on both Macs and PCs.

These files were originally created about 3 years ago and now I'm finding that the latest versions of Chrome and Safari will not open on a Mac, not sure about PCs.

From my very limited knowledge about coding, these html files should be launching a .swf file that plays in the browser. Is this something that is easily fixable?

解决方案

"My end users are not doing the quizzes online, they simply download the zip, unzip, and take the quiz. Basically they are doing these locally"

If you're willing to skip using Flash Player (the browser plugin) and just run Flash Player as a desktop application then it will run your Quiz fine.

I working am on a Windows PC. The FlashPlayer.exe should already exist on your device (ie: the browser runs it within web pages as a "plugin").

Any SWF can be right-clicked in file explorer then choose "Open with Flash Player". Maybe package such free stand-alone players in some folder with your Quiz?


Edit:

"So would you recommend having a separate package for each quiz? One for Windows and one for Mac?... Finally, by adding the stand alone player, how would the .swf file know to use the player, instead of the default .swf player on the end users computer?"

Here is the link for standalone FlashPlayers (called Projectors) from Adobe. The Projector is also a window like in picture above. Visually there is no difference between versions installer & standalone, except the installer version becomes known to other apps of your OS (eg: browsers)

http://www.adobe.com/support/flashplayer/debug_downloads.html

PC (exe) : Download the Flash Player projector

MAC (dmg) : Download the Flash Player projector

(no installation, just download and run the .exe / .dmg file). Drag swf file into the window. Test this for both operating systems.

Once tested, then decide on instructions for end-users. Apparently they can't be privately distributed (see note below), so on your site maybe offer separate links for both quiz & these player downloads.

1) Either inform users to run the downloaded standalone player & drag Quiz swf into player window when it shows.

2) Or try making some script/batch file. For example to test now on PC just put standalone player into same location as Quiz.swf. Now open NotePad program paste this text :

start flashplayer_24_sa.exe quiz.swf

Save as StartQuiz.bat in same location as Quiz.swf. Now test by double-clicking StartQuiz.bat to see it all run automatically. Research the MAC/OSx equivalent of such a script file.

note about distribution : Check with them if it's okay to package... Adobe says these are for testing by devs only & must not be distributed to general public. I think their logic (or fear?) is that if too many standalone player links are out there, the average web users might get the wrong version & won't understand when it's not showing within browsers etc.

这篇关于SWF文件不能在Chrome中启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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