w x h of .mov .mpeg

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

w x h of .mov .mpeg

Post by neophyte »

I'm writing a little script that will embed .mov and .mpeg files. I'm wondering if there is a way to automagically determine their width and height measurements? If not assuming the width is the same for both movies is their a way to adjust the height for the player? Is it better just to define a width and height for each type of file. Or how have you handled this in the past?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

That's awesome, but a little heavy for this simple script. I think I'll stick to defining them.

Thanks for the post though, I'll have to file that one away for later use.
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

If you find anything let me know. I was looking for something like this so I can autoresize the player to fit the videos.

Thanks
Post Reply