Adding/embedding videos?

I wanted to add a few videos of some products but the video/multimedia option in the description box doesn’t even have a ‘browse’ button so I can locate it on my PC.



However, I am trying to embed flash videos to an online shop where I can show customers reviews of the products in video form. I suggesting uploading the videos to Youtube and embedding them on the site, but I don’t think I want to rely on 3rd party in case they take the video down for example.



I’m trying to find a script which allows him to upload the video onto his server, and then embed it into a webpage easily. I hope its as simple as embedding it straight from YT as there are hundreds of products he has videos for.

Any ideas anyone? How do I find out what version I am running, maybe I am on a old one?

[url]http://www.yoursite.com/?version[/url]

Unfortunately I think you have to upload the flv files into a directory and then when you are using the WYSIWYG editor you have to point it to that file.



I think I put my files in a folder called flash. So I think I made my path flash/my_file.flv The WYSIWYG editor does put in everything else for you, but unfornately it doesn’t allow you to browse for the file. It would be really nice to browse for the file just like you can browse for an image.



Brandon

Hmm, well I am running CS-CART: version 2.0.8



I did what you said and uploaded the file and entered it in the field. But it just shows up as blank in that area where I have appointed the flash file. Nothing appears in the preview box either? Am I missing something?

I don’t know if this can be of help, but let us know. Down the page the instructions for 2.0

kb2.cs-cart.com/add-flash

Sorry, that didn’t seem to help, its still clear with nothing there. Either way, if you put the path to ‘a file’ how would you change it as all the videos are different for each product?

You have to put the whole code to each video. Also the description says:



…where FLASH_PATH is the URL of the flash animation file…


```php

https://active.macromedia.com/flash2/cabs/flash/

swflash.cab#version=7,0,0,0” width=“FLASH_WIDTH”

height=“FLASH_HEIGHT”>





width="FLASH_WIDTH" height="FLASH_HEIGHT"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />

```

Oh, so does that code go in the description area and not the homepage bit as mentioned in that tutorial?

[quote name=‘J1mmy’]Oh, so does that code go in the description area and not the homepage bit as mentioned in that tutorial?[/quote]

It’s called ‘Block text’ field…

[quote name=‘indy0077’]It’s called ‘Block text’ field…[/QUOTE]

Well I’ve entered the below code into the description product field, like so:











Doesn't work still. What am I missing?

Then have a look at this. I’ve created a new ‘Block’ as well:



See the ‘Video’ tab and ‘Description’ tab:

[URL]http://www.cscartdemo.martfox.com/index.php?dispatch=products.view&product_id=29778[/URL]



Flash - Homepage:

[URL]http://www.cscartdemo.martfox.com/index.php[/URL]

…and the files shold be ‘.swf’… You can’t display flv’s on a web page without an FLV player.

Hmmm, can I see the code you used?



Oh, so I can’t use flv files? Aren’t they flash files though?

Here is the code for FLV files:


```php






type='application/x-shockwave-flash'
id='single2'
name='single2'
src='http://www.cscartdemo.martfox.com/video/player.swf'
width='470'
height='320'
bgcolor='undefined'
allowscriptaccess='always'
allowfullscreen='true'
wmode='transparent'
flashvars='file=http://www.cscartdemo.martfox.com/video/video.flv'
/>
```and here for SWF files:

```php




```Here is the FLV player. Upload the file to the folder of your videos and alter the path.

[URL]http://www.martfox.com/customer/downloads/8/Flash-and-Video[/URL]

I got it working by using your code above for the flash file and inputted my own values. I downloaded a stand alone player.



Thanks!!

Just one quick question, using the code below, after inputting this in the source view and then switching to HTML view, there are 2 flash objects, but only one shows on the actual page. If I delete one of them the full screen mode gets disabled. Anyway I can hide the other one as this takes up and shows as empty space on the description page.


```php






type='application/x-shockwave-flash'
id='single2'
name='single2'
src='http://www.cscartdemo.martfox.com/video/player.swf'
width='470'
height='320'
bgcolor='undefined'
allowscriptaccess='always'
allowfullscreen='true'
wmode='transparent'
flashvars='file=http://www.cscartdemo.martfox.com/video/video.flv'
/>
```

Nevermind, sorted :slight_smile:

Something is wrong in your code. See the screenshot of my product. And here is the code again:


```php








```

image-028.jpg