JW player dock button not scaling related to player scaling
There is problem in scaling of Dock Buttons when of jw player when 开发者_运维知识库the player is resized. Here the Url of an example to see the issue.
http://clients.dbglab.com/player.html
Is there any way that I the dock button will automatically get re-sized relative to the size of the player?
Regards Deepu
Even though the Dock button is not on the control bar, you can resize the image, just by changing the size of the icon image.. Just make sure that the image size doesn't go beyond the button text.
Even if we reduce the size of the image, it will not get resized according to the size of the player. Hope it is the actual requirement, but here the icon remains in the same size even if you increase the player size.
I got the issue resolved by placing dock buttons on the control bar.
It was achieved by simply setting the dock variable "false"
s1.addVariable("dock",'false');
You can see the way it works at http://storybridge.tv/StoryBridge/freespirits/story/fightclub
Even though I got the solution, I just thought of sharing as it may help someone with similar need.
精彩评论