Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. youtube video download

youtube video download

Scheduled Pinned Locked Moved ASP.NET
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SubarnaMishra
    wrote on last edited by
    #1

    Can anybody please tell me how to get youtube video url through asp.net.It can be done with php easily.but i am not able to do the same with classic asp.

    A Y 2 Replies Last reply
    0
    • S SubarnaMishra

      Can anybody please tell me how to get youtube video url through asp.net.It can be done with php easily.but i am not able to do the same with classic asp.

      A Offline
      A Offline
      anilpal
      wrote on last edited by
      #2

      Hi, you want to integrate youtube vedio in yr ASP application?

      Regards Anil Pal

      S 1 Reply Last reply
      0
      • A anilpal

        Hi, you want to integrate youtube vedio in yr ASP application?

        Regards Anil Pal

        S Offline
        S Offline
        SubarnaMishra
        wrote on last edited by
        #3

        yes. i need the virtual path of the flv file from youtube site.

        A 1 Reply Last reply
        0
        • S SubarnaMishra

          yes. i need the virtual path of the flv file from youtube site.

          A Offline
          A Offline
          anilpal
          wrote on last edited by
          #4

          hi, Hmm... Check out below url http://chiragrdarji.wordpress.com/2008/09/16/integrate-youtube-in-aspnet Regards Anil Pal

          S 1 Reply Last reply
          0
          • A anilpal

            hi, Hmm... Check out below url http://chiragrdarji.wordpress.com/2008/09/16/integrate-youtube-in-aspnet Regards Anil Pal

            S Offline
            S Offline
            SubarnaMishra
            wrote on last edited by
            #5

            Thanks for your reference. Is it possible to get flv file(or virtual path of the video in youtube site) of youtube video by supplying the youtube url.

            1 Reply Last reply
            0
            • S SubarnaMishra

              Can anybody please tell me how to get youtube video url through asp.net.It can be done with php easily.but i am not able to do the same with classic asp.

              Y Offline
              Y Offline
              Yusuf
              wrote on last edited by
              #6

              Subarna4D wrote:

              It can be done with php easily.but i am not able to do the same with classic asp.

              Well if it can be done in php, what is preventing you from doing it in asp? smells fishy!

              Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

              S 1 Reply Last reply
              0
              • Y Yusuf

                Subarna4D wrote:

                It can be done with php easily.but i am not able to do the same with classic asp.

                Well if it can be done in php, what is preventing you from doing it in asp? smells fishy!

                Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

                S Offline
                S Offline
                SubarnaMishra
                wrote on last edited by
                #7

                Thanx for ur reply. Can you please give me the equivalent classic asp(vb scrpt) code for the php code below.

                <?php

                if (isset($_GET['url'])) {
                // Get page
                $url = $_GET['url'];
                $data = implode("", file($url));
                // Get content items
                if (preg_match_all("/&t=[^&]*/", $data, $matches))
                {
                $t = $matches[0][0];
                $t = preg_split("/=/", $t);
                $t = $t[1];
                $v = $url;
                $v = preg_split ("/\?v=/", $v);
                $v = $v[1];
                $youtubepath = "http://www.youtube.com/get\_video.php?video\_id=" . $v . "";
                $youtubepath2 = "t=". $t . "";
                echo "$youtubepath&$youtubepath2&.flv";
                } else {
                echo "null";
                }
                } else {
                echo "No YouTube URL to process";
                }

                ?>

                I am searching it from last 2 months. Thanks in advance.

                Y 1 Reply Last reply
                0
                • S SubarnaMishra

                  Thanx for ur reply. Can you please give me the equivalent classic asp(vb scrpt) code for the php code below.

                  <?php

                  if (isset($_GET['url'])) {
                  // Get page
                  $url = $_GET['url'];
                  $data = implode("", file($url));
                  // Get content items
                  if (preg_match_all("/&t=[^&]*/", $data, $matches))
                  {
                  $t = $matches[0][0];
                  $t = preg_split("/=/", $t);
                  $t = $t[1];
                  $v = $url;
                  $v = preg_split ("/\?v=/", $v);
                  $v = $v[1];
                  $youtubepath = "http://www.youtube.com/get\_video.php?video\_id=" . $v . "";
                  $youtubepath2 = "t=". $t . "";
                  echo "$youtubepath&$youtubepath2&.flv";
                  } else {
                  echo "null";
                  }
                  } else {
                  echo "No YouTube URL to process";
                  }

                  ?>

                  I am searching it from last 2 months. Thanks in advance.

                  Y Offline
                  Y Offline
                  Yusuf
                  wrote on last edited by
                  #8

                  Subarna4D wrote:

                  I am searching it from last 2 months.

                  2 months :omg: :wtf: what a waste, you could have learned php to the point you could have understood the code.

                  Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups