View Full Version : video
amintorres
07-16-2007, 06:59 PM
hi guys!
I have seen several threads about video and all of them seem very raw and too complicated to follow. i saw this url in one of then threads:
http://www.spudooli.com/photo-345.html so i decided to start this new one hoping that someone can answer how to accomplish to be able to have an image on to and a smaller video on the bottom?
also what would be needed to do if say today I want to post a video and not image?
I think if someone can write a clean instruction on how to accomplish either,
that would be awesome!
thanks
amin*
xxivxxv
07-17-2007, 11:55 PM
i would also love to figure out a way to add a video file (.flv .mpeg, etc.) instead of a image file. could someone please direct me down the right path? thanks
amintorres
07-21-2007, 04:34 AM
no words on how i could have the option to put a video either instead or in addition to the image? any help would be awesome.
Dkozikowski
07-23-2007, 05:37 PM
You need an addon to take care of this.
I'm in the process of creating one as it has been a large request for some time now.
What I need to know if what video types do you want supported?
I'm thinking the big 3, Windows Media, Quicktime, Flash.
What are everyones thoughts?
Dkozikowski
07-24-2007, 09:38 AM
Well I have a working concept of this addon.
It is RAW. Pixelpost is not able to support an addon like this 100% without hacks and that's just fine in my book as Pixelpost is meant for photos ;)
Anyway, i have a working copy that allows MPG, MPEG, MP4, MOV, WMV, AVI, and SWF files to be uploaded and displayed and even a thumbnail is present using preset images.
No editing functions. I do not plan to add any either.
Maybe down the road when Pixelpost becomes more object oriented and addons can override core functions will this become a slick addon.
If anyone want's to check it out, let me know and I'll send you a link. Just remember that while it gets the job done, it's not pretty.
amintorres
07-24-2007, 07:23 PM
What I need to know if what video types do you want supported?
I'm thinking the big 3, Windows Media, Quicktime, Flash.
What are everyones thoughts?
if you can get something that would display those formats, i think it would be killer! how long until we may be hearing something about this?
amintorres
07-24-2007, 07:25 PM
Well I have a working concept of this addon....
If anyone want's to check it out, let me know and I'll send you a link. Just remember that while it gets the job done, it's not pretty.
do you mind sharing this for now? I guess i can give it a try till the actual official add on for videos gets done. :)
Dkozikowski
07-25-2007, 01:04 AM
Download Video Embed v0.5 (http://dwilkinsjr.com/public/pixelpost/myaddons/video_embed_v0.5.zip)
READ THE README.TXT FILE
This addon dynamically replaces some code that was previously "hard coded" into your image_template.html file.
You will most likely need to edit the addon file to reflect your current image_template.html file.
Please try to understand the process involved. If you are still having trouble, let me know and I'll give anyone who needs assistance some guidance.
amintorres
08-06-2007, 03:04 AM
hey there again!
i just tested the video feature for the first time here:
http://amintorres.com/blog/index.php?showimage=65
ummm, two things: first it didnt create a thumbnail and also didnt the previous like (when clicking the video its self) doesnt work!
did i missed anything?
Dkozikowski
08-06-2007, 10:20 AM
hey there again!
i just tested the video feature for the first time here:
http://amintorres.com/blog/index.php?showimage=65
ummm, two things: first it didnt create a thumbnail and also didnt the previous like (when clicking the video its self) doesnt work!
did i missed anything?
First thing, it did create a thumbnail! See the flash logo? There is no way for me to pullout an actual image from the movie and create a thumbnail from that. So when uploading a flash movie, a thumbnail of a flash logo is created.
Just like if you uploaded a quicktime move, a thumbnail of a quicktime logo will be created :)
Second thing, you are right. When a video is posted, you cannot click the video to navigate. If this functionality was left in place, every time someone wants to press pause, play, stop, scroll, change volume, etc, you would be brought to the next image / video instead of the intended action being performed.
amintorres
08-06-2007, 11:16 AM
-dwilkinsjr
Thanks so much! actually for some reason last night the flash logo
wasnt showing at all, i read on your "readme" file about the respective logos showing depending on the type of movie uploaded, it just didnt show then and i assumed right away that it wasn't working!
about graving a still from the video: Well, i understand that from a programming stand point this can be quite hard! how does youtube does it tho?
perhaps this can be solved with a simple solution such as displaying a box
and a browse button when you select you are uploading a video so that you can browse to a thumbnail. (a manually made thumbnail of course)... just a thought. ;)
and get your point about the clicking on the video!
Dkozikowski
08-06-2007, 11:40 AM
The manual upload for a thumbnail was a plan of mine already.
As for auto thumbnails, it's possible but you must have proper rights to run such php extensions like, http://ffmpeg-php.sourceforge.net/ and I'm not sure this will work for flash movie files.
It's difficult trying to support every file format under the sun. If I ever re-do this addon in the future, it will probably only support 1 or 2 formats.
amintorres
08-06-2007, 12:04 PM
understandable!
One last thing!
in may thumbs page: http://amintorres.com/blog/index.php?x=browse
I noticed that the flash logo was bigger than my thumbs and due to that it was shifting the grid and making it as if there is actually a thumbnail missing
i went back to the addon's image folder and reduce the size to the flash logo to match the size of my thumbs 100 x 75px. but still! for some reason the logo is being stretched larger than 75 on its height!
I tried looking on the embed_functions.php file to see if you passed a fixed minimun size to the logos but could not find anything to that would seem i could change to fix that!
any ideas? i want to say this is css related but am not sure.
amin*
Dkozikowski
08-06-2007, 12:27 PM
it's probably because the script wont let it resize the other way as it would be too distorted.
Your best bet would be to find another flash image to use. just make sure you place it in the correct folder with the same filename and extension or you can manually edit the current image and re-upload it to it's respective folder.
manolomartin
08-06-2007, 04:10 PM
does it run ok on PP 1.5?
Is there another way to embed video using PP 1.5?. Thanks
amintorres
08-06-2007, 05:26 PM
Your best bet would be to find another flash image to use. just make sure you place it in the correct folder with the same filename and extension or you can manually edit the current image and re-upload it to it's respective folder.
i will try to replace the image with a new one and save it with the same name and placed it on the images directory for the addon.
but if you read my previous replay, i mentioned that i grabbed the same image you are using and resized it down to 100x75 (which is the size of my other thumbs) re-uploaded the image and it only made it smalled a bit!
do you have any other suggestions? if not, i will try swapping the image and report back on how that goes!
Dennis
08-06-2007, 06:11 PM
@manolomartin: what reason do you have to stay on 1.5?
manolomartin
08-06-2007, 06:31 PM
Must I suppose that it is impossible to embed video with the 1.5? :confused: .
I have modified a lot of things, everything works right and i'm not sure to know how to install 1.6 correctly.
Dennis
08-06-2007, 06:55 PM
Have you modified the core files of PP1.5? If not, all should be smooth (except Exif, but that can be fixed by pressing a button). If you have hacked around it might be best not to update.
Dkozikowski
08-06-2007, 10:43 PM
Must I suppose that it is impossible to embed video with the 1.5? :confused: .
I have modified a lot of things, everything works right and i'm not sure to know how to install 1.6 correctly.
I honestly don't know.
Only way to find out would be to install it.
Dkozikowski
08-06-2007, 10:44 PM
i will try to replace the image with a new one and save it with the same name and placed it on the images directory for the addon.
but if you read my previous replay, i mentioned that i grabbed the same image you are using and resized it down to 100x75 (which is the size of my other thumbs) re-uploaded the image and it only made it smalled a bit!
do you have any other suggestions? if not, i will try swapping the image and report back on how that goes!
Honestly, i do not have the time and energy right now to figure this out.
If you can get it working then that would be great!
fgabriel
01-10-2008, 11:47 AM
when i use video the layout of my template extendes to the entire screen and not restricted to the video dimensions, like on a image post? :(
example video layout:
http://www.fernandogabriel.com/fotografia/index.php
example image layout:
http://www.fernandogabriel.com/fotografia/index.php?showimage=98
need help on this please
thank u
Fernando
fgabriel
01-10-2008, 12:17 PM
its possible to embed youtube videos?
thanks
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.