Video Player Size Issues - Javascript, CSS & Smarty Expert Required
- or -
Post a project like this2600
$$
- Posted:
- Proposals: 4
- Remote
- #1469855
- Awarded
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
General information for the website: Adult Tube Site
Kind of development: Customization of existing website
Num. of web pages/modules: 1
Description of requirements/features: Hello,
My client has an issue with the video player on his tube site which is a customised version of AVS 3.1. The video player has been recently increased in size but is too large for PC/Tablet/Smart TV.
I have contacted the video player developer and this is what he said re the issue:
"Player width is 100% of parent container, height is calculated by javascript to keep aspect ratio of video and can be different.
This is how AVS script manage it.
Most of videos are 16*9 and then height is 56.25% of width. This is also the minimum what it should be, mostly looks good.
But many videos are 4*3 aspect ration (like in your example) and then height is 75%, of width, and usually looks very big.
Most websites decides to have player only 16*9 width/size. Then video 4:3 aspect ratio has blackbars on left and right, but is not too high. This is how youtube works, vimeo and most of other websites.
There are to ways to have always 16*9 player size.
1. Either to rebuild video template a little and apply new css rules with some trick of absolute positioned elements and 56.25% padding.
2. Or write new javascript functions to control video player height maximum 56.25% of player width.
There is no other simple way."
Please contact me for further information
Kind Regards
Chris M
Extra notes:
Kind of development: Customization of existing website
Num. of web pages/modules: 1
Description of requirements/features: Hello,
My client has an issue with the video player on his tube site which is a customised version of AVS 3.1. The video player has been recently increased in size but is too large for PC/Tablet/Smart TV.
I have contacted the video player developer and this is what he said re the issue:
"Player width is 100% of parent container, height is calculated by javascript to keep aspect ratio of video and can be different.
This is how AVS script manage it.
Most of videos are 16*9 and then height is 56.25% of width. This is also the minimum what it should be, mostly looks good.
But many videos are 4*3 aspect ration (like in your example) and then height is 75%, of width, and usually looks very big.
Most websites decides to have player only 16*9 width/size. Then video 4:3 aspect ratio has blackbars on left and right, but is not too high. This is how youtube works, vimeo and most of other websites.
There are to ways to have always 16*9 player size.
1. Either to rebuild video template a little and apply new css rules with some trick of absolute positioned elements and 56.25% padding.
2. Or write new javascript functions to control video player height maximum 56.25% of player width.
There is no other simple way."
Please contact me for further information
Kind Regards
Chris M
Extra notes:
Chris M.
100% (5)Projects Completed
5
Freelancers worked with
5
Projects awarded
38%
Last project
25 Apr 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hello Chris,
Can you share existing website url of video where I can see issue, and give you cost & time ?
I look forward to your response.
ThanksChris M.22 Feb 2017Hi ya, If you can send me a DM i can give you all the information you need
334427
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies