Some from my office the very first time it showing security error and again refresh is working great.
Thanks for testing for me from your end. I noticed another issue with it . If I add Title window to the page by clicking on button and if you drag the titlewindow on to Iframe , Iframe is covering the Title window :) and even if the window is model( PopUpManager.addPopUp(myComp, this, true);) you still can access IFRAME and play the video :) Once again thanks for your help Regards On Tue, Nov 17, 2009 at 4:20 PM, sathesh <[email protected]> wrote: > hi Kiran, > > checked the demo file it works fine for me in almost all browsers > firefox, IE,Opera,chrome > [ flash player version 10,0,22,87] > > one issue i see is a mild flickering of the iframe up and down but > thats negligible > > didnt get any security exception for me.. > > On Nov 17, 11:35 pm, Kiran Kumar Vasireddy <[email protected]> > wrote: > > Hi Sathesh, > > > > Thanks for looking into it. This solution worked a bit . But If possible > > could you please run the attached code(Demo.mxml) and see the problem ? > > > > I am facing two issues > > > > 1) Videos looks fine in the Pannel when It loads first time , But if you > > scroll down and up and notice the video attached panel how it is behaving > .( > > Video Expands and shrinks) > > 2) First time I am getting security exception ( If I run it from home It > > works good) and refresh on IE (Control +F5) then it works fine . Not sure > > why I am getting exception first time. > > > > Please use the following for myfav.html > > > > <object width="200" height="110"><param name="movie" value=" > http://www.youtube.com/v/Yhg02ALLT6c&hl=en_US&fs=1&"></param><param > > name="allowFullScreen" value="true"></param><param > name="allowscriptaccess" > > value="always"></param><embed src=" > http://www.youtube.com/v/Yhg02ALLT6c&hl=en_US&fs=1&" > > type="application/x-shockwave-flash" allowscriptaccess="always" > > allowfullscreen="true" width="200" height="110"></embed></object> > > > > Regards > > Kiran > > > > On Tue, Nov 17, 2009 at 1:28 AM, sathesh <[email protected]> wrote: > > > hi, > > > > > One solution i could think of --> Goto IFrame.mxml and change the > > > moveIFrame method as public > > > > > then in your main application call moveIFrame on scroll Event > > > > > For example: > > > > > <?xml version="1.0" encoding="utf-8"?> > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > > > > > layout="absolute" scroll="updateScroll()" xmlns:flexiframe="*" > > > > <mx:Script> > > > <![CDATA[ > > > private function updateScroll():void > > > { > > > //add 'verticalScrollPosition' to the initial > > > 'y' position of the > > > 'panel' > > > // p1.y=10+verticalScrollPosition > > > exFrame.moveIFrame() > > > } > > > ]]> > > > </mx:Script> > > > <mx:Panel x="10" y="218" width="250" height="700" layout="absolute"> > > > </mx:Panel> > > > <mx:Panel id="p1" x="10" y="10" width="250" height="200" > > > borderThicknessBottom="3" paddingBottom="0" paddingLeft="0" > > > paddingRight="0" paddingTop="0" layout="absolute" title="Example " > > > > <flexiframe:IFrame id="exFrame" > > > label="Kd" > > > source="http://www.adobe.com/devnet/flex/" > > > width="100%" > > > height="100%" visible="true"/> > > > > > </mx:Panel> > > > > > </mx:Application> > > > > > On Nov 17, 6:08 am, Kiran Kumar Vasireddy <[email protected]> wrote: > > > > Dear All, > > > > > > I am having trouble in displaying youtube videos in my flex > application . > > > > Since the full screen mode is disturbing the video quality , I tried > > > another > > > > approach using IFrame . Created a HTML with you tube embedded script > and > > > > called it in the Iframe and attached it to the Flex Panel . But the > > > problem > > > > here is Iframe components is not fixed to panel and it floats on the > > > > application , so if I scroll down the application IFrame going out > of > > > sync > > > > with Panel ( even if I fix the Panel also using > > > > p1.y=10+verticalScrollPosition) . Can any body please throw some > light on > > > > this , I want my video to be fixed always to the panel and should > support > > > > full screen mode without loosing its quality. > > > > > > My code > > > > > > <mx:Panel id="p1" x="10" y="10" width="250" height="200" > > > > borderThicknessBottom="3" paddingBottom="0" paddingLeft="0" > > > > paddingRight="0" paddingTop="0" layout="absolute" title="Example " > > > > > <flexiframe:IFrame x="0" y="0" id="exFrame" > > > > label="Kd" > > > > source=" > http://localhost:8080/myApp/myfav.html" > > > > width="220" > > > > height="140"/> > > > > > > </mx:Panel> > > > > > > Thanks > > > > Kiran > > > > > -- > > > > > You received this message because you are subscribed to the Google > Groups > > > "Flex India Community" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<flex_india%[email protected]> > <flex_india%[email protected]<flex_india%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/flex_india?hl=. > > > > > > > > Demo.mxml > > 2KViewDownload > > -- > > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" 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/flex_india?hl=.

