Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

CSS transform


I have JWPlayer embedded in a page, that itself is in an iframe. This works fine.
Then I use CSS Transform to scale the body of the iframe, like this:

$('body').css({
"transform":"scale(0.8)",
"transform-origin":"0 0"
});

This mostly works fine. Except, the player's idea of where the mouse is seems to be
incorrect.

Has anyone tried this?

1 Community Answers

erik

User  
0 rated :

I tried it, and the mouse seems to be working properly...can you provide a URL? Why are you trying to change the size in this way and why are you using an iframe (just curious)?

simsketch@gmail.com

This question has received the maximum number of answers.