Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Flash SWF next to product description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2008, 04:00 PM
 
Donster Donster is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 115
 

Default Flash SWF next to product description

I would like to include a short video clip describing products. Clip seems to look best at about 1meg size.

Seems like a flash swf file could do it (I could do an animated gif but I think it would be slower to load - swf can stream, right?)

I can produce the videos that I want well enough. Just don't know how to implement them.

Would I modify a product template page or should I create a static page with the video, like a catalog of sorts?

Seem like it would be best to have a link right next to the product photo.
__________________
X-Cart Gold v4.1.10
Reply With Quote
  #2  
Old 11-05-2008, 08:18 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Flash SWF next to product description

maybe look at this mod?: x-cart-shadowbox-integration-v41

I've not used it for video - maybe someone else who has can advise you
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #3  
Old 11-06-2008, 10:59 AM
 
Donster Donster is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 115
 

Default Re: Flash SWF next to product description

Thanks. I researched your lead further. Might work.

I did see a user comment on the shadowbox forum that I also experienced with shadowbox while surfing the web. After the image comes up, to return to your website you have to close the image window properly. If you hit the browser back button like we are all trained to do, you do not return to the site hosting the image. I think the back button puts you on the Previous site, not too good for our customers. Maybe a fix for that.
__________________
X-Cart Gold v4.1.10
Reply With Quote
  #4  
Old 11-13-2008, 03:15 AM
 
chris128 chris128 is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 94
 

Default Re: Flash SWF next to product description

Hi,
just wondered how you got on with this.
I have been trying to add an animated banner to my homepage (swf file) but it just shows a blank each time (not a blank with a red cross - just nothing).
Worked fine in osc but can not get an image in xcart.
I tried to look in the faqs but can not find specific details except about buying an add-on but surely you can add a banner without extras?
Thanks.
__________________
X-Cart Gold
Version 4.5.2
on windows
UK based
Reply With Quote
  #5  
Old 11-13-2008, 03:25 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Flash SWF next to product description

May want to read this one:

http://forum.x-cart.com/showthread.php?t=43328&highlight=add+flash
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 11-13-2008, 08:20 AM
 
Donster Donster is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 115
 

Default Re: Flash SWF next to product description

Looks like the previous post might help on the banner. I am not after a banner, but want to show a video clip of each product for a new site I am working on. I am surprised that I don't see much about this on the forums.

I will end up slugging it out on my own I guess, and if I learn anything useful I will post it for others.
__________________
X-Cart Gold v4.1.10
Reply With Quote
  #7  
Old 11-13-2008, 09:14 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Flash SWF next to product description

Just use extra fields and add the flash code to the extra field for each product.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 11-13-2008, 01:54 PM
 
Donster Donster is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 115
 

Default Re: Flash SWF next to product description

Paste HTML code into the new field created on the product edit page, like this sample that I found? I have never done this.

<embed src="http://www.myfileserver.com/folder/flvplayer.swf" width="320" height="240"
bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=http://www.myfileserver.com/folder/video.flv&autostart=true" />
__________________
X-Cart Gold v4.1.10
Reply With Quote
  #9  
Old 11-13-2008, 02:03 PM
 
Donster Donster is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 115
 

Default Re: Flash SWF next to product description

Or this way? Using SWFObject from another post:
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "400", "100%", "8", "#336699");
so.addParam("quality", "low");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");
</script>
__________________
X-Cart Gold v4.1.10
Reply With Quote
  #10  
Old 11-13-2008, 02:37 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Flash SWF next to product description

embed method
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:04 PM.

   

 
X-Cart forums © 2001-2020