简体   繁体   English

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

[英]Having an issue with my Web site loading. This is a .SWF file embedded into the index.html

My Web site http://www.KushKouture.com/ does not seem to load correctly in ANY web browser. 我的网站http://www.KushKouture.com/似乎无法在任何Web浏览器中正确加载。 The flash seems to be there, as I can right click to get the flash options as expected, but the .SWF does not play. 闪光灯似乎在那里,因为我可以右键单击以获取预期的闪光灯选项,但是.SWF无法播放。

I have included the code from the index.html below for your review. 我已包含下面index.html中的代码供您查看。 Not sure if anything is missing/incorrect. 不知道是否缺少/不正确。

<!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>

I hope somebody will be able to help! 希望有人能够提供帮助! Regards 问候

Do you know what type of server your using? 您知道您使用哪种服务器? If IIS, you need to make sure that it's set up to work with your file extensions. 如果是IIS,则需要确保将其设置为与文件扩展名一起使用。

The flash file is being loaded and it does play. Flash文件正在加载并且可以播放。

If you press the tab key a couple of times, flash accesibility helper is activated an you can see a yellow rectangle marking where the fullscreen button is. 如果几次按Tab键,则会激活闪光灯辅助功能,并且您会看到一个黄色矩形标记,表示全屏按钮所在的位置。

My guess is that the menu system is not loading becouse you have a syntax error in one of the -many- XML files. 我的猜测是菜单系统未加载,因为您在-many- XML文件之一中存在语法错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM