Dec. 27, 2008Henrik Levring
We are working on a project that requires us to publish screen casts that may be in a variety of resolutions (dimensions).While we have already built our own player, I am still contemplating to use a 3.party product which is well tested, supports an extension model and comes with source. This could make us save some time as our project is already loaded with a lot of heavy work in many other areas. I have spend some time looking around and found that JW player may just fit the bill - however there is one issue that nags me - please allow me to explain.
We have decided to always size the player to fill out the container (browser width=100% and Height=100%) to get a uniform look and feel. What we then want to achieve is that videos which have dimensions smaller than the player would simply be played in their original dimension (resolution) while videos which have a larger size than the size of the player would be resized to fit the player while maintaining aspect ratio.
For presentation of screens casts this is a very logical approach - if you can get what was originally recorded then great, but if the size is bigger than the player the you will get a resized version.
With respect to dynamic resizing of the video you have the following options:
stretching (uniform,fill,exactfit,none)
However for our use this does not cut it. If I set stretching(none) then the video gets cropped if the size is bigger than the player, which I guess is fair enough.
However, my request would be to offer a fifth option - say "optimal" or "bestfit" which would basically constitute an 'intelligent' resize behavior. Do nothing {stretching(none)} when the video is smaller than the player and {stretching (uniform)} when the player canvas is smaller than the size of the original video.
While this may be a small feature I believe that it would be a great asset. After all the primary function of the whole machine is what you see -;)
PS: It could be that this could be done in javascript , but from a quick look this is only possible during initialization. (Weather this observation is right or wrong I would however still think that you should consider adding this small tweak - it simply makes sense.
Best Regards,
Henrik Levring
Dec. 31, 2008JeroenW
I'll take a look at implementing this fifth option.
This cannot be set through javascript, since flashvars cannot be re-set from javscript. It can be done through actionscript though. Perhaps a little stretching plugin, in which a user can select the option, might be a good one.
May. 09, 2009Chris D
Stretching can be set with right-click menu in current version of JW Player:
Q. Has an API been added to set this with JavaScript?
Jun. 09, 2009Eric
it's no good to require a user to right click the menu to set stretching...that's ridiculous. this should be easily set with actionscript or something. i don't see where the flashvar setting works for it either in version 4.
Jun. 09, 2009LoLo
Stretching works just fine in the player embedding code — if you know what you're doing!
Jun. 16, 2009a rOD
It would be great if this was implemented.
Oct. 29, 2009Erwan
I have the exact same need, an ynews on when this could be implemented?
Oct. 29, 2009Zachary Ozer
There's currently no plan to implement this, but expect an update to ExactFit that does something along these lines:
http://developer.longtailvideo.com/trac/ticket/606
Oct. 29, 2009Erwan
not sure that would serve my needs.
I'm also doing some screen recording movies
what I'd like:
- when display size is smaller than movie, scale the movie down to display it all
- when display size is larger than my movies (as when in full screen mode), do not stretch the movie (make text too blurry) but add black border for the movie to be displayed at its recording dimensions (for the text & other graphics to look nice & readable, not being resized)
Any mean to get his behavior today? (looked around but haven't found any solution apart from editing the player code, how out my technical knowledge)
Thx!
Oct. 29, 2009Zachary Ozer
Currently not possible, and there aren't currently any plans to add this.
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.