Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 04, 2012, 07:24:51 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
149021
Posts in
21045
Topics by
7522
Members
Latest Member:
ThomasFrank
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Simple video gallery
Pages: [
1
]
2
3
...
5
Go Down
Author
Topic: Simple video gallery (Read 37353 times)
ToX
Offline
Posts: 20
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 administrator
Offline
Posts: 6804
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
WebsiteBaker Org e.V. - for WebsiteBaker
Nobody
Offline
Posts: 162
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
Offline
Posts: 360
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
Offline
Posts: 20
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
Guest
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
ToX
Offline
Posts: 20
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
Offline
Posts: 360
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
Offline
Posts: 229
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
Offline
Posts: 360
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
Offline
Posts: 20
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
Offline
Posts: 229
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
Offline
Posts: 20
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
Offline
Posts: 360
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
Offline
Posts: 229
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
Offline
Posts: 360
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
Offline
Posts: 20
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
Offline
Posts: 360
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
Offline
Posts: 20
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
Offline
Posts: 360
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
ToX
Offline
Posts: 20
Re: Simple video gallery
«
Reply #20 on:
February 16, 2007, 03:08:30 PM »
Quote from: vincent 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.
lol
when did you get that error? while updating or when modifying the settings?
Logged
Vincent
Offline
Posts: 360
Re: Simple video gallery
«
Reply #21 on:
February 16, 2007, 03:16:17 PM »
Hi ToX,
I got the error message when I tried to modify the settings of the video which I already used.
Vincent
Logged
macsmet
Offline
Posts: 229
Re: Simple video gallery
«
Reply #22 on:
February 16, 2007, 05:54:57 PM »
@Vincent: you're right. The update script doesn't work.
@Tox: Parse error: parse error, unexpected T_VARIABLE in update.php on line 31
I deleted version 0.2 and uploaded version 0.3. This works for now!
MacSmet
«
Last Edit: February 16, 2007, 06:34:00 PM by macsmet
»
Logged
ToX
Offline
Posts: 20
Re: Simple video gallery
«
Reply #23 on:
February 16, 2007, 10:25:08 PM »
Quote from: macsmet on February 16, 2007, 05:54:57 PM
@Vincent: you're right. The update script doesn't work.
@Tox: Parse error: parse error, unexpected T_VARIABLE in update.php on line 31
I deleted version 0.2 and uploaded version 0.3. This works for now!
MacSmet
thanks, i'll fix it as soon as possible
Logged
ToX
Offline
Posts: 20
Re: Simple video gallery
«
Reply #24 on:
February 17, 2007, 03:13:11 PM »
i've found a bug in update.php... it should be fixed now
Logged
Pages: [
1
]
2
3
...
5
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...