- Posts: 3
COMMUNITY FORUM
Start Image change
- stevieb
-
Topic Author
- Offline
- New Member
Thanks,
Steve
Please Log in or Create an account to join the conversation.
- stevieb
-
Topic Author
- Offline
- New Member
- Posts: 3
Steve
Please Log in or Create an account to join the conversation.
- choas
-
- Offline
- New Member
- Posts: 2
1. You have to make little change in the php-file plugin_jw_allvideos.php
You can find the file in the directory “mambots/content”.
You must add to line 53 and 57 (where the values of the flv-array are set) :
&image=$mosConfig_live_site/".$video_folder."***code***.png
just after :
file=$mosConfig_live_site/".$video_folder."***code***.flv
and just before :
$showdigits=true".$autostart."\"
2. You must place the preview-image in the directory where your video is placed and give it the same name as the video.
If you don’t want to use a preview-image, there is no problem; you just have the usable black background.
The image that you use will be the background for your video, therefore it is best it has the same size as your videoframes. The image must be in the png format (otherwise you have to change ‘png’ in the code added, for instance in ‘jpg’ if you want to use jpg-files)
And that it is.
- If you want convert your videofiles to flv-files you can use SUPER, a free conversion program. Of course, conversion can lead to a worse quality of the video.
- You can make easily a snapshot from your flv-files if you use the free videoplayer VLC-media player. This snapshot is a png-file and you just have to change the name and place the image-file in the directory where also the video is placed.
The flv-player used in the mambot has a lot of parameters, so you can change more if you want. If you are interested in that, go to the side of the maker of the flv-player Jeroen (look at the credits of the mambot)
if you want to see the effect, go to www.choas.be/ongedierte (just for limited time viewable)
Please Log in or Create an account to join the conversation.
- stevieb
-
Topic Author
- Offline
- New Member
- Posts: 3
Steve B.
Please Log in or Create an account to join the conversation.
- zoroox
-
- Offline
- New Member
- Posts: 7
I have several videos in some products so how can I use this wonderful code to have an image for every video?
Could be done?
Please Log in or Create an account to join the conversation.
- choas
-
- Offline
- New Member
- Posts: 2
The solution I offered, defines the backgroundfile for each video. For instance if jou have a video choas.flv, you just add a file choas.png to the same directory as the videofile choas.flv. You simply add this video, with his specific background, to a contentfile by '{flv}choas{/flv}'
If you want to add another video in the same contentfile, for instance mensa.flv with backgroundfile mensa.png (the two of them you placed in the correct directory), you just put the code '{flv}mensa{/flv}' in the contentfile.
So where is your problem?
Please Log in or Create an account to join the conversation.
- rob2701
-
- Offline
- New Member
- Posts: 2
Have added the start image code to the flv part, and that is now working fine for the flv on my own server.
However, trying to get the same thing working for flvremote, but no luck so far
:-(
Added file=***code***&image=***code***.jpg&showdigits=true" for the remote part in the code, but seems to do nothing at all.
Any suggestions as to what I'm doing wrong or missing here?
Please Log in or Create an account to join the conversation.
- pickles206
-
- Offline
- Senior Member
- Posts: 41
If you want a preview of your video, you can solve this problem for flv-files.
1. You have to make little change in the php-file plugin_jw_allvideos.php
You can find the file in the directory “mambots/content”.
You must add to line 53 and 57 (where the values of the flv-array are set) :
&image=$mosConfig_live_site/".$video_folder."***code***.png
just after :
file=$mosConfig_live_site/".$video_folder."***code***.flv
and just before :
$showdigits=true".$autostart."\"
2. You must place the preview-image in the directory where your video is placed and give it the same name as the video.
If you don’t want to use a preview-image, there is no problem; you just have the usable black background.
The image that you use will be the background for your video, therefore it is best it has the same size as your videoframes. The image must be in the png format (otherwise you have to change ‘png’ in the code added, for instance in ‘jpg’ if you want to use jpg-files)
And that it is.
- If you want convert your videofiles to flv-files you can use SUPER, a free conversion program. Of course, conversion can lead to a worse quality of the video.
- You can make easily a snapshot from your flv-files if you use the free videoplayer VLC-media player. This snapshot is a png-file and you just have to change the name and place the image-file in the directory where also the video is placed.
The flv-player used in the mambot has a lot of parameters, so you can change more if you want. If you are interested in that, go to the side of the maker of the flv-player Jeroen (look at the credits of the mambot)
if you want to see the effect, go to www.choas.be/ongedierte (just for limited time viewable)
Thank you Choas! This post ranks high in Allvideo solutions.
How can I contact you? I cannot read your web site. I don't even know what language it's in.
Dominique
Oh I see, you're too busy failin' in life.
Please Log in or Create an account to join the conversation.
- rob2701
-
- Offline
- New Member
- Posts: 2
My problem is not with lines 53 and 57 but with 61 and 65, so for flvremote.
Using the same solution there is not working, and that is what I am asking about.
This is for flash files located on a remote server, and I cannot get the start image working in that case.
If anyone has a tip or solution for it, I would be grateful.
Please Log in or Create an account to join the conversation.
- indafastln
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Erik Neff
-
- Offline
- New Member
- Personal text is rarely text and never personal.
I noticed that most still images of videos are just as good quality but about 80% smaller in JPG format than in PNG format, and I tried replacing the '.png' in the code Chaos gave us with '.jpg', and it works! This is great!
Insert signature here.
Please Log in or Create an account to join the conversation.
- Knut-Erik Helle
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- m00m00
-
- Offline
- New Member
- Posts: 2
It is a little confusing as what must be changed on line 57.
Perhaps someone can post the code for the changed line 57 ??
It would make this newbie's life easier...
???
Strange,.. I needed to modify line 58! not 57, working like a charm. THANKS...
Please Log in or Create an account to join the conversation.
- simbus82
-
- Offline
- New Member
- Posts: 1
This code changes insert an image in the background, but it is not the "preview frame" like youtube or others...
Please Log in or Create an account to join the conversation.
- nicnic
-
- Offline
- New Member
- Posts: 7
I insert my videos with the {flvremote} tag and they are placed in tabs with the tabs in content plugins.
I also noticed that my code is slightly different thatn the one presented in tis tutorial (I am using the 2.4 version):
I have "&showdigits=true".$autostart."\" />" instead of "$showdigits=true".$autostart."\""
Any idea how to make it work
Please Log in or Create an account to join the conversation.
- kayut
-
- Offline
- New Member
- Posts: 10
I use AllVideo Plugin version 2.5.2 with Joomla 1.5.5.
I can not find the file "plugin_jw_allvideos.php".
Can somebody help me please??
Thanks
Please Log in or Create an account to join the conversation.
- dax702
-
- Offline
- Senior Member
- Posts: 44
Please Log in or Create an account to join the conversation.
- baty
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Andrea Hoymann
-
- Offline
- New Member
- Posts: 2
I'm also trying to add the code, but can't find the appropiate spot to do that. I've been searching the forums for several hours now and just don't know what to do to make an image show up before starting the video.
I attached the .php. Help is very much appreciated!!!!!!!!!!! :'(
Please Log in or Create an account to join the conversation.
- joomla_trans
-
- Offline
- New Member
- Posts: 1
Thank you so much for this discussion.
I've done it well.
Please follow my tutorials :
I used this version : plg_jw_allvideos-v2.5.4_j1.5.zip
.So, this is the updated one.
If you check the folder jw_allvideos/jw_allvideos_sources.php , Open jw_allvideos_sources.php, you will see at .flv option, line 27 :
"<param name=\"flashvars\" value=\"file=$mosConfig_live_site/{VFOLDER}/{AVSOURCE}.flv&image=$mosConfig_live_site/{VFOLDER}/{AVSOURCE}.jpg&autostart={AUTOPLAY}{CONTROLBAR}&fullscreen=true\" />
</object>"
Just look at them carefully.
And check your directory in joomla/images/stories/videos/yourvideonameX.flv and the images you want to show off the video is the same name as your video , for example :
yourvideonameX.jpg
If you want to change .png, you have to edit/adjust that 27. line , replace .jpg by .png.
Here you are :
"<param name=\"flashvars\" value=\"file=$mosConfig_live_site/{VFOLDER}/{AVSOURCE}.flv&image=$mosConfig_live_site/{VFOLDER}/{AVSOURCE}.png&autostart={AUTOPLAY}{CONTROLBAR}&fullscreen=true\" />"
And your image will be : yourvideonameX.png
.. . Hope, you will done well. I tried to write with red color so that you will easily understand well.
Good job ! :)
Please Log in or Create an account to join the conversation.