Keyword

Start Image change

  • stevieb
  • stevieb's Avatar Topic Author
  • Offline
  • New Member
More
18 years 2 weeks ago #1477 by stevieb
Start Image change was created by stevieb
I wanted to change the start image for my FLV movies in AllVideos Plugin, can I just add a background image to the file:  jw_allvideos_player.swf?

Thanks,
Steve

Please Log in or Create an account to join the conversation.

  • stevieb
  • stevieb's Avatar Topic Author
  • Offline
  • New Member
More
18 years 1 week ago #1478 by stevieb
Replied by stevieb on topic Re: Start Image change
I thought the plugin distribution file included a copy of jw_allvideos_player.fla but I don't see it.  Does this mean I can't change the starting image for my FLV movies from the black background and white arrow to a custom image?

Steve

Please Log in or Create an account to join the conversation.

More
18 years 1 week ago - 18 years 1 week ago #1479 by choas
Replied by choas on topic Re: Start Image change
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)

Please Log in or Create an account to join the conversation.

  • stevieb
  • stevieb's Avatar Topic Author
  • Offline
  • New Member
More
18 years 1 week ago #1480 by stevieb
Replied by stevieb on topic Re: Start Image change
Thank you very much Chaos!  I'll follow your great instructions,

Steve B.

Please Log in or Create an account to join the conversation.

More
18 years 1 week ago #1481 by zoroox
Replied by zoroox on topic Re: Start Image change
Ok I think is very good to have an image insteed of the black background but what if we have more than one video?

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.

More
18 years 1 week ago #1482 by choas
Replied by choas on topic Re: Start Image change
Sorry but I don't see the problem.

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.

More
17 years 8 months ago - 17 years 8 months ago #1483 by rob2701
Replied by rob2701 on topic Re: Start Image change
What a GREAT thing this AllVideo Plugin is!

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.

More
17 years 8 months ago #1484 by pickles206
Replied by pickles206 on topic Re: Start Image change

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.

More
17 years 8 months ago #1485 by rob2701
Replied by rob2701 on topic Re: Start Image change
Hi pickles206, if you read my post correctly before doing a copy & paste, you will see that this is already exactly what I did, and that I already have it working perfectly for the flash files on my own server. Thanks indeed to the poster.

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.

More
17 years 7 months ago - 17 years 7 months ago #1486 by indafastln
Replied by indafastln on topic Re: Start Image change
edit: found my prob and fixed it myself. :-)

Please Log in or Create an account to join the conversation.

  • Erik Neff
  • Erik Neff's Avatar
  • Offline
  • New Member
  • Personal text is rarely text and never personal.
More
17 years 2 months ago #1487 by Erik Neff
Replied by Erik Neff on topic Re: Start Image change
Chaos - YOU ROCK MAN!  Damn, all this time, the player supported background images, it was just missing the image= line... that's kind of annoying.

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.

More
17 years 2 months ago #1488 by Knut-Erik Helle
Replied by Knut-Erik Helle on topic Re: Start Image change
chaos for president. Thanks a lot  :D

Please Log in or Create an account to join the conversation.

More
17 years 1 month ago - 17 years 1 month ago #1489 by m00m00
Replied by m00m00 on topic Re: Start Image change
Hello

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.

More
17 years 2 weeks ago #1490 by simbus82
Replied by simbus82 on topic Re: Start Image change
Sorry but for me it is not a great solution for the "start image" problem...

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.

More
16 years 8 months ago #1491 by nicnic
Replied by nicnic on topic Re: Start Image change
It dosen't seem to work for me  :(
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.

More
16 years 8 months ago #1492 by kayut
Replied by kayut on topic Re: Start Image change
Hi,
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.

More
16 years 6 months ago #1493 by dax702
Replied by dax702 on topic Re: Start Image change
Is there an update of this method for the newest All Videos Plugin for 1.5?

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #1494 by baty
Replied by baty on topic Re: Start Image change for version 2.4
:(  Hi!  I'm also looking for how to make a preview image appear for the latest version of this great plugin.  Please help!  Thanks so much!  :)

Please Log in or Create an account to join the conversation.

More
16 years 4 months ago #1495 by Andrea Hoymann
Replied by Andrea Hoymann on topic Re: Start Image change
Hello there,

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!!!!!!!!!!! :'(
Attachments:

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1496 by joomla_trans
Replied by joomla_trans on topic Start Image change successfully !!!
Hi guys,
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.


Powered by Kunena Forum