PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Before You Buy (http://www.photopost.com/forum/before-you-buy/)
-   -   Gallery ( plays audio, video + shows pics ? ) (http://www.photopost.com/forum/before-you-buy/117391-gallery-plays-audio-video-shows-pics.html)

Deviant++ January 26th, 2005 09:45 PM

Gallery ( plays audio, video + shows pics ? )
 
Does this Gallery play audio files live, videos live + shows pics aswell ?

cause if it does, then it's a pretty nice thing :D

Brian January 26th, 2005 09:57 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
It doesn't play the files in your browser (just allows you to download them), but will support any type of file.

Deviant++ January 26th, 2005 10:05 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
aw damn, then I guess I'd probably put the vids n audi on the jukebox huh ? :)

indie January 26th, 2005 11:02 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
Won't it play video clips if you set the mime correctly? Thanks

Brian January 27th, 2005 09:10 AM

Re: Gallery ( plays audio, video + shows pics ? )
 
Not in the browser.

stitch January 31st, 2005 04:53 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
I think I can come up with the hack, but I don't think I can release it ...because:

1) I don't own this gallery yet. It is still in RC. I am waiting for it to pass the RC before I buy it.

2) Even if I want to release it, I don't have permission in the hack / mod forum

rbl January 31st, 2005 05:26 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
This is not a big deal IMO. Some file types need to be embedded in the page so that you can play them in your browser. As soon as Brian, or anyone else that digs into it, finds a way to check the file type, then the proper tags can be used and Gallery will even make your toasts and morning coffee ... sort of =)

KW802 January 31st, 2005 05:47 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
Quote:

Originally Posted by rbl
This is not a big deal IMO. Some file types need to be embedded in the page so that you can play them in your browser. As soon as Brian, or anyone else that digs into it, finds a way to check the file type, then the proper tags can be used and Gallery will even make your toasts and morning coffee ... sort of =)

I'm already working on it. ;) My "auto play SWF files" hack was sort of a proof-of-concept for me so that I could guage the work involved. The fruits of that hack revealed to me that audio files, like MP3 files wouldn't be bad but doing video correctly would take a little more effort. For example, the standard PHP getimagesize command does not recognize video files so what dimensions would a person use when auto-playing them? The quick & dirty answer is to choose some arbitrary size and go with that but I don't like that answer -- I don't like hard-coding and I don't like watching videos in the wrong perspective. What I'm trying to do instead is to get a 3rd party script integrated into the ../gallery/upload.php script that does recognize video clips and then store those dimensions in the db; that way when the video clip is displayed I can use the same auto-sizing logic that I did with the SWF files.

Right now I've got a lot on my plate, so to speak, so I'm waiting for RC3 before go full steam into it.

rbl January 31st, 2005 06:01 PM

Re: Gallery ( plays audio, video + shows pics ? )
 
Just thinking out loud Kevin, but what about checking image extension and if it matches the list of video formats, display a link that pops-up a window where a custom video script plays it?

KW802 February 1st, 2005 12:50 AM

Re: Gallery ( plays audio, video + shows pics ? )
 
Quote:

Originally Posted by rbl
Just thinking out loud Kevin, but what about checking image extension and if it matches the list of video formats, display a link that pops-up a window where a custom video script plays it?

That would work as well. It would eliminate the challenge of getting the inline video clip sized within a certain dimensions. Without thinking about it too much the advantage to that method would be that it could be self-contained to the template eliminating the need to modify any of the PHP files. The disadvantage would be that some pop-up blockers may block the second window.

I like the look of clips being played inline so that I am heading in that direction for now (plus I've got a few others ideas floating around in my head) so Plan A will be inline but if speed bumps are encountered the javascript method will be Plan B. :D

rbl February 1st, 2005 07:50 AM

Re: Gallery ( plays audio, video + shows pics ? )
 
Here's another suggestion: think about creating a new imagebit template (videobit?!) for video.
Then an if conditional could be added to showimage.php, that will load imagebit for images and videobit for videos. This way imagebit will not be a long list of if then elses and this can also be done for other "problematic" formats.


All times are GMT -5. The time now is 05:46 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97