3 Replies Latest reply: Feb 6, 2013 12:29 AM by arjunender RSS

    Play video in andriod tablet

    arjunender Community Member

      Hi,

       

      How to play video in andriod tablet

       

      I am using  spark >> video display component it is working in the PC but not in andriod tablet


      and i tried with spark >> videoplayer but no use

       

      here is the code

       

      <s:VideoDisplay source="test.flv" autoPlay="true" width="400" height="300" x="0" y="0"/>

       

      any suggestions

       

      thanks in advance

        • 1. Re: Play video in andriod tablet
          arjunender Community Member

          even example in the given below link is not working in the tablet

           

          http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/VideoDispla y.html#includeExamplesSummary

           

          when i am running the file from the pc   in the tablet video is playing  but when i run it from the tablet itself it is not playing

          • 2. Re: Play video in andriod tablet
            arjunender Community Member

              i have tried even this:

             

            var nc:NetConnection = new NetConnection();

                                                    nc.connect(null);

                                                    var ns:NetStream = new NetStream(nc);

                                                    ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);

                                                    ns.client={ onMetaData:function(obj:Object):void{} }

                                                    ns.play(movieSource);

                                                    var myVideo:Video = new Video();

                                                    myVideo.width = 360;

                                                    myVideo.height = 288;

                                                    myVideo.attachNetStream(ns);

                                                    uic.addChild(myVideo);

                                                    ns.addEventListener(NetStatusEvent.NET_STATUS, netstatusHandler);

             

            Video is not loading

             

            i have android 4 + flash player 11.1 version 11.1.112.61

             

            any suggesstions

            • 3. Re: Play video in andriod tablet
              arjunender Community Member

              any help