Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










Playing YouTube Videos?


I am looking to play youtube.com videos in ASP.NET. I would use the embedded link that is available on the site, but I want to ability to change the source video link based on button clicks.


View 4 Replies (Posted: Jul 27 09)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Web Forms :: Playing Youtube Videos From Link Saved In Database?
BACK-END CODE TO ENABLE USER TO ENTER YOUTUBE VIDEO LINK (url):

[Code]....

FRONT-END PANEL TO DISPLAY VIDEO:

[Code]....

Posted: Mar 21, 2011 06:47 AM

View 2 Replies!   View Related
Web Forms :: Playing Mp4 And Flv Videos?
i want a player that can play flv and mp4 videos. i want to embed that player in my website (.net 3.5) i have googled a lot...but not found any....flowplayer is playing all flvs, but supports mp4 partially, some mp4 videos in flowplayer dont show video.

Posted: Sep 25, 2010 05:52 AM

View 2 Replies!   View Related
Playing HD Videos Continuously On A Web Page?
I have to play a high defination video on a web page. But my is exact requiremnet as follows:

1. There should be no user inteface at all. ( no play,stop button not even clip progress bar ) So inshort the video should look like Ad Banner.

2. I want to paly a list of videos one afte the other and as soon as last video stops playing the first video should should start. So it will be like a palylist that would be played continuously.

Note: I would prefer to cache the videos that are palyed on the client machine, because the videos should be palyed all the time even for days.

Posted: Oct 08, 2009 02:48 AM

View 1 Replies!   View Related
Playing Youtube Video On .aspx Site?
I have scan through the many page of techniques here on this site to figure out how to play a youtube video on my site. Here is how my application is suppose to work. The user takes the url of the video on youtube and place it in a textbox to save to a database. On thier page, the video should play. I have attempted to use the aspflashvideo control but I don't think it can take just the youtube url.

Posted: Aug 24, 2009 03:06 AM

View 10 Replies!   View Related
Silverlight Media Player Not Playing Mpg Videos?
I have been trying to use Media player which is apart of the .net framework 3.5 in my web page, which work find with wmv video formats but doesn't work for any other video formats. This is frustrating, I really need some The video files is stored in a directory on the client eg. /Videos/bear.mpg The path to the video file is stored in sql server database.I am using asp.net c# language.

Posted: Feb 23, 2009 05:02 PM

View 3 Replies!   View Related
Can Embed Videos Through Youtube
I had task to embed videos through youtube cahnnel in our website . how can I do that?

Posted: Sep 27 10 at 10:15

View 1 Replies!   View Related
How To Upload Youtube Videos In A Page
I want to upload youtube videos in a page

Posted: Nov 15, 2010 08:15 AM

View 3 Replies!   View Related
Add Youtube And Upload Multiple Videos?
I am preparing youtube videos in a site.I didn't get this.

Question:" In Page i am Placing "YouTube Video" and under that i'm uploading some more videos in .Net" when i click the video it will display the Video in that particular "YouTube" and the videos will store in database.

Posted: Nov 10, 2010 09:53 AM

View 1 Replies!   View Related
Uploading And Converting Videos To .FLV On The Fly Like In YouTube?
I'm trying to create a video upload and sharing feature on my site where people can upload their WMV, AVI, MOV or MPEG files, and the system converts it immediately to a Flash FLV file, just like YouTube, so visitors using any browser can playback the videos without having to install any software.

But I'm really not sure how to get started doing it. I read there is Swish Video2 and Inlet Media. But these look like standalone packages. Can they be integrated with a web app? Fyi, my site is hosted on a shared web server, so I can't install any software on the server. Would if someone could point me in the right direction on this.

Posted: Jun 22, 2007 08:56 AM

View 9 Replies!   View Related
User Embeding YouTube Videos?
i have a page setup where users can create a profile page, i would like it so they can copy and paste an embed youtube script of their youtube video into a text box and then on their profile page have it display that video.how do i get it so they can copy and paste that embeded scriptinto into say a textbox and then have it show up in there created profile page?

the rest of the stuff they enter are things such as name, location, etc, which is all just text that gets moved over to the profile page fine, however i dont know how to get it so this script text is placed as a script in the profile page and not transfered as just text printed to the screen.

Posted: Mar 19, 2009 02:19 AM

View 1 Replies!   View Related
Displaying Videos From Youtube Channel?
I had YouTube Channel and I Had Web Page on my web site which display this video ,I diplay the viedo in ModalPopupExtender ,and I had problem when I finsihed from displaying this video and close ModalPopupExtender the sound of viedo still displaying.
' id="Image" runat="server" width="96" height="86" alt="Video" />
'>
' type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="400" height="320">

[Code]....

Posted: Dec 7 10 at 9:53

View 1 Replies!   View Related
Embedding YouTube Videos Dynamically?
Embedding a single youtube video is basic and understood to me, But I have a Band Page which is loaded with different values (depends on the band Name from previous) page, I would like to add a different video for each band (obviously), So I understand that I need to add a column to my DB with the specific URL for each video, but then what? I have this query: SELECT VidURL FROM Bands where band name = 'bandName' How do I put the specific URL I get from a query on the page?

Posted: Mar 16, 2009 09:26 PM

View 5 Replies!   View Related
Display Videos From Youtube Or Another Sites?
how can i display videos from youtube or another sites?

which object should i use?

Posted: Nov 09, 2009 07:46 PM

View 2 Replies!   View Related
Play Youtube Videos In Site Without Upload?
I am using ASP.NET 2008 web developer and i dont know how to share youtube videos in my pages.

I want to play youtube videos in my site without upload

Posted: Jan 22, 2010 01:04 PM

View 4 Replies!   View Related
Web Forms :: How To Get Thumbnail Image From Embedded Videos Other Than Youtube
I want to get thumbnail image from embedded videos of myspace, break.com, flickr.com etc using C#.net

Posted: May 02, 2010 03:08 PM

View 4 Replies!   View Related
Embedding Youtube Videos Using Link Saved In Database?
I am new to asp.net. M working on a project that requires embedding a youtube video in my website. I have tried the youtube javascript API and also the embed code that is written alongside the URL of a particular youtube video. But the real issue is I want to embed the videos like it is done in Orkut's Add video feature. Copy pasting the link of any video in a textbox or the embed html code in the textbox and clicking on the button saves the link in the MS sqlserver 2005 database.

Also, I want to know how to save a textbox value like the String of URL of a youtube video in the database and the code to retrieve that value.

I am using asp server controls like a textbox and a button, a sqlDataSource control to connect to the database. I have a also created a database and a table in to save the URL. But I dont know the code to actually save the value of the textbox in the table by clicking on a button.

Also what type of value should i use to save the URL like nvarchar(max)?

Posted: Mar 24, 2009 08:49 AM

View 6 Replies!   View Related
Autostart Youtube In Code Behind And Play Videos Non Stop?
[Code]....

[Code]....

[Code]....

Posted: Mar 03, 2010 06:23 PM

View 5 Replies!   View Related
Forms Data Controls :: Play Youtube Videos From Database?
I have to play you tube videos from database( ie. http://www.youtube.com/watch?v=QB2fZsBZGYs) is saved in database.

I have written the code

<asp:DataList ID="dlmovie" runat="server" >
<ItemTemplate>
<table>
<tr>
<td>
<embed type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" width="150" height="140" src='<%# Eval("videopath") %>'/>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>

some videos start playing while some not. why is this happening? if i directy paste code given in you tube site for that video to embed in asp.net site. that video start playing

i.e <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/QB2fZsBZGYs&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/QB2fZsBZGYs&hl=en_US&fs=1&"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

Posted: Dec 12, 2009 06:47 AM

View 1 Replies!   View Related
Forms Data Controls :: Display All Videos By Clicking That Videos ?
My requirment is to display all videos by clicking that videos it want to play how to do this.how to add mediaplayer into list view and play the videos.i want to display in this formathttp://www.youtube.com/results?search_query=sports&aq=f

Posted: Feb 03, 2011 05:20 AM

View 3 Replies!   View Related
Play File On Intra Net / File Is Not Playing On Intranet But It Is Playing On Host Pc?
how can i play vedio on IIS i mean intranet.i have this code but the file is not playing on intranet but it is playing on my pc mean host pc. so tell me the syntex that how can i write to play vedio.

in this code first of crate folder on rot then have dll to convet file and save it to created folder ad this vedio pass to the media player.

public void dl()
{
string directoryString = @"Compaq
epositry3vls_media";
DirectoryInfo folder = Directory.CreateDirectory(directoryString);
foreach (FileInfo file in folder.GetFiles())
{ file.Delete(); }
string voxpath = DateTime.Now.ToString("hhmmss");
string fname = voxpath;
VOX2WAVCONVLib.voxwavconv vox = new VOX2WAVCONVLib.voxwavconv();
string ss = GridView2.Rows[0].Cells[1].Text;
string s = GridView2.Rows[0].Cells[2].Text;
string filename_path = "C:\Compaq\VLS1\" + s + "\" + ss;
string filename = filename_path;
vox.Adpcm8k(filename, @"Compaq
epositry3vls_media" + fname + ".wav");
System.Threading.Thread.Sleep(3000);
mediaFileName.Attributes.Add("value", @"http://Compaqrepositry3vls_media/" + fname + ".wav");
}

Posted: Apr 22, 2009 07:23 AM

View 1 Replies!   View Related
Upload Youtube Video Without Youtube Api?
How can we upload video to Youtube without using its api in asp.net? My requirement is that user uploads video to our site and after admin approval that video is uploaded to Youtube. I'm using ASP.NET

Posted: Mar 7 at 13:31

View 3 Replies!   View Related
Playing Video From Webpage
I have a Test.wmv file and I created a Test.wvx file with the following content:

[Code]....

My question is on line 3 above I put ???? where I dont know what that should be if I store the wmvin the root of my website and/or what should it be if I create a Videos subfolder from my webroot folder and placed both the wvx and wmv files in that folder.

I am using a linkbutton to point to the wvx file like:

<asp:LinkButton
ID="lbTestVideo"
Text="Test Video"
runat="server"
PostBackUrl="~/Test.wvx"
/>

Posted: May 22, 2009 04:08 PM

View 3 Replies!   View Related
Playing A Mp3 File On A Webpage?
In an ASP.NET environment, what's the best way to play a mp3 file? Do I need to use a flash plugin (some users may not have flash). Also, this needs to work on a IPhone or an IPod.

Posted: May 17 10 at 2:13

View 3 Replies!   View Related
Check Whether Asf Stream Is Actually Playing?
I have a website built in ASP.NET 2.0 and a Windows Server 2003 server streaming live videos with Windows Media Services.

To play the content i usually embed a Windows Media Player in my page and make it open the publication URL (let's say http://my.server.com/live), and it works fine.

The problem is that when no stream is playing, an empty stopped player appears and i don't like that

So i'd like to check in my (VB) code if there's actually something being streamed BEFORE i open the player, and display a 'no active stream right now, please try later' message instead.

Posted: Jan 18, 2010 03:40 PM

View 5 Replies!   View Related
Web Forms :: Video Is Not Playing In Tag?
i have Placed one object tag in one of my aspx pages which will play videos dynamically. object tag is as follow:

<object
type="application/x-shockwave-flash"
data='<%=file %>'[code]....

where "file" is a variable which i have delared at Code behind and on one button click i set it with "Video file with path". problem is that, i am not able to play video...

Posted: Jan 31, 2010 02:02 PM

View 12 Replies!   View Related
Web Forms :: Playing Video On Web App?
i used this JQuery plugin to play video on my app

[URL]

but i am not able to play the video,,,,,,Do i need some kind of player too??

i just copied the source from page and pasted as well as made js file too and copied the code of plugin and pasted in my app...

Posted: Jul 08, 2010 06:22 AM

View 6 Replies!   View Related
Playing Flash Movies On Webpage
I have a bunch of .swf flash movies to play on a website - developed by someone else. Ideally, I'd like to have the user administratorupload the flash files to a folder on the website and then have usersplay them back as requested.

In my DB, I have a table with the flash file name. While I can easily do the file upload and the links on the page, I have been futzing with different flash controls for a week and can't see how to make this work with ASPNetFlash (and the forum request therehas been unanswered so I don't know if this is possible).

For example:

The user would click on an activity in a table like this:

View Activity Ruler

View Activity Clock

Then, through a query string, I would pass the flashID to another page for playing the movie. The MovieURL fieldwould be something like: ~/FlashFiles/Flashfilename.swf where the Flashfilename is dependent on which activity the user selected.

I use Visual Web Developer 2008 Express, VB, SQL 2005. ASPNetFlash and the few other controls I have explored work fine when the Flashfilename.swf is hardcoded on the page. They claim to allow parameters to be dynamically assigned, but I have not found any examples where this really works for the MovieURL parameter.

Posted: Jul 19, 2009 11:08 PM

View 5 Replies!   View Related
Dynamic Video Uploading And Playing?
I want to play a movie in my web page.

I have to change it daily.

I dont no Ajax or Javascript.

Posted: Dec 01, 2008 06:11 AM

View 5 Replies!   View Related
Playing Video/Audio In Webpage In 3.0?
i need to embedd a video player on web form, that will be able to play almost every ormost of the known video/audio formats....(mpeg, flv, avi, 3gpp, wmv, wma)..i need only a single player.....to be embedded....and it shuld not use the pc's local players..

Posted: Jul 23, 2010 12:06 PM

View 6 Replies!   View Related
MVC :: Razor Playing Silverlight Video?
USing MVC 3 I created a View

Index.cshtml
<div>
@Video.Silverlight(

[code]...

Posted: Feb 17, 2011 11:58 AM

View 3 Replies!   View Related
Web Forms :: Playing Video In Firefox?
In our application we are playing video, for this we are using frameworke 2.0.Video files are placed in application server.This is working fine in IE and it is not working in firefox.

Posted: Jan 27, 2011 09:44 AM

View 2 Replies!   View Related
Web Forms :: Playing Music On A Webpage?
I'm setting up a website for a friend who wants to showcase their music. At the moment i have about 12 songs all loading at the same time using the <embed> tag. This displays a WMP object on the page for each song and obviously takes forever to load due to the total size of the songs.

I'd like to be able to simply have a link (title of the song) and an imageon the side of each song (play button) that can be used to start and stop each song as required.

Posted: Jan 26, 2010 02:00 PM

View 2 Replies!   View Related
Web Forms :: Playing A Sound From Code Behind?
i have a control that shows me Messages. it sits in an update panel andconstantly polls theserver for new messages.This isaccessed by multiple users..My problem is that i need to be able to play a sound when new messages are found.. i have been able to "sorta" do this using soundplayer.. every time it polls it is checking timestamps to determine if a message was added in the last x seconds.. if so.. ding.. that works great.. UNTIL you put it out on the server.. from what i gather.. that will only dingat the server.. (great for the server room... not so much for the users).. i have been googling for hours now.. it seems theres 3.4 billion answers for stuff i don't think im looking for.. but i can't seem to find anything that really does this. I need the Code behind to cause the playing of the sound.. and for allusers..

Posted: Dec 27, 2010 07:19 PM

View 4 Replies!   View Related
Web Forms :: Video File Not Playing Through Silverlight
I tried following code for running the video file through silverlight. By this page is load successfully but video not playing. Can anybody suggest me how to play video file through silverlight? Is there any setting ?

<Grid x:Name="LayoutRoot"
Background="White">
<MediaElement AutoPlay="True" x:Name="MPEG_video"
Source="mdlib.wmv" Stretch="Fill" Margin="0,0,0,0"/>
</Grid>

Posted: Jul 07, 2009 10:39 AM

View 6 Replies!   View Related
Playing Audio Files Uploaded Using FileUpload?
I have used FileUpload to upload audio files in my directory since it uploads any type of file using Server.MapPath(). How should I approach to play these files for file formats like mp3 or wav. Would the media player control be a good option.

Posted: Mar 24, 2009 09:04 AM

View 1 Replies!   View Related
C# - Persist Silverlight MediaElement Playing On Postback
I am trying to figure out how to persist the playing of a Silverlight MediaElement playing within a Silverlight User Control embedded in an ASP.NET during postback.

The scenario goes:

Have a media player on a site, press play, continue navigating through site while the music continues playing.

What it does right now:

Obviously the object gets loaded anew on each postback or page redirect (even if it's back to the same page IE: default.aspx).

I've seen samples of how to persist the state of a Control on postback and even complex data through cross-page postback. But nothing that covers my specific case.

Other particulars:

Silverlight 2
ASP.NET
C#

My default.aspx:

[code]....

Posted: Nov 18 10 at 5:17

View 1 Replies!   View Related
Web Forms :: Detect The Song Currently Playing On The Computer?
I want to know if there is a way I can detect a song currently playing on computer. Is this possible to do through a web site ? Since there are some machine level dependencies, I am wondering if its possible to do with Silverlight? I cant think of a way this would work with ASP.NET.

I want to mimic the behavior of MSN messenger, which updates the status with the current song playing on the computer. I want to do this in a web application.

If ASP.NET+Silverlight does not work, is there ANY other way this might be possible?

This is easier when you are running "windows apps" on the computer. But, lets say you are listening to music on rhapsody or if the computer is playing music with ITunes or Windows media player or real player, can a website detect the song and display it to the user?

Posted: Sep 26, 2009 04:32 PM

View 2 Replies!   View Related
Web Forms :: Soundplayer Class Not Playing Sound?
I have tried the SoundPlayer class in ASP.NET used to give alert when it reachs threshold (value has beenset).

When i directly complied from VS2008 its working mean it gives alert sound. But while i open browser the type "localhost/website/default.aspx" in the address bar its not playing (any sound).

My code is here

SoundPlayer objSoundplayer = newSoundPlayer(path);
objSoundplayer.LoadAsync();
objSoundplayer.Play();
objSoundplayer.PlayLooping();
Workingwith portnumber: localhost:55678/website/default.aspx

Not Working: localhost/website/default.aspx

What worng in this code or need to inculde some more properites.

Posted: Feb 26, 2011 10:52 AM

View 5 Replies!   View Related
Web Forms :: Detect The Current Song Playing On Computer?
I want to know if there is a way I can detect a song currently playing on computer. Is this possible to do through a web site ? Since there are some machine level dependencies, I am wondering if its possible to do with Silverlight? I cant think of a way this would work with ASP.NET.

I want to mimic the behavior of MSN messenger, which updates the status with the current song playing on the computer. I want to do this in a web application.

If ASP.NET+Silverlight does not work, is there ANY other way this might be possible?

Posted: Sep 24, 2009 04:54 PM

View 3 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved