This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Video Aspect Ratio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Video Aspect Ratio" Watch "Video Aspect Ratio" New topic
Author

Video Aspect Ratio

Anubh Jain
Ranch Hand

Joined: Apr 09, 2012
Posts: 34
Hi all,
Is it possible to determine the aspect ratio of a video using jquery/javascript?

Please provide some pointers.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30136
    
150

What technology is the video using? If Flash, Media Player, etc - then probably not. If HTML 5, probably.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Anubh Jain
Ranch Hand

Joined: Apr 09, 2012
Posts: 34
Yes I am using HTML.

how do we do it?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

So you only support browsers that have HTML5 support?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Video Aspect Ratio
 
Similar Threads
Crop an image in Java
Aspect ratio of Components
Ubuntu 10.0 Maverick Meerkat
How to maintain Aspect Ratio of Image using struts2
Fixed with/heigth ratio for Swing frame ?