html - 我的网站加载有问题。这是嵌入到 index.html 中的 .SWF 文件

标签 html css javascript flash xhtml

我的网站 http://www.KushKouture.com/似乎无法在任何网络浏览器中正确加载。闪光灯似乎在那里,因为我可以按预期右键单击以获取闪光灯选项,但 .SWF 无法播放。

我已经包含了下面 index.html 中的代码供您查看。不确定是否有任何遗漏/不正确。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8" />
<meta name="author" content="Kush Kouture" />
<meta name="keywords" content="Kush Kouture, men's lifestyle and street apparel clothing company" />
<meta name="description" content="Kush Kouture is an upcoming, upmarket men's lifestyle and street apparel clothing company. The brand is exclusively manufactured in the UK and currently, based solely online. Inspired by the 'Lifestyle' culture, the brand has conceived its designs based on influences from a variety of musical genres ranging from Punk Rock to Hip-Hop, along with many traits from today's teen demographic." />

<title>Kush Kouture</title>

<script type="text/javascript" src="swfobject.js"></script>   
<script type="text/javascript" src="swfaddress.js"></script>   
<script type="text/javascript" src="swffit.js"></script>   
<script type="text/javascript">   
var flashvars = {};   
flashvars.url_config = "xml/configuration_site.xml";   
flashvars.initServices = true;   
var params = {};   
params.allowfullscreen = true;   
params.allowScriptAccess = "always";
params.play = true;   
var attributes = {};   
attributes.id = 'flashObject';   
attributes.bgcolor = '#000000';   

swfobject.embedSWF("index.swf", "flashContent", "100%", "100%", "8",false, flashvars, params, attributes);  
</script>

<style type="text/css">
    /* hide from ie on mac \*/
    html {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #flashContent {
        width: 100%;
        height: 100%;
    }
    /* end hide */

    body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #ffffff;
    }
    p {

    font-size: 10px;
    font-family: Verdana;
    line-height:17px;
    color:#ffffff;

} 
.style1 {
    font-size: 11px;
    font-family: Verdana;
    color:#ffffff;
    text-transform:uppercase;
}
</style>

</head>
<body>

<div id="flashContent">
<p style="color:#999999">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kush Kouture | You require the latest version of Adobe Flash Player. Please click the image below to download this.</p>   
<p><a href="http://get.adobe.com/flashplayer/"><img src="flash.jpg" alt="Get Adobe Flash player" /></a></p>
</div>   

</body>
</html>

我希望有人能够提供帮助!问候

最佳答案

您知道您使用的是什么类型的服务器吗?如果是 IIS,您需要确保它已设置为使用您的文件扩展名。

关于html - 我的网站加载有问题。这是嵌入到 index.html 中的 .SWF 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11474264/

相关文章:

javascript - 可能的 Safari 错误?修复了相对 div 内的 div 没有动画

python - 在 Python 中使用 Beautifulsoup 时出现 HTML 列表理解问题

php - 在表中显示父子数据

css - 在 CSS 文件中使用 JSP 或 Spring 标签

javascript - 了解 Axios 创建的功能

javascript - 使用 Codeigniter 403 的 Ajax 请求(禁止)

javascript - 如何将 HTML 页面调用到保留所有功能的 div 部分中的 jQuery 选项卡菜单?

html - 浏览器之间相对框中的绝对位置顶部不同

internet-explorer - Internet Explorer 的径向渐变

html - 网格/图像布局问题基础 4 - 这可能吗?