Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 07:17:11 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149676
Posts in
21101
Topics by
7561
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Simple video gallery
Pages:
1
2
3
[
4
]
5
Go Down
Author
Topic: Simple video gallery (Read 37546 times)
Vincent
Offline
Posts: 360
Re: Simple video gallery
«
Reply #75 on:
November 11, 2009, 09:29:17 AM »
To make full screen work:
1. Open ufo.js;
2. Find line 192 which is:
var _obj = UFO.createElement("object");
3. Add this line after that:
_obj.setAttribute("allowfullscreen", "true");
Vincent
Logged
sayf_theone
Offline
Posts: 21
Re: Simple video gallery
«
Reply #76 on:
November 12, 2009, 03:49:45 PM »
I've already did that. but no result. the same problem no fullscreen.
Logged
dierk
Offline
Posts: 2
Re: Simple video gallery
«
Reply #77 on:
December 15, 2009, 09:54:47 PM »
Hi there,
I tried it like Vincent suggested, AND IT WORKS!! Hurray
Thanx
Dierk
Logged
WayneM
Offline
Posts: 8
Re: Simple video gallery
«
Reply #78 on:
December 17, 2009, 11:31:26 PM »
I also tried the fix for the sorting.
Did not work.
Got parse error something like: unexpected "{" in line 81
I would love to be able to sort
Any new ideas?
Thanks.
Logged
WayneM
Offline
Posts: 8
Re: Simple video gallery
«
Reply #79 on:
December 18, 2009, 02:37:27 PM »
Regarding the sort code.
in the new code, change the "}" in line 81 to "endif;"
That fixes the parse error... now let's see if the sort works....
Okay. It works. Sorts on the file name.
Here's what the code to replace lines 76 to 98 should be:
Code:
$dir = opendir($directory);
$files=array();
while (false !== ($file = readdir($dir))) {
if (substr($file, strrpos($file, '.') + 1) == "flv"):
$files[]=$file;
endif;
}
closedir($dir);
sort($files);
foreach($files as $file) {
$idplayer = $idplayer + 1;
$counter = $counter + 1;
echo "<td><span id='player$idplayer'><a href='http://www.macromedia.com/go/getflashplayer'>Get the Flash Player</a> to see this player.</a></span>";
echo "<script type='text/javascript'>";
echo "var FO = { movie:'$dirmodulo/flvplayer.swf',width:'$width',height:'$height',majorversion:'7',build:'0',bgcolor:'#000000',";
echo "flashvars:'file=$dirweb/$file&showdigits=true&image=$dirweb/$file.jpg&showicons=true&lightcolor=0x".$lightcolor."&backcolor=0x".$backcolor."&frontcolor=0x".$frontcolor."&volume=100' };";
echo "UFO.create( FO, 'player$idplayer');";
echo "</script>";
echo "<br />";
@include($directory."/".$file.".txt");
echo "</td>";
if ($counter == $videos_row):
echo "</tr><tr valign='top'>";
$counter = 0;
endif;
}
«
Last Edit: December 18, 2009, 02:43:30 PM by WayneM
»
Logged
wuppertaler
Offline
Posts: 1
Re: Simple video gallery
«
Reply #80 on:
December 20, 2009, 09:38:45 PM »
Quote from: Vincent on November 11, 2009, 09:29:17 AM
To make full screen work:
1. Open ufo.js;
2. Find line 192 which is:
var _obj = UFO.createElement("object");
3. Add this line after that:
_obj.setAttribute("allowfullscreen", "true");
Vincent
I tried it also. but it don't work
This is it:
writeSWF: function(id) {
var _fo = UFO.foList[id];
var _e = document.getElement
ById(id);
if (UFO.pluginType == "npapi") {
if (UFO.uaHas("gecko") || UFO.uaHas("xml")) {
while(_e.hasChildNodes()) {
_e.removeChild(_e.firstChild);
}
var _obj = UFO.createElement("object");
_obj.setAttribute("type", "application/x-shockwave-flash");
_obj.setAttribute("data", _fo.movie);
_obj.setAttribute("width", _fo.width);
_obj.setAttribute("height", _fo.height);
_obj.setAttribute("allowfullscreen", "true");
var _l = UFO.optAtt.length;
for (var i = 0; i < _l; i++) {
if (typeof _fo[UFO.optAtt
] != "undefined") _obj.setAttribute(UFO.optAtt
, _fo[UFO.optAtt
]);
}
is there anything wrong.
I've changed the ufo.js in he Zip-file then I installed the Modu.
Logged
BoBBiE
Offline
Posts: 1
Re: Simple video gallery
«
Reply #81 on:
January 07, 2010, 02:04:21 PM »
How come i cant download this one anymore? And is it an option to integrate it with smoothgallery?
Logged
neophyre
Offline
Posts: 15
Re: Simple video gallery
«
Reply #82 on:
January 09, 2010, 07:39:40 AM »
I keep getting this error - Notice: Undefined variable: counter in /home/tammyann/public_html/modules/videogal/view.php on line 81
Logged
dobber
Offline
Posts: 51
Re: Simple video gallery
«
Reply #83 on:
February 23, 2010, 09:36:01 PM »
hy,
I want to play a video automatically. Is that possible?
best regards
Logged
Gaz
Offline
Posts: 2
Re: Simple video gallery
«
Reply #84 on:
March 07, 2010, 04:59:50 PM »
To make full screen work you have to:
1. Change ufo.js as mentioned here:
Quote from: Vincent on November 11, 2009, 09:29:17 AM
To make full screen work:
1. Open ufo.js;
2. Find line 192 which is:
var _obj = UFO.createElement("object");
3. Add this line after that:
_obj.setAttribute("allowfullscreen", "true");
Vincent
2. Additionally you have to change view.php in the videogal-module directory:
2.1. Open view.php and find line 85 which is
echo "var FO = { movie:'$dirmodulo/flvplayer.swf',width:'$width',height:'$height',majorversion:'7',build:'0',bgcolor:'#000000',";
2.2. at the end of line 85 add ›allowfullscreen:'true',‹ right before ›";‹ so that the end of line 85 looks like this:
......,bgcolor:'#000000',allowfullscreen:'true',";
For me fullscreen now works like a charme!
- tested with Firefox 3.6, Safari 4.0.4, InternetExplorer 8.0 (and even 6.0!! harhar...)
Cheers, GAZ
«
Last Edit: March 07, 2010, 05:35:56 PM by Gaz
»
Logged
Olli
Offline
Posts: 288
Re: Simple video gallery
«
Reply #85 on:
March 14, 2010, 09:39:49 PM »
is the fullscreen fix included into the latest release?
Logged
lorbas
Offline
Posts: 1
Re: Simple video gallery
«
Reply #86 on:
March 17, 2010, 09:00:41 PM »
Hi,
I have some different content blocks (WYSIWYG) on one screen page and I wanted to show 3 or 4 videos between these blocks. but I recognized, there is only the first video shown on the page, the others wil not load (or the player is loaded only once). Is there a trick to do this or isn't it possible? I know there is the possibility to put a textfile with the videofiles, but it would be easier to put the content the usual way at the page.
sorry for my perhaps strange english ... and thanks for reply.
Logged
Olli
Offline
Posts: 288
Re: Simple video gallery
«
Reply #87 on:
March 21, 2010, 04:58:41 PM »
could someone please update the module to make the fullscreen mode work? that would be so nice
thanks
Logged
tost
Offline
Posts: 7
Re: Simple video gallery
«
Reply #88 on:
April 06, 2010, 09:50:20 AM »
Hi all. Installed the module and it works fine. But I would like to just have 1 video at each page and thats ok, but where can I center the player? I would also like to add a thin border around the player and add a "class" element to it from the skins css. (I use that in all pictures on some hompages) Is that possible and can someone guide me to the places i need to edit?
I see that this tread is old but if someone bother to help me I be glad.
Regards Tost
Logged
Sally_lr
Offline
Posts: 1
Re: Simple video gallery
«
Reply #89 on:
April 27, 2010, 03:38:30 AM »
Quote from: lorbas on March 17, 2010, 09:00:41 PM
Hi,
I have some different content blocks (WYSIWYG) on one screen page and I wanted to show 3 or 4 videos between these blocks. but I recognized, there is only the first video shown on the page, the others wil not load (or the player is loaded only once). Is there a trick to do this or isn't it possible? I know there is the possibility to put a textfile with the videofiles, but it would be easier to put the content the usual way at the page.
sorry for my perhaps strange english ... and thanks for reply.
Hi
I actually have the same issue as Lorbas. Is this possible? It would be great and very appreciated to get a solution.
Thanks Heaps
«
Last Edit: April 27, 2010, 03:40:17 AM by Sally_lr
»
Logged
gucci
Offline
Posts: 46
Re: Simple video gallery
«
Reply #90 on:
April 27, 2010, 12:18:59 PM »
Hi,
The Simple video gallery modul doesn`t work an my wb 2.8.1 installation.
See screenshot.
In the formular fields I can see php code
??
On the same Server I have wb 2.7 installed and Simple video gallery works.
Some ideas/solutions about that?
Regards
Gucci
Logged
Gaz
Offline
Posts: 2
Re: Simple video gallery
«
Reply #91 on:
May 07, 2010, 12:39:57 PM »
Hi,
here ist the the ›Simple-Video-Gallery‹ with my changes to make the fullscreen-button work. I changed the version-number to 0.4.1 so you can easily install it on top of the 0.4-version without uninstalling it first. I hope increasing the version-number is OK for the original creator of this module (otherwise please tell me - I will edit this post then).
I added a bit of CSS-Code, so the videos should be centered.
I also added the class ›video‹ for the table-cells that contain the video so you can change the layout of the video-box with: table.tabvideo td.video { CSS-Stuff; }.
I tested this one on WB_2.8.1 rev 1287 and it works.
Cheers, Gaz
P.S.: Sorry I can't help with the problem posted by Lorbas and Sally_lr with multiple videogal-blocks on one page.
«
Last Edit: May 07, 2010, 12:45:19 PM by Gaz
»
Logged
richwalker
Offline
Posts: 6
Re: Simple video gallery
«
Reply #92 on:
June 21, 2010, 08:02:33 PM »
Is anyone interested in developing this module further? This does 75% of what i need. I'm will to pay for the work and submit to the community once finished. PM me if your interested. Cheers Rich
Logged
Hans Toolbox
Offline
Posts: 910
Re: Simple video gallery
«
Reply #93 on:
September 01, 2010, 02:43:49 PM »
2.8.x Revision 1306
Videogallery Error
Warning: closedir(): 44 is not a valid Directory resource in /www/modules/videogal/view.php on line 108
ups....
Logged
[Die Beleidigung gegenüber mir wurde durch mich gelöscht, User wurde von mir ausgeschlossen - kweitzel]
aldus
Offline
Posts: 1238
Re: Simple video gallery
«
Reply #94 on:
September 01, 2010, 03:51:27 PM »
Hello
Attached a 0.4.2_alpha within some code_canges/bugfixes
Remove the style-block and add an edit-button, like in other modules, to get an valid output
Repair the table-output if the numbers of videos doesn't match the columns
Get validate backend and the color-picker to work correct. Also add a "color" box, so you can "see" your settings
You can use the video-gal on more than one section
Massiv code-cleanings and removing of unnessesary code and output
Remove the unused field for style
Add "frontend.css" and "backend.css" instead
couple of thinks i've not just in mind, nor can remember yet
Tested on Rev 1465 within template "simple" ... only in FF - so there could be something left on/for the IE
Kind regards
Aldus
Logged
nuke
Offline
Posts: 27
Re: Simple video gallery
«
Reply #95 on:
September 01, 2010, 07:17:06 PM »
Aldus I tried your version and it works good - except that my video descriptions no longer appear.
e.g.
directory/video.flv.txt // text description (optional)
Used to display what I had in the text file below the video (with v.40) now it just shows my video without the description.
Thoughts?
-Mike
Logged
aldus
Offline
Posts: 1238
Re: Simple video gallery
«
Reply #96 on:
September 01, 2010, 08:19:39 PM »
Hello
i removed the .txt support temp as the "@include" - version was not serious for me at all, at last the suppressed error-message with the "@" char ... and i've got no idea about how mutch security-uncertainties there will belong too ...
If there is a file within the give naming-conversation i want to intoduce another (more secure) engineering
Kind regards
Aldus
Logged
aldus
Offline
Posts: 1238
Re: Simple video gallery
«
Reply #97 on:
September 02, 2010, 03:12:17 PM »
Upgrade 0.4.3
Add flvplayer-license to the $module-license-text.
Additional ceckboxes for the color-sets, to set them for the hole page or complete web-site.
Recode the "movie"-info-text import, if there is a textfile within the same name as the move like "movie_name.flv.txt" it will display under the movie.
Add marker-support to the info-file: [WB_PATH],[WB_URL],[WB_MEDIA_DIRECTORY], to handle pathnames inside the movie-descriptions.
NOTICE
As "Hans>null" (thnx) recomented in this thread:
http://www.websitebaker2.org/forum/index.php/topic,19137.msg128283.html#msg128283
the license for the player itself is free for
non-commercial
websites or private projects only.
Please read license before installing:
http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en
or visit the homepage at
http://www.longtailvideo.com/players/jw-flv-player
As for the movie-description: you can now place a textfile (as describe) next to the movie-file
within html inside -
no PHP
!. If you are in the need to use WB-Constantes like "WB_URL", e.g.
to keep the src-string to an icon, you can use "[WB_PATH]", "[WB_URL]" and "[WB_MEDIA_DIRECTORY]"
in the same way like e.g. in the news-module.
e.g.
Code:
<div class="movie_description">Our last hollyday in Spain:
<img src="[WB_URL]/[WB_MEDIA_DIRECTORY]/smile_and_more/happy.gif" alt="happy" /><br />
</div>
(untested example, only want to show how it works.)
Kind regards
Aldus
Logged
rhooft
Offline
Posts: 12
Re: Simple video gallery
«
Reply #98 on:
October 22, 2010, 08:40:11 AM »
Hello,
I sometimes get the message: Get the Flash Player to see this player.
But when I refresh the page it shows the movie.
Can anyone help me?
Regards
Remco
Logged
arda
Offline
Posts: 10
Re: Simple video gallery
«
Reply #99 on:
December 06, 2010, 05:00:34 PM »
Hello, to all developers and helpers here
A lovely module, its working very fine at all.
The only thing i would like to have is asked here some times, but no answer:
Is it possible to play a movie automatically ?
That would make the module perfect !!!
But U made a good job !!!
Armin
Logged
Pages:
1
2
3
[
4
]
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...