PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

manufacturers' and products' video alpha release

28 replies to this topic
#1
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
As I told in an "old" topic, I've developed a script that allows to insert video simply renaming a video file and uploading it in a remote folder. I don't like youtube embedding :)
You can insert wmv and flv files, in single o more languages.
Ok, it's a very simple code but I'm finding it useful, let me know your opinion if you download it, thanks.
Here is the pop up version link
Here is the embedded video version link


Moderator, I don't know if I can put an external link here, if not (or I'm in a wrong forum name) excuse me please and erase it.

#2
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
Since a little/big bug has already been found (by clicking on manufacturer's "sort by" listbox, video is opened), I'll put all future "releases" on the already cited link. Bye.

#3
thomashas

    PrestaShop Apprentice

  • Members
  • PipPip
  • 38 posts
thanx a lot it works great... if there a way in further versions to choose the video in the imagecarusel (without popup video shpuld be loading in image container)it would be great.

#4
ladless

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
I uploaded a wmv video of 720 by 480 px and the image doesn't show up but the audio is ok. Any thougts ?

#5
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
Try to open absolute video URL (write in your browser or player your video URL)
i.e.: h ttp://w ww.myprestashop.com/video/products/234.wmv
Are both images and audio ok?

#6
ladless

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
Hmm... interesting... the image isn't showing up only the sound. Will try with a different wmv file... I used one from Windows Vista video sample.

#7
ladless

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
Fixed the video thing. Had some problems with the codecs installed. Any chance I could have those previews show up on the product page instead of the popup ?

#8
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts

From 1255268191:

Fixed the video thing. Had some problems with the codecs installed. Any chance I could have those previews show up on the product page instead of the popup ?


Uhmmmm, embedding video? I'll let you know, next week, I hope.....

#9
ladless

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
Any news ?

#10
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts

From 1257246069:

Any news ?

wmv works fine but flv... grrr!!! I could publish wmv version only and upgrade to flv when ready.

#11
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
Ok, a beta release is done!
Here is the embedded video version link
You will use it at your own risk, I've tested it very quickly.. too quickly ;-) .

#12
kreasta

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
any idea how we can add youtube?

#13
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
Youtube can be embedded manually in a simple way, just 6 steps, with a little work for every product (but I think that many modules are already done!).

First of all: every youtube video has a code, like 53YkBRVU6f8 ... oops, a video of mine :), but it's in italian, I'm sorry.
1) You must edit your product, wich youtube video code is for example 53YkBRVU6f8
2) Go to description (not short description)
3) Click on HTML button in order to edit html source
4) Copy the following code and paste it in (html) product description (CHANGE # char with < )

#object width="425" height="350">

#param name="movie" value="http://www.youtube.com/v/53YkBRVU6f8">

#embed src="http://www.youtube.com/v/53YkBRVU6f8" type="application/x-shockwave-flash" width="425" height="350"></embed>

#/object>


5) Change the 53YkBRVU6f8 code with your product one.
6) save.

that's all!

#14
kreasta

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
thx, but i was mistaken, i wanted like a plugin. only to ender the id (53y234567) of the video and have it under the pics, but is wrong topic. thx for help.

#15
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts

From 1260313748:

thx, but i was mistaken, i wanted like a plugin. only to ender the id (53y234567) of the video and have it under the pics, but is wrong topic. thx for help.


Of nothing. But... let me know if module (plugin) doesn't exist, please.

#16
dreamworker

    PrestaShop Newbie

  • Members
  • Pip
  • 22 posts
Hi,
thanx for the great module.

Unfortunately it works only with Freindly URL disabled.

Once you have Friendly Url enabled and category is part of the URL then URL of the video in the player becomes http://www.mydomain....oducts/14_3.flv which is not found.

Is there any way how to correct it? I assume it will be minor change in videoSic.php

Thanx,
david

#17
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
Ok, I'll fix it soon...

#18
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts

From 1260442645:

Hi,
thanx for the great module.

Unfortunately it works only with Freindly URL disabled.

Once you have Friendly Url enabled and category is part of the URL then URL of the video in the player becomes http://www.mydomain....oducts/14_3.flv which is not found.

Is there any way how to correct it? I assume it will be minor change in videoSic.php

Thanx,
david


Ok, it is a minor change but NOW I've no time for it, I'm sorry. So can I suggest you a simple code change in videoSic.php? I've not tested it... ;) Let me know...

Open videoSic.php and find function currUrl() { ... }
Simply erase ALL contents and replace with

currUrl()
{
return "http://www.yourprestashopurl.com/";
}

#19
webdeveloper

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts
Hello, U saved my life whith this plugin/module. Is there any way to set loop to auto so the video would play on and on? I've tryed with loop="10" on the 70th line in videoSic.php but had no response.

Kind regards
Grucha
Grucha

#20
cylon

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts

From 1297168781:

Hello, U saved my life whith this plugin/module. Is there any way to set loop to auto so the video would play on and on? I've tryed with loop="10" on the 70th line in videoSic.php but had no response.

Kind regards
Grucha


Hi, are you using flv or wmv?