Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-13-2011, 03:44 PM   PM User | #1
Kersh86
New Coder

 
Join Date: May 2011
Location: UK
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Kersh86 is an unknown quantity at this point
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
Kersh86 is offline   Reply With Quote
Old 05-18-2011, 04:52 PM   PM User | #2
Kersh86
New Coder

 
Join Date: May 2011
Location: UK
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Kersh86 is an unknown quantity at this point
Can anybody help me on this?
Kersh86 is offline   Reply With Quote
Old 05-18-2011, 08:54 PM   PM User | #3
lambopark
New to the CF scene

 
Join Date: May 2011
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
lambopark is an unknown quantity at this point
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>
lambopark is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, swf

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:13 PM.


Advertisement
Log in to turn off these ads.