ZenphotoCMS Forum
Support of videos for ZenPhoto - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Support of videos for ZenPhoto (/thread-769.html)

Pages: 1 2 3 4 5 6


Support of videos for ZenPhoto - SusieN - 2006-10-13

I'm sorry I'm being so dense. It's not working for me. Should I have a zenphoto folder and a separate zenvideo folder? Or should I put the zenvideo files in zenphoto which will cause them to be overwritten?




Support of videos for ZenPhoto - La0c00n - 2006-10-14

@koffee: The video player has problems for displaying with IE, i'm working to fix it for the next version of zenvideo.
By the way, you should use Firefox :-)

@SusieN: Yes, installing zenvideo is that easy !
Just overwrite your current installation of zenphoto, and configure it like you did with your current zenphoto.




Support of videos for ZenPhoto - Daxeno - 2006-10-17

Thanks a lot La0c00n for your efforts making this video support. it does works great in Firefox. Yet i'll be waiting for the fix for IE. i used IE most of the time. Thanks!




Support of videos for ZenPhoto - koffee - 2006-10-17

@La0c00n: Of course I do, but most of my visitors have IE, so there's the problem




Support of videos for ZenPhoto - Daxeno - 2006-10-17

most of my visitors used the same as well... others have opera. yet i just asked them to download Firefox to view it best.




Support of videos for ZenPhoto - La0c00n - 2006-10-18

Well... I don't even use Firefox but Camino which is based on a Firefox basis. I've added the support of mp3 to zenvideo, i have found too an issue for this Ie bug.

I'm gonna release 0.3 version of zenvideo asap.

Keep Using Firefox :-)




Support of videos for ZenPhoto - Daxeno - 2006-12-24

La0c00n, this version does not support the Zenphoto 1.0.6




Support of videos for ZenPhoto - nabberuk - 2006-12-25

look in the following thread, http://www.zenphoto.org/support/topic.php?id=1058&replies=2

It displays correctly in all browsers and gets past the "click to activate control" in IE. Plus theres tons of options for the flv player.




Support of videos for ZenPhoto - freediver - 2006-12-31

I have a quick question - I would like the player bar to not hide while the video is playing - is there a way to have it show at all times and still keep the full size of the video playing as well?

Peace...




Support of videos for ZenPhoto - altaphista - 2007-01-05

Hey everybody, La0c00n,

I have adjusted the files La0c00n provided so that the video script is [b]compatible with ZenPhoto 1.0.6[/b] (tested with default theme).

Download link here: http://upload2.net/page/download/2D1NSURUjXRJLCO/zenVideoSrc_for_Zen1.0.6.zip.html

Greetz,
Altaphista




Support of videos for ZenPhoto - Daxeno - 2007-01-06

Thanks altaphista,

It also works in Stopdesign theme. Good Job and to La0c00n as well.




Support of videos for ZenPhoto - Skwid - 2007-01-07

altaphista, the link is not working

Could you post it somewhere else ?

Thank you !




Support of videos for ZenPhoto - La0c00n - 2007-01-07

Hello all

I've been AFK during holidays, but i'm going to release the new version of ZenVideo based on Zenphoto 1.0.6 in the next days...

Stay tuned.




Support of videos for ZenPhoto - altaphista - 2007-01-08

a new link is http://www.mediafire.com/?fy3ymwjnwhm (hope this works)
la0c00n feel free to use that




Support of videos for ZenPhoto - Skwid - 2007-01-08

Works like a charm ! Thank you very much altaphista.
Maybe you should include the default video thumbnail in the archive too ?




Support of videos for ZenPhoto - altaphista - 2007-01-08

Another nice feature I made to print a tekst (f.e. 'VIDEO') on the thumb, if it exists:

  1. Open classes.php

  2. Find function getThumb()

  3. Add &video=1 here (appr line 404):
    `//The file is a viedo and has a thumb

    if($this->video == true && $this->videoThumb != NULL){

     return WEBPATH . "/zen/i.php?a=".urlencode($this->album->name)."&i=".urlencode($this->videoThumb)."&s=thumb&video=1";

    }`

  4. Open i.php (in /zen/)

  5. Find // Create the cached file (with lots of compatibility)... (app line 250)

  6. Add following code [b]BEFORE[/b] the line touch($newfile);:
    `/ INCL CODE FOR VIDEO /

if (isset($_GET['video']) && $_GET['video'] == '1') {

$quality = 100;

$sx = imagesx($newim) ;

$sy = imagesy($newim) ;

$Text="VIDEO" ; /* Your text info */

$Font="gs.ttf" ; /* this has to be uploaded in /zen/ folder */

$yourHEXcolor= '00FF99';

$h_int = hexdec($yourHEXcolor);

$FontColor = imagecolorallocate($newim, 0xFF & ($h_int >> 0x10), 0xFF & ($h_int >> 0x8), 0xFF & $h_int);

$black = ImageColorAllocate ($newim,0,0,0) ;

$white = ImageColorAllocate ($newim,255,255,255) ;

$Rotation = 0 ;

/* Iterate to get the size up */

$FontSize=1 ;

do

{

$FontSize *= 1.1 ;

$Box = @ImageTTFBBox($FontSize,0,$Font,$Text);

$TextWidth = abs($Box[4] - $Box[0]) ;

$TextHeight = abs($Box[5] - $Box[1]) ;

}

while (&#36;TextWidth < &#36;sx*0.7) ;

/*  Awkward maths to get the origin of the text in the right place */

&#36;x = &#36;sx/2 - cos(deg2rad(&#36;Rotation))*&#36;TextWidth/2 ;

&#36;y = &#36;sy/2 + sin(deg2rad(&#36;Rotation))*&#36;TextWidth/2 + cos(deg2rad(&#36;Rotation))*&#36;TextHeight/2 ;

ImageTTFText (&#36;newim,&#36;FontSize,&#36;Rotation,&#36;x+2,&#36;y+2,&#36;white,&#36;Font,&#36;Text);

ImageTTFText (&#36;newim,&#36;FontSize,&#36;Rotation,&#36;x+1,&#36;y+1,&#36;black,&#36;Font,&#36;Text);

ImageTTFText (&#36;newim,&#36;FontSize,&#36;Rotation,&#36;x,&#36;y,&#36;FontColor,&#36;Font,&#36;Text);

}

`




Support of videos for ZenPhoto - Daxeno - 2007-01-17

La0c00n, Hope you could make it more sooner. TY in advance.




Support of videos for ZenPhoto - La0c00n - 2007-01-18

Ok, here is the new release of ZenVideo, based on 1.0.6 version of ZenPhoto.
http://la0c00n.info/zenvideo

Like for 0.2 version, there is a source package and an installation package.
Nothing changes for installation, you just have to replace your old files by new files from ZenVideo packages.

I hope it will be useful for you !

Have fun and report bugs

I'm sorry for releasing this version lately but i've had lot and lot of work...




Support of videos for ZenPhoto - Daxeno - 2007-01-18

Again, Thanks Very Much La0c00n.




Support of videos for ZenPhoto - lordcoffee - 2007-01-22

@altaphista: I can't get this to work. What font should I upload on my server. Can't fins any gs.ttf and with another truetype font it won't work.

Thanks, Lordcoffee.