This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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: 63229
    
  69

So you only support browsers that have HTML5 support?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Video Aspect Ratio
 
It's not a secret anymore!