I need api to find screen resolution in javascript then pass it html5 video player.I tried //document.write(screen.width+'x'+screen.height); But its not working for me.
Asked
Active
Viewed 377 times
0
-
Check this link http://stackoverflow.com/questions/10524241/html5-fitting-to-screen-resolution – riti Sep 07 '12 at 08:39
-
And this: http://stackoverflow.com/questions/2242086/how-to-detect-the-screen-resolution-with-javascript – Manatok Sep 07 '12 at 08:39