|
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.
|
|
|
|
|
Hi,
you want to integrate youtube vedio in yr ASP application?
Regards
Anil Pal
|
|
|
|
|
yes. i need the virtual path of the flv file from youtube site.
|
|
|
|
|
hi,
Hmm... Check out below url
http://chiragrdarji.wordpress.com/2008/09/16/integrate-youtube-in-aspnet
Regards
Anil Pal
|
|
|
|
|
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.
|
|
|
|
|
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[^]
|
|
|
|
|
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'])) {
$url = $_GET['url'];
$data = implode("", file($url));
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.
|
|
|
|
|
Subarna4D wrote: I am searching it from last 2 months.
2 months
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[^]
|
|
|
|
|
Hi,
How to use javascripts in sitemap
|
|
|
|
|
Hi,
I hv a user control. I want to use a method that is inside a BasePage which is inherited by System.Web.UI.Page. Bt I cant inherit this page into my usercontrol and use the method.
So i tried to create another usercontrol put the method inside it and inherit it to the required userControl. Bt it is giving error.
How i can inherit a usercontrol into another.
Thank you all for your help.
|
|
|
|
|
Hi,
It would be nice i f u explain certain things:
1. Whats is y r exact requirement?
2. What method u want to inherit/override and why?
Which user control u r trying to create window/web and where u want to consume it?
Regards
Anil Pal
|
|
|
|
|
suzzain wrote: I want to use a method that is inside a BasePage which is inherited by System.Web.UI.Page. Bt I cant inherit this page into my usercontrol and use the method.
Well, what is that method? You can not access private methods
suzzain wrote: How i can inherit a usercontrol into another.
public partial class myCalendarControl : UserControl
{
}
public partial class myCalendarControl2 : myCalendarControl
{
}
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[^]
|
|
|
|
|
Dear Friends.
i have installed .net framework 3.5 on my system and it show in add remove program.
but when i go to
IIS -> Default Web Site->Property->ASP.net TAB->ASP>NET Version then it show only 2.0.50.....
How I resolve this problem please help me.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Well friend,
3.0, 3.5 both are the extension of .NET 2.0, In 3.5 it have some of the dlls like System.core etc which gives you those functionalities, but existing dlls are as it was.
Means mscorlib is not replaced when you install 3.0 rather it uses the existing one.
So 3.5 is just the complete framework of 2.0
It will not be shown in IIS.
|
|
|
|
|
Thanks Bossssssssssssssssssssssssssssssssssssssss
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
You are welcome..
Dont worry. Just publish your application and choose 2.0, It will work fine with 3.5
|
|
|
|
|
have u work in silverlight?
how to deploy project in Localhost?Can u provide me step by step processors.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: Bossssssssssssssssssssssssssssssssssssssss
oh my eye
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[^]
|
|
|
|
|
i want to set Authentication in web.config..... how to set Authenticated? can u help to me.....
if(Page.User.Identity.IsAuthenticated)
{
}
|
|
|
|
|
Hi,
Yes, but before that do u have predefine user for authentication?
If yes then what they are?
Regards
Anil Pal
|
|
|
|
|
I created an image using syste.Drawing.Image class and draw text on it using c#.i want to rotate that text. How to do it?
|
|
|
|
|
This has nothign to do with ASP.NET. There's a rotate transform you can use .
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi,
I am developing a AJAX enabled ASP.NET web app. when i created a user control containing AJAX controls(Update Panel),there was no errors.
But when i added this control to a web form , it generated the Err : Unable to render control.
How could i solve this problem?
Pl HELP.....
|
|
|
|
|
What type of error do you get.
Are you adding ScriptManager to the user control...
use ScriptManager Proxy rather than ScriptManager.
|
|
|
|
|
In my project I have an custom error page. while running the project when page_load happens for first time for a particular page the custom error page is shown below all controls in that page.this is happening even if there is no error in that page.
|
|
|
|