闪光灯失败时显示HTML? [英] Show HTML when flash fails?

查看:107
本文介绍了闪光灯失败时显示HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  

使用jcupload最好的是我需要写的是下面的和flash + < div id =jcupload_content>< / div>

然而,这是我网站上唯一的闪存。如果用户没有闪光灯(认为iPod)我想回落到一个HTML实现。我该怎么做?我知道逻辑上ppl不会通过ipod上传,但如果我要播放音乐,我可以在这种情况下使用flash音频播放器回退到html5音频。 解决方案

更好地使用HTML5音频,然后回退到Flash,我会说;)。

你如何嵌入你的Flash?如果您使用 swfobject ,他们会在文档页面


I am using jcupload whats nice is all i need to write is the below and the flash+js does the rest

<div id="jcupload_content"></div>

However this is the ONLY flash on my site. If the user doesnt have flash (think ipod) i'd like to fallback to an html implementation. How do i do it? I know logically ppl wont be uploading via ipods but if i were to play music i can use a flash audio player fallback to html5 audio in that case.

解决方案

Better to use HTML5 audio, then fallback to Flash, I'd say ;).

How are you embedding your Flash? If you're using swfobject, they give some great examples in their documentation page.

这篇关于闪光灯失败时显示HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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