开发者

Flash content works on direct link, but not when inserted into html?

开发者 https://www.devze.com 2022-12-22 22:36 出处:网络
How come http://www.zolomon.com/wptj/wp-content/themes/default/polaroid.swf works perfectly but not when implemented at http://www.zolomon.com/wptj/?page_id=8 ?

How come http://www.zolomon.com/wptj/wp-content/themes/default/polaroid.swf

works perfectly but not when implemented at http://www.zolomon.com/wptj/?page_id=8 ?

The code I use to insert the .开发者_开发技巧swf-file is the following:

            <object width="522" height="490" id="polaroid" align="middle">
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="false" />
                <param name="movie" value="polaroid.swf" />
                <param name="menu" value="false" />
                <param name="quality" value="high" />
                <param name="scale" value="noscale" />
                <param name="bgcolor" value="#DFCEAF" />
                <embed src="wp-content/themes/default/polaroid.swf" menu="false" quality="high" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="522" height="490" name="polaroid" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
            </object>


When inspecting the HTTP requests, your photos.xml has the wrong link. It is requesting:

http://www.zolomon.com/wptj/photos.xml

And on the working version you are requesting:

http://www.zolomon.com/wptj/wp-content/themes/default/photos.xml

Make sure the paths is right in the webpage.

0

精彩评论

暂无评论...
验证码 换一张
取 消