Hello everybody. I am making a project of an online tv for android where I use iFrame with a flash player on my hosting. I got everything ready, but player which I use (uppod) ask me to put manualy aspect ratio " <param name="flashvars" value="file=http://...&aspect=1.7" />" in a page code. So what I dream to do is to get OriginalWindowWidth & OriginalWindowHeight and put them in var A & Var B, then A/B = Var C and give to page &aspect="C"
Have anybody idea how to? Thanks for your time.
---------------------------
Here is full page code
<object id="videoplayer299" type="application/x-shockwave-flash" data="http://supremetvbox.byethost4.com/uppod-hls.swf" width="500" height="375"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="direct" /><param name="movie" value="http://supremetvbox.byethost4.com/uppod-hls.swf" /><param name="flashvars" value="comment=?????? 1&m=video&file=http://testlivestream.rfn.ru/live/smil:r1.smil/chunklist_b1600000.m3u8&aspect=1.7" /></object>