![]() |
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. |
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 |
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. |
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. |
Re: Flash SWF next to product description
|
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. |
Re: Flash SWF next to product description
Just use extra fields and add the flash code to the extra field for each product.
|
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" /> |
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> |
Re: Flash SWF next to product description
embed method
|
Re: Flash SWF next to product description
Quote:
What are the limitations of the Extras feild? Looks like it might not support many lines of code. Or can it? John Linux |
Re: Flash SWF next to product description
I think it is 250 characters by default, but you can edit that directly in the DB via PHPMyAdmin
|
Re: Flash SWF next to product description
Thanks for steering me in the right direction balinor - a great help. My goal is an auto start, looping product video created from an avi file and compressed for the web into a flv or swf. Here are a few things that I learned over about six hours (I am a flash newbie).
It seems the the embed method (if not all methods) of presenting video has lots of issues for browser compatability and I have confirmed that by testing with different browsers. That aside, this is a couple of examples of what has worked for me, just pasting into the new product field: <embed src="http://www.yourstore.com/video/player.swf" width="320" height="240" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.yourstore.com/video/yourvideo.flv&autostart=true" /> The above worked for the JW FLV Player (referenced as player.swf), which apparently has a limitation of no loop for a single video (as opposed to a playlist). I got a headache trying to locate a cheap player that I could easily configure. I thought there were more available. So I came up with the below that does not require a FLV player because it uses a swf file (created from Flash 8 Pro, Sorensen Squeeze, and others) To embed a swf file and use the "preferred" object method I had success with this. This auto started, did no loop, so I used Squeeze to create loop effect within the swf, and it works that way. Change size as needed: <object type="application/x-shockwave-flash" ╩ data="http://www.yourstore.com/video/yourvideo.swf" width="600" height="240"> <p>Alternative content</p> </object> </object> You can add parameters, paths and adjustments to this for your own preferences. If anyone has an urgent need to see what I have done I can post it temporarily on my unrelated site that is live. I can tuck it into a infrequently visited product "corner". Hope to have a new site up soon with lots of examples. If there are any flash experts out there I have a question about file sizes. Sorensen Squeeze (VERY feature rich) allows me to batch process avi files to swf, create watermarks, and easily set a looping video. Only catch is the file size is greater than when I use Flash 8 Pro (Not as feature rich), even when I match the parameters of compression. Why? |
Re: Flash SWF next to product description
Donster,
What is your site? I'd like to see your vid once you have it up. Or some example of what you did. John |
Re: Flash SWF next to product description
I will leave this up for most of the day for you. My customers will think I am wacked if they see this here. See the video to the right of the product photo.
http://www.edfredstore.com/product.php?productid=16139&cat=259&page=1 While you on on the Edfred site, buy something! : ) |
Re: Flash SWF next to product description
Balinor,
Thanks for the suggestion about throwing code in extra feilds. Is it a matter of loacting the cordinates of this feature? To look into moving it to another area of the page? Or is it possible to shimmy code into a product option (non associated with variants)? Much apprciated, John Linux |
Re: Flash SWF next to product description
This code works for me with Opera and Firefox, but not IE 6.
<object type="application/x-shockwave-flash" ╩ data="http://www.yourstore.com/video/yourvideo.swf" width="600" height="240"> <p>Alternative content</p> </object> </object> Any suggestions anyone? |
All times are GMT -8. The time now is 05:17 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.