Add responsive player for responsive themes
-
Hi!
It would be great if the 100% setting would actually work for the height, too. It would be easy to adjust the height of the player object dynamically to the width of the parent element. Here is a function for js to do that:
var aspectHeight = function(width, aspect_w, aspect_h) { var height = width / aspect_w * aspect_h; return height; };
Would be great! Nice plugin btw! I would implement this feature myself but I don’t know how to fork a plugin. It’s far easier with git and github. =/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add responsive player for responsive themes’ is closed to new replies.