• Could someone take a look at the source in this site and see if you can tell me why the embedded swf file is not working. The file works on my local computer, so I think it is a good flash file. Other embedded sound is working. Thanks for any help.

Viewing 13 replies - 1 through 13 (of 13 total)
  • link?

    Thread Starter wildweasel

    (@wildweasel)

    Problem solved, my FTP client was not uploading the entire file for some reason. I tried another ftp client and the problem was resolved. Thank You.

    Hi Guys,

    could someone help me with the following:

    I am trying to embed a swf file in my index.php template page and when i browse my wordpress in my browser it doesn’t load. the code i have is below on my index.php file.

    <div id=”contentflash”><OBJECT classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
    codebase=”;https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&#8243;
    WIDTH=”439″ HEIGHT=”450″>
    <PARAM NAME=movie VALUE=”images/agfpicshow.swf”>
    <PARAM NAME=quality VALUE=”high”>
    <PARAM NAME=wmode VALUE=”transparent”>
    <EMBED src=”images/agfpicshow.swf” WIDTH=”439″ HEIGHT=”450″ ALIGN=”” quality=”high” WMODE=”transparent” TYPE=”application/x-shockwave-flash”
    PLUGINSPAGE=”https://www.macromedia.com/go/getflashplayer&#8221; movie=”images/agfpicshow.swf”></EMBED>
    </OBJECT>
    </div>

    Help appreciated

    Rob

    where is the .swf located in relation to the theme?

    images/agfpicshow.swf

    use the right path, or use a url. your profile says youre a web developer?

    Hi

    the swf file is located in images/ which resides in the theme folder with the index.php file.
    Ive tried full path and it still doesn’t work i wondered if there was a problem with swf and the OBJECT in wordpress??

    Rob

    no, millions (im sure) of wordpress blogs use flash just fine. ??

    I should point out also, that embed is deprecated, but then, you should know that. Thats not the problem, but still.

    I would love to see an example of a flash object not working when using the full url, btw. If you decide to share the url, Ill stop back.

    The url to my flash file is”
    https://www.robsteele.co.uk/worddemo_site/wordpress/agfpicshow.swf

    Problem i have is it works fine in the index.html but the wordpress index.php, im new to wordpress.

    remove “images”. it’s not in your “images” directory.

    I have changed and still not loading if i right click on the div the movie says not loaded??i have tried this on my other site and it works ok is this a wordpress thing or a setting below ive missed??

    <div id=”contentflash”><OBJECT classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
    codebase=”;https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&#8243;
    WIDTH=”439″ HEIGHT=”450″>
    <PARAM NAME=movie VALUE=”agfpicshow.swf”>
    <PARAM NAME=quality VALUE=”high”>
    <PARAM NAME=wmode VALUE=”transparent”>
    <EMBED src=”agfpicshow.swf” WIDTH=”439″ HEIGHT=”450″ ALIGN=”” quality=”high” WMODE=”transparent” TYPE=”application/x-shockwave-flash”
    PLUGINSPAGE=”https://www.macromedia.com/go/getflashplayer&#8221; movie=”agfpicshow.swf”></EMBED>
    </OBJECT>
    </div>

    I’m still showing that the “images/” is still there. Did you save your file and upload it to overwrite the old? Maybe your host caches stuff for you and you have to wait a bit. But when you view the source code, the “images/” is still there.

    Seems to be cached but i have checked and even without images/ i still get now flash movie is this something that is to do with the index.php page in my themes folder?

    is working now I have produced the code below if anyone else needs it.

    <object data=”<?php bloginfo(‘template_directory’); ?>/agendaforchildren.swf”
    type=”application/x-shockwave-flash”
    width=”434″ height=”390″>
    <param name=”movie” value=”<?php bloginfo(‘template_directory’);
    ?>/agendaforchildren.swf” />
    <param name=”menu” value=”false” />
    <param name=”wmode” value=”transparent” />
    <param name=”quality” value=”best” />
    </object>

    hey robsteele,

    i tried your code, i tried swfobject javascript, i tried kimili embed, and a couple of widgets but nothing works, not to mention the original adobe code generated by flash.. so now i’m wondering, i must be doing something fundamentally wrong, what do you think it is?? i tried to link the swf object absolutely and relatively, i tried to put it in the root folder, in the blog folder, in the images folder and nothing works. there must be something i’m missing, and i can’t figure out what. does anything come to mind?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘SWF file not working’ is closed to new replies.