在 html5 网站上使用 .swf 虚拟导览文件
using a .swf virtual tour file on a html5 website
我使用 html5/bootstrap 开发了一个网站,其中一个页面有一个示例 swf 虚拟导览。除最后一期外,一切都已准备好部署:
我有一个 .swf 虚拟漫游,它在 Google chrome 等平台上运行良好,但显然不适用于移动设备,因为它是基于 Flash 的文件。
我需要的是一种在所有移动设备上都可以使用的 iframe 等中查看此文件的方法。
任何建议都会很有帮助。
看起来你最好的选择是使用像 jQuery SWFObject
这样的 JS 插件,如果设备上没有安装 Flash,则回退到 message/alternate 图片。否则,iFrame 不会帮助您(不会改变您需要安装 Flash 的事实)。
SWFObject Example: http://jquery.thewikies.com/swfobject/
Source:
Display alternate content when Flash is not installed with jquery.swfobject
使用 Google Swiffy:
将您的 SWF 转换为 HTML5
A simple Flash to HTML5 converter that helps make SWF files available
to a larger audience.
我使用 html5/bootstrap 开发了一个网站,其中一个页面有一个示例 swf 虚拟导览。除最后一期外,一切都已准备好部署:
我有一个 .swf 虚拟漫游,它在 Google chrome 等平台上运行良好,但显然不适用于移动设备,因为它是基于 Flash 的文件。
我需要的是一种在所有移动设备上都可以使用的 iframe 等中查看此文件的方法。
任何建议都会很有帮助。
看起来你最好的选择是使用像 jQuery SWFObject
这样的 JS 插件,如果设备上没有安装 Flash,则回退到 message/alternate 图片。否则,iFrame 不会帮助您(不会改变您需要安装 Flash 的事实)。
SWFObject Example: http://jquery.thewikies.com/swfobject/
Source: Display alternate content when Flash is not installed with jquery.swfobject
使用 Google Swiffy:
将您的 SWF 转换为 HTML5A simple Flash to HTML5 converter that helps make SWF files available to a larger audience.