Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

netcom on "HTML work around for SWF security issue"

$
0
0

HI All,
I wanted to get some help on this HTML code. WP 3.6 decided to not allow SWF. I thought to go a different approach to this. I do have a couple questions about the code itself. I created a flash file and and thought to just park it outside of WP yet on the same server and to then instruct via HTMl where the file is parked "External from WP site" My question is the paths for my SWF file and my SWZ file.
I want to park those files in a folder called say "flashfolder"
my path would be "123456F2.netsolhost.com/flashfolder/holiday advertising.swf"

Yet when creating my flash file in Adobe it exports my HTML file referencing the "samesite" I am unclear on which paths need to reflect the specific path as in exampled in Bold above?

Here is the pertinent code to place in my WP page yet if someone would Bold the areas that need a specific path, it would be appreciated.
Also if you would where I could place an "ALT" tag to use where someone's browser may have scripts off and I would like a place holder of a gif or png...Thanks for BOLDING the areas in question and pointing anything out in advance
NC

<div id="flashContent">

            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" id="holiday advertising" align="middle">

                <param name="movie" value="holiday advertising.swf" /> <strong><-- is this OK like this or does it need a specific path?</strong>

                <param name="quality" value="high" />

                <param name="bgcolor" value="#ffffff" />

                <param name="play" value="true" />

                <param name="loop" value="true" />

                <param name="wmode" value="window" />

                <param name="scale" value="showall" />

                <param name="menu" value="true" />

                <param name="devicefont" value="false" />

                <param name="salign" value="" />

                <param name="allowScriptAccess" value="sameDomain" /> <strong><--- IS This the specific path? in "  "</strong>

                <!--[if !IE]>-->

                <object type="application/x-shockwave-flash" data="holiday advertising.swf" width="640" height="360"> <strong>Again here also? "  "</strong>

                    <param name="movie" value="holiday advertising.swf" />

                    <param name="quality" value="high" />

                    <param name="bgcolor" value="#ffffff" />

                    <param name="play" value="true" />

                    <param name="loop" value="true" />

                    <param name="wmode" value="window" />

                    <param name="scale" value="showall" />

                    <param name="menu" value="true" />

                    <param name="devicefont" value="false" />

                    <param name="salign" value="" />

                    <param name="allowScriptAccess" value="sameDomain" />      <strong><-- Is Value=" My specific path/folder/file</strong>

                <!--<![endif]-->

                    <a href="http://www.adobe.com/go/getflash">

                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g if" alt="Get Adobe Flash player" />

                    </a>

                <!--[if !IE]>-->

                </object>

                <!--<![endif]-->

            </object>

        </div>

[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]


Viewing all articles
Browse latest Browse all 8245

Trending Articles