So what are changing with salign etc is how the flash content within the player is aligned within the swf. If you want to change of the player on the page, then you need to do that with CSS (or tables if you are old-school :)
Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of djelliott Sent: Friday, 6 February 2009 7:43 AM To: SWFObject Subject: Problems with passing variables for screen location. I am using JW Player to load an FLV on my website. I'd like it to be aligned on the top/right side of the window with the window cropped. This is my code. <script type="text/javascript">var so = new SWFObject ('player.swf','mpl','470','320','9');so.addParam ('allowscriptaccess','always');so.addParam ('allowfullscreen','true');so.addParam('salign','rt');so.addParam ('flashvars','&file=WorkPaysAmerica.flv&autostart=true');so.write ('player'); </script> The player shows up at the top/left of the window, which is full screen. I have tried using so.addParam('align', 'right') so.addParam('salign','tr') so.addParam('salign,'rt') I also tried adding a flashvars None of my tweaks has sucessfully moved the player nor have I been able to reduce the size of the window. Is there a way to accomplish these two objectives locate player at top/right of window reduce the size of the window so that it does not fill the monitor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
