html embed src code will not display .swf file

Discussion in 'Programming' started by fergald, Dec 14, 2007.

  1. #1
    Hi,

    i have a piece of html code using the embed src and pointing to a remote html page but the page will not load what am i doing wrong. If you take the url http://www.uncfsu.edu/itts/training/training-videos/outlook_tutorials/outlook_tutorials.swf - and navigate using IE it work fine.

    <object width="425" height="355"><param name="movie" value="http://www.uncfsu.edu/itts/training/training-videos/outlook_tutorials/outlook_tutorials.swf"></param><param name="wmode" value="transparent"></param><embed src="http://www.uncfsu.edu/itts/training/training-videos/outlook_tutorials/outlook_tutorials.swf" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

    any help would be much appreciated.

    Kind Regards
    Fergal.
     
    fergald, Dec 14, 2007 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #2
    At least if you are going to take content that is not yours, don't hotlink.

    Save the file to your site and display it.

    Your embed code is incorrect:

    
    <object style="border:1px solid green;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="650" height="500">
                <param name=movie value="http://www.uncfsu.edu/itts/training/training-videos/outlook_tutorials/outlook_tutorials.swf">
                <param name=quality value=high>
                <param name=bgcolor value=#FFFFFF>
    
                <embed style="border:1px solid green;" src="http://www.uncfsu.edu/itts/training/training-videos/outlook_tutorials/outlook_tutorials.swf" quality=high bgcolor=#FFFFFF width="650" height="500" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
            </object>
    
    Code (markup):
    Peace,
     
    Barti1987, Dec 15, 2007 IP