9 Replies Latest reply on Aug 1, 2007 12:50 PM by Newsgroup_User

    load and control youTube video

    dorianw
      I would like to load a youtube video in a flash movie.
      I have absolutely no idea how to do this.
      I have the URL of the movie and I have the target movieChild.
      All I want to do is to load and play the video frm within the fash movie I have created.
      Can anyone help me. I am using FlashMX. and I haven't used it for a while (and I am no computer expert.)
        • 1. Re: load and control youTube video
          Level 7
          Hmm...this is a pretty complicated process. Here's one external
          application that can do this: http://www.peabee.com/blog (see the
          Software section). Maybe the library is open source to do this.

          Patrick

          dorianw wrote:
          > I would like to load a youtube video in a flash movie.
          > I have absolutely no idea how to do this.
          > I have the URL of the movie and I have the target movieChild.
          > All I want to do is to load and play the video frm within the fash movie I
          > have created.
          > Can anyone help me. I am using FlashMX. and I haven't used it for a while (and
          > I am no computer expert.)
          >

          --
          http://www.baynewmedia.com
          Faster, easier, better...ActionScript development taken to new heights.
          Download the BNMAPI today. You'll wonder how you ever did without it!
          Available for ActionScript 2.0/3.0.
          • 2. Re: load and control youTube video
            jak9942 Level 1
            this is very hard to do. unless you know where the exact location of the flv is then you havnt got a chance of doing this unless you want to load the entire swf into it.

            good luck
            Jake
            • 3. Re: load and control youTube video
              Level 7
              No quite true, Jake. There is a way to do it, it's just more involved
              than a simple entry here. Check out the PeaBee software and see if it
              hasn't got a chance :)

              Patrick

              jak9942 wrote:
              > this is very hard to do. unless you know where the exact location of the flv is then you havnt got a chance of doing this unless you want to load the entire swf into it.
              >
              > good luck
              > Jake

              --
              http://www.baynewmedia.com
              Faster, easier, better...ActionScript development taken to new heights.
              Download the BNMAPI today. You'll wonder how you ever did without it!
              Available for ActionScript 2.0/3.0.
              • 4. Re: load and control youTube video
                Level 7
                In fact....that software also works with video from DailyMotion, iFilm,
                and Google Video. It can definitely be done.

                jak9942 wrote:
                > this is very hard to do. unless you know where the exact location of the flv is then you havnt got a chance of doing this unless you want to load the entire swf into it.
                >
                > good luck
                > Jake

                --
                http://www.baynewmedia.com
                Faster, easier, better...ActionScript development taken to new heights.
                Download the BNMAPI today. You'll wonder how you ever did without it!
                Available for ActionScript 2.0/3.0.
                • 5. Re: load and control youTube video
                  craus
                  Assuming it's legal to do so:
                  Download the flv file: http://keepvid.com/
                  Make a new flash file.
                  Import -> Import Video.
                  Publish the file.
                  • 6. load and control youTube video
                    jak9942 Level 1
                    oh right!!!

                    I havnt had time to check that out. at least i know now!!

                    quote:

                    Originally posted by: Newsgroup User
                    No quite true, Jake. There is a way to do it, it's just more involved
                    than a simple entry here. Check out the PeaBee software and see if it
                    hasn't got a chance :)

                    Patrick

                    jak9942 wrote:
                    > this is very hard to do. unless you know where the exact location of the flv is then you havnt got a chance of doing this unless you want to load the entire swf into it.
                    >
                    > good luck
                    > Jake

                    --
                    http://www.baynewmedia.com
                    Faster, easier, better...ActionScript development taken to new heights.
                    Download the BNMAPI today. You'll wonder how you ever did without it!
                    Available for ActionScript 2.0/3.0.



                    • 7. Re: load and control youTube video
                      dorianw Level 1
                      The video is mine, so it's not a question of having the video on my site. It's more a question of using youtube to store all my videos and calling them up when I need them but in the size i need . I've just tried PeaBee but the video comes out jerky and I can't seem to use it from within the swf I create.
                      • 8. load and control youTube video
                        Damon Edwards Level 3
                        you can use the MovieClipLoader class to load the SWF file into an empty movie clip on stage. You can get the URL to the SWF by viewing source in browser and looking for the embed tags. Actually, it gives you the embed tag, so just use the URL in that embed tag to target the SWF in the MovieClipLoader object.
                        • 9. Re: load and control youTube video
                          Level 7
                          When you create the PeaBee embedding code...note the "edat" variable.
                          Put that as a _root variable in your FLA. For example:

                          _root.edat="FA18987ECB...

                          Then, load the swf from http://player.peabee.com/ (the address is
                          automatically translated to a SWF).

                          You should now have a fully functional player inside your own code.

                          Patrick

                          dorianw wrote:
                          > The video is mine, so it's not a question of having the video on my site. It's
                          > more a question of using youtube to store all my videos and calling them up
                          > when I need them but in the size i need . I've just tried PeaBee but the video
                          > comes out jerky and I can't seem to use it from within the swf I create.
                          >

                          --
                          http://www.baynewmedia.com
                          Faster, easier, better...ActionScript development taken to new heights.
                          Download the BNMAPI today. You'll wonder how you ever did without it!
                          Available for ActionScript 2.0/3.0.