Totally Zenned
- Join Date:
- Oct 2008
- Posts:
- 594
- Plugin Contributions:
- 0
Youtube
can i add demo video to my product ?
or like this - watch video demo click here
Thanks.
Totally Zenned
can i add demo video to my product ?
or like this - watch video demo click here
Thanks.
Totally Zenned
who can help me ?
Sensei
Just put the link in your product description directly.
<a href="http://link_to_video_clip">click here</a>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
DrByte:
Just put the link in your product description directly.
<a href="http://link_to_video_clip">click here</a>
every product i need put this code ? :dontgetit
Sensei
Well, since I suspect every product will point to a different video, yes.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
Is that the only way to get You Tube Videos in to my cart. Is there a way to have it stream without having a link off my cart? I think that this would be valuable for a lot of cart owners.
Totally Zenned
I use this simple trick: I name video clips the same as the catalog number. When the page is created, a little code checks to see if there is a video file of same name as the catalog number. If so, it embeds the streaming player. If not, you don't see the player.
For quick demo of streaming video in detail page click here and then scroll down a bit:
http://www.laserdiscvault.com/index.php?main_page=product_info&products_id=585
I don't have many videos yet so you won't see the player if no video exists. Player is nice simple zc streaming plugin trigered by catalog number.
Inactive
kiddo:
I use this simple trick: I name video clips the same as the catalog number. When the page is created, a little code checks to see if there is a video file of same name as the catalog number. If so, it embeds the streaming player. If not, you don't see the player.
For quick demo of streaming video in detail page click here and then scroll down a bit:
http://www.laserdiscvault.com/index.php?main_page=product_info&products_id=585
I don't have many videos yet so you won't see the player if no video exists. Player is nice simple zc streaming plugin trigered by catalog number.
Can you post details of script to achieve this please?
Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others
Totally Zenned
Sure.
At some nice point in your tpl_product_info_display.php:
<?php $movie = $products_model; $movie_file = "/home/laserdis/public_html/media/" . $movie . ".flv"; if(file_exists($movie_file)) {?> <table align="center"><tr><td> <script type="text/javascript"> AC_FL_RunContent( 'class','kimplayer', 'width','500', 'height','375', 'allowFullScreen','true', 'data','/FLVplayer/player_flv_maxi.swf', 'type','application/x-shockwave-flash', 'movie','/FLVplayer/player_flv_maxi', 'flashvars','flv=/media/<?php echo $movie; ?>.flv&configxml=/FLVplayer/config.xml' ); //end AC code </script> </td></tr></table> <?php } ?>Notes:
Make sure $movie_file points to your proper path. I show mine just for example.
Notes:
The AC_FL_RunContent script can be downloaded from Adobe.com This scipt handles all the browser-specific stuff for embeding the video. You can load this script the traditional Zen way, or put it in your html_header.php file.
Notes:
When I say Catalog Number, I really mean the Zen prroducts_model field.
Notes:
The actual FLV player module is NOT the popular JW-FLV player. I tried this and found many problems/conflicts with it if some other popular mods (LightBox for one) I will post a link to the base FLV code in just a few min. (I have to look it up).
Notes:
The Video SideBox on my site is also based on the same code but includes a playlist not in the bigger version.
Notes:
I use a good plugin for Firefox (what else?) to collect video from you tube and other sources.
Notes:
I loose some hair making this all work with Zen Cart but is nice solution if your site needs video. If there is any interest, I maybe package this up as a nice module for everyone.
Inactive
I lost some hair making this all work with Zen Cart but is nice solution if your site needs video. If there is any interest, I maybe package this up as a nice module for everyone.
Excellent fast response..thanks Kiddo.. and yes, think it
would make an excellent mod addition...shame to waste
all that hair you lost creating it...
:wink:
Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others
Totally Zenned
Address for base player code is here:
flv-player.net
Will see about making a package for this.
Zen Follower
Very nice site Kiddo.
It may be my tiny monitor ( I don't have one of those fancy 20 inch flat screen monitors), but I need to scroll to the right to view your page.
Has anyone else mentioned it?
Again, it may be just me.
Totally Zenned
daneh:
Very nice site Kiddo.
It may be my tiny monitor ( I don't have one of those fancy 20 inch flat screen monitors), but I need to scroll to the right to view your page.
Has anyone else mentioned it?
Again, it may be just me.
Thanks for nice comment. And yes, it's been mentioned both by me and others. The boss likes it just like it is but maybe next round of mods I may be able to get him to say OK to narrowing it up a bit.
I save your comment with the others for when it is time to bring it up again. Right now, I just be happy to get past the holiday with as little smoke as possible :)
New Zenner
Wanting to make a sidebox with some samples. Would youtube be the way to go? Seems to be on the same line as what you did.
The Film Bunker
New Zenner
@kiddo - Could you kindly reply with the text of the script you place in html_header.php? I am having a hard time finding the right script on Adobe.com.
Thank you!
Totally Zenned
Norske:
@kiddo - Could you kindly reply with the text of the script you place in html_header.php? I am having a hard time finding the right script on Adobe.com.
Thank you!
This package contains the ac_fl_runcontent script:
http://download.macromedia.com/pub/developer/activecontent_samples.zip
Some more nice info is here:
http://www.adobe.com/devnet/activecontent/articles/devletter.html
Totally Zenned
So the scrolling feature with the "Mountains of Savings" thingy...how do you do that? I would love to have something like that on my sites that links to products when the thumbnails are clicked on! Very nice!
Amy McCoy
Baby Gifts and Baby Gift Baskets
Totally Zenned
Doodlebuckets:
So the scrolling feature with the "Mountains of Savings" thingy...how do you do that? I would love to have something like that on my sites that links to products when the thumbnails are clicked on! Very nice!
Thank you for nice comment!
The scrolling widget can be found here:
http://www.flashcomponents.net/component/dock_menu_xml_3.0.html
Snowcat wants $35-ish for a commercial license, but is worth it.
Putting it in your Zen Cart is not difficult. It runs on an XML (text) file that says what pictures to show, what link to go to when clicked on, and what text to show.
I made a PHP program that picks movies from the ZC database, creates the XML file, and then updates the Zen Cart Specials table to make them be on sale. Each time I run the script I get a new set of sales and images in that widget.
I also have a small PHP function that makes images optimized for the scrolling display. Kind of like IH2, but can be called from anywhere with size and compression level passed in the function call. (very handy)
Totally Zenned
Well, I am trying out the free version before spending the money, to see if I can do it. I created the XML file and that was easy...I just used my file from Google Base Feeder and copied the appropriate lines into the images XML file. I added the code to the header of my main page define file and the <div> line inbetween the body tags in my template. I also uploaded the swf file and the images XML file with the main page define file and nothing is showing up. Am I missing something? I am not an expert at this stuff!
Amy McCoy
Baby Gifts and Baby Gift Baskets
Totally Zenned
I'll post the code I use to embed the object and a sample of the xml file that I use shortly. I should be at my workstation within the hour.
Tell staff why this post should be reviewed.