Start
Help
Forum
Addons
Project
Welcome,
Guest
. Please
login
or
register
.
July 05, 2009, 04:58:42 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Hier findest du alle Infos zur
Website Baker - Version 2.8.
85293
Posts in
13125
Topics by
8214
Members
Latest Member:
Nebz
Website Baker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
Simple video gallery
Pages:
[
1
]
2
3
4
Author
Topic: Simple video gallery (Read 18681 times)
ToX
Pending Apprentice Baker
Offline
Posts: 17
Simple video gallery
«
on:
February 10, 2007, 04:32:07 PM »
hi, i have developed a video gallery module
it is really simple, it just lists your .flv (flash video) files in a directory of your choice, with a thumbnail (shown when the video is stopped) and a description.
here is how it works:
directory/video.flv // this is the real video
directory/video.flv.jpg // thumbnail (optional)
directory/video.flv.txt // text description (optional)
it is based on "another image gallery"
this is a 0.1 version... and this is my first module for wb too, so you can expect some bugs, untranslated text or anything
TODO LIST:
- make the "include subdirs" setting work
- make the fullscreen button work
UPDATE: version 0.2, thanks to macsmet
http://forum.websitebaker.org/index.php?action=dlattach;topic=5424.0;attach=1061
added a Dutch language file
Did some 'hard coded' translations from Italian to English
added the latest version 3.5 of the videoplayer by Jeroen Wijering (it was version 3.3)
changed the directory location to: $dirmodulo = (WB_URL.'/modules/videogal'); Now it works when WB is installed in the root.
UPDATE: version 0.3, thanks to... me
http://forum.websitebaker.org/index.php?action=dlattach;topic=5424.0;attach=1069
you can now change the "video" header (you can even set it to null if you don't want it)
deleted DE.php and SE.php as they where untranslated
UPDATE: version 0.3.1, thanks to me, macsmet and vincent for the debug
http://forum.websitebaker.org/index.php?action=dlattach;topic=5424.0;attach=1076
fixed a bug in update.php
UPDATE: version 0.4
http://forum.websitebaker.org/index.php?action=dlattach;topic=5424.0;attach=1086
possibility to choose how many videos are shown in a row
ability to change the player's colors
added german translation (thanks to Waldschwein)
«
Last Edit: February 19, 2007, 10:07:11 PM by ToX
»
Logged
kweitzel
Forum Team
A Baker's Baker
Offline
Posts: 4837
Re: Simple video gallery
«
Reply #1 on:
February 10, 2007, 08:58:02 PM »
Anyway ... even if only a first ... thanks for the addition. Will give it a go later on and bet Matthias and others will to.
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
Nobody
Junior Baker
Offline
Posts: 119
Re: Simple video gallery
«
Reply #2 on:
February 11, 2007, 08:53:45 AM »
Is ist possible to show .avi files in this gallery, too? Or is it possible to add this feature to the gallery?
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #3 on:
February 11, 2007, 03:25:35 PM »
It works, ToX. A very welcome module! Thanks. I didn't come across any bugs. It would be nice, though, if it could also handle wmv-files. Would that be possible?
Regards, and keep up the good work,
Vincent
Logged
ToX
Pending Apprentice Baker
Offline
Posts: 17
Re: Simple video gallery
«
Reply #4 on:
February 11, 2007, 08:29:05 PM »
only flv videos, i'm sorry...
i'm not sure, but i think that this is a limitation in flash.
Logged
Waldschwein
"All I Do Is Bake" Baker
Offline
Posts: 501
Re: Simple video gallery
«
Reply #5 on:
February 11, 2007, 09:12:51 PM »
Hi! There is a free flv video converter for it. I tested it. Of course it is not very nice, but I don't know some other open source video player...
http://www.rivavx.de/?encoder
(In German)
Or in English:
http://www.rivavx.de/index.php?id=483&L=3
Of course it would be cool to have some video player like youtube, but it is quite nice right now.
Logged
Die Stifthelden
|
Deutsche Maler
The official Website Baker help
ToX
Pending Apprentice Baker
Offline
Posts: 17
Re: Simple video gallery
«
Reply #6 on:
February 11, 2007, 09:30:01 PM »
well if you have linux i'm using a script like this:
Code:
for file in $(ls *.[aAwWmM][vVmMoO][iIvV]); do
mplayer -vo jpeg -ss 0:0:2 -frames 1 $file;
mogrify -resize 150x100! 00000001.jpg;
mogrify -fill white -pointsize 25 -draw 'text 2,23 "Video"' 00000001.jpg;
mv 00000001.jpg $file.jpg;
done
for file in $(ls *.[aAwWmM][vVmMoO][iIvV]); do
ffmpeg -i $file -ab 56 -ar 22050 -b 500 -s 640x480 $file.flv
rm $file
done
you need imagemagik and ffmpeg, it converts every avi, mov or wmv file into flv, and it creates a thumbnail :p
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #7 on:
February 12, 2007, 07:21:29 AM »
I used Super to convert wmv to flv. This tool converts about every format to whatever format you want. Very simple, very efficient. It's free.
http://www.erightsoft.net/SUPER.html#Dnload
Regards,
Vincent
«
Last Edit: February 12, 2007, 07:24:40 AM by vincent
»
Logged
macsmet
Junior Baker
Offline
Posts: 111
Re: Simple video gallery
«
Reply #8 on:
February 14, 2007, 09:03:16 PM »
Hi there,
I made some changes and additions:
- added a Dutch language file
- Did some 'hard coded' translations from Italian to English
- added the latest version 3.5 of the videoplayer by Jeroen Wijering (it was version 3.3)
- changed the directory location to: $dirmodulo = (WB_URL.'/modules/videogal'); Now it works when WB is installed in the root.
Attached you find version 0.2!
greetings,
MacSmet
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #9 on:
February 15, 2007, 05:47:07 PM »
Perfect, macsmet!
Would it be possible to choose whether you want the header 'video' or not?
The button for a whole screen version doesn't seem to work yet...
Maybe good to mention that the script is licensed under a Creative Commons License.
And that Jeroen distributes licenses of the script for 15 euros.
If it's on the addons page, he should be notified, so he can put a link to the WB plugin on his page.
Regards,
Vincent
Logged
ToX
Pending Apprentice Baker
Offline
Posts: 17
Re: Simple video gallery
«
Reply #10 on:
February 15, 2007, 07:25:20 PM »
Quote from: macsmet on February 14, 2007, 09:03:16 PM
Hi there,
I made some changes and additions:
- added a Dutch language file
- Did some 'hard coded' translations from Italian to English
- added the latest version 3.5 of the videoplayer by Jeroen Wijering (it was version 3.3)
- changed the directory location to: $dirmodulo = (WB_URL.'/modules/videogal'); Now it works when WB is installed in the root.
Attached you find version 0.2!
greetings,
MacSmet
cool! i'll update my first post with your changes :p
Logged
macsmet
Junior Baker
Offline
Posts: 111
Re: Simple video gallery
«
Reply #11 on:
February 15, 2007, 07:45:44 PM »
@ Vincent: the header 'Video' is hardcoded now.
You can delete it yourself in 'view.php' . Making it optional by adding code takes time. The first option is much easier.
The button for wide screen is also not coded yet...maybe later ( I really don't need it myself)
Maybe ToX want's to do this?
greetings,
MacSmet
Logged
ToX
Pending Apprentice Baker
Offline
Posts: 17
Re: Simple video gallery
«
Reply #12 on:
February 16, 2007, 11:30:27 AM »
Quote from: macsmet on February 15, 2007, 07:45:44 PM
@ Vincent: the header 'Video' is hardcoded now.
You can delete it yourself in 'view.php' . Making it optional by adding code takes time. The first option is much easier.
The button for wide screen is also not coded yet...maybe later ( I really don't need it myself)
Maybe ToX want's to do this?
greetings,
MacSmet
i'll make the "video" header optional, or maybe i'll set an optional value in the admin panel, so that you can even change it as your needs.
for the wide screen button i don't really know how to fix it
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #13 on:
February 16, 2007, 11:42:18 AM »
Great!
Since you guys already digged into this stuff: do you think it's easy/possible to also implement Jeroen's
flash mp3 player
in a WB module? I'm not a programmer, but I imagine that with some adjustments your module would also suit the mp3 player.... Which would be Super!
Thanks for a great job.
Vincent
Logged
macsmet
Junior Baker
Offline
Posts: 111
Re: Simple video gallery
«
Reply #14 on:
February 16, 2007, 12:49:11 PM »
@ Vincent: I will look into this but give me some time because I am very busy at the moment. I won't be that difficult!
greetings,
MacSmet
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #15 on:
February 16, 2007, 01:05:01 PM »
Hi MacSmet, take your time, I'll be patient, but am really looking forward to this - it would make a great addition to the cms, and I'm sure many more people will welcome it!
Regards,
Vincent
Logged
ToX
Pending Apprentice Baker
Offline
Posts: 17
Re: Simple video gallery
«
Reply #16 on:
February 16, 2007, 02:10:47 PM »
Quote from: vincent on February 16, 2007, 11:42:18 AM
Great!
Since you guys already digged into this stuff: do you think it's easy/possible to also implement Jeroen's
flash mp3 player
in a WB module? I'm not a programmer, but I imagine that with some adjustments your module would also suit the mp3 player.... Which would be Super!
Thanks for a great job.
Vincent
i already did something like that for my website, it should be easy to integrate into a wb module.
this is what i did for my website, if you want to check it out...
http://www.emanueletoscano.it/?pag=Vari/musica/index.htm
actually, it is based on a xml file which contains all the informations (file name, artist, title)... it should be easy to make it more "dynamic" too, with no need for that file
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #17 on:
February 16, 2007, 02:19:20 PM »
ToX, that looks just fine!
The challenge is to go around the xml-sheet, indeed. Easy? Not for me....
Vincent
Logged
ToX
Pending Apprentice Baker
Offline
Posts: 17
Re: Simple video gallery
«
Reply #18 on:
February 16, 2007, 02:50:15 PM »
here we are, version 0.3
UPDATES:
- you can now change the "video" header (you can even set it to null if you don't want it)
- deleted DE.php and SE.php as they where untranslated
Logged
Vincent
Master Baker
Offline
Posts: 271
Re: Simple video gallery
«
Reply #19 on:
February 16, 2007, 03:05:12 PM »
Unfortunately I get an error: Unknown column 'mod_header' in 'field list' ...
But at least the word video disappeared.
Logged
Pages:
[
1
]
2
3
4
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
===> Security Announcements
=> Guest Area and Off-Topic
=> Website Showcase
-----------------------------
English
-----------------------------
=> Help/Support
===> Help/Support of WB2.7.x core
=> Website Baker Development
===> Website Baker 3
=> Documentation
=> Templates
=> Modules
===> Code Snippets
=> Languages
=> Archive
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
===> Templates, Module & Co.
===> Hilfe/Support von WB2.7.x core
=> Diskussion über WB
===> jQuery
=> Off-Topic
=> Archiv
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Help / Support
===> WB Core
===> Templates, Modules & Languages
=> WB Discussie
=> Niet-Terzake (Off Topic)
-----------------------------
French
-----------------------------
=> Help/Support
-----------------------------
Italian
-----------------------------
=> Help/Support
Loading...