Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2011
    Location
    UK
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Coding Swf Video

    Hey im having a problem putting a swf video in a website

    Code:
    <script type="text/javascript" src="swfobject.js"></script>
    	<script type="text/javascript">
    	function showIt(){
    		var so = new SWFObject('./images/portfolio/tours/stoodly_pano/panoStudioViewer.swf',Stoodly','325','325','9');
    		so.addParam('allowscriptaccess','always');
    		so.addParam('bgcolor','#FFFFFF');
    		so.addParam('flashvars','file=stoodly2.xml&autostart=true');
    		so.write('portfolio-content');
    	}
    	</script>
    With this code it shows a loading bar thats as far as it goes can anyone show me where i am going wrong

  • #2
    New Coder
    Join Date
    May 2011
    Location
    UK
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Can anybody help me on this?

  • #3
    New to the CF scene
    Join Date
    May 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Try this


    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="" HEIGHT="" id="Yourfilename" ALIGN="">

    <PARAM NAME=movie VALUE="Yourfilename.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333399>

    <EMBED src="../images/portfolio/tours/stoodly_pano/panoStudioViewer.swf" quality=high bgcolor=#333399 WIDTH="" HEIGHT="" NAME="Yourfilename" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">

    </EMBED>
    </OBJECT>


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •