Web Forms :: C# - How To Upload And Show Videos
Dec 26, 2010C# - how to upload and show videos
[Code]...
C# - how to upload and show videos
[Code]...
how to upload videos and after uploaded the videos then play it..using flash player......
View 1 RepliesI have more than 100 videos to display on a single web page. I will keep links on different pages. whenever a user clicks on a video i will redirect him to videos page. The video page will have a DB connectivity and all the paths to the videos and it will display the clicked video on the videos page.
View 10 Repliesi want to use asp media control to show videos stored in database
<asp:MediaPlayer ID="MediaPlayer1" runat="server"
Height="240px" Width="320px" MediaSkinSource="~/skins/Basic.xaml">
</asp:MediaPlayer>
here i am retereving videos as per videoid using linq
ELearnDataContext eld = new ELearnDataContext();
var x = (from a in eld.Videos
where a.VideoID== 1
select a).First();
but i don't know how i can use asp.net mediacontrol to show reterieved videos
I want to upload youtube videos in a page
View 3 RepliesI 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.
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
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 format http://www.youtube.com/results?search_query=sports&aq=f
View 3 RepliesI want to show video in my web form (Asp.net 3.5, C#) when user clicks on video title then particular that video should be display and videos are in application folder.
View 9 RepliesHow To Upload and display Multiplevideos in asp.net using c#
View 1 RepliesI need to show live video streaming on my asp.net website. I know how to show videos and audios on my web page but don't know how to show a live videos?
View 1 RepliesI have a simple user-registration website where I keep records of registered users. I also have an admin page to upload videos, however videos are uploaded to a different server.
I'm using the <video> tag to show the video:
<video width="560" height="340" controls>
<source src="path/to/myvideo.mp4" type="video/mp4";>
</video>`
I want to show this video only to my registered users on my website, since the video is on second server, how can I protect it?
I thought I could build an application and install it on second server, this app will watch whether the requested url is for videos, if so then it'll redirect the user to my login page and here he'll be authenticated and again redirected to the same video url.
I have 2fileupload control 2 button and 2 <asp:image>
I want when user select their image from FUP and click on button it show their selected image into image tag so i should bind image tag from database but i don't know where should i write code that bind my image tag from database
These are my code
protected void BtnUpload_Click(object sender, EventArgs e)
{
string path = Server.MapPath(".") + "../image/House";
string filename = System.IO.Path.GetFileName(fup1.PostedFile.FileName);
fup1.PostedFile.SaveAs(path + filename);
[Code] ....
And second button ....
protected void BtnUpload2_Click(object sender, EventArgs e)
{
fup2.PostedFile.SaveAs(path + filename);
SqlCommand _cmd = new SqlCommand("Fileup3", _cn);
_cmd.CommandType = CommandType.StoredProcedure;
[Code] ....
I'm trying to do something simple but all the solutions I have read on the net do not work. I have restricted the file size limit to my uploads to 10MB in the web.config file. Now I want to show an error once a user attempts to submit a file larger than 10MB.All I get is a page cannot be displayed if the file size is too big. I have tried the following:
[code]...
I have to implement file upload progress bar in one of my project.But,having searched a lot , i am not able to find how to find bytes of file uploaded. how to find bytes of file uploaded in ASP.NET?
View 5 Repliesi am using Asynchronous file upload in model pop up control . i want to show the uploaded image's preview wthin the modelpopup after the upload is completed. anyone tell me how i can do it
View 4 RepliesI'm using ASP.NET with C# and MySql. I'm trying to upload images to my website, to a folder called images, and to store the path on my MySql Database. And i want to show the images by using the path stored on the bank. Above is my code to insert images to the website.
[Code]....
I have been cracking at this for a while now with no luck.
Using asyncfileupload control to upload a file and display the image. The uploading works fine and image is displayed if I reload/refresh the page.
But need to know how I can do this without reloading/refreshing the page.
After reading online posts, I see a recommendation to use scriptmanager but this doesn't work for me:
protected void FileUploadComplete(object sender, AjaxControlToolkit.AsyncFileUploadEventArgs e)
{
ScriptManager.RegisterStartupScript(this, GetType(), "TestAlert",
"window.parent.document.getElementById('" + img_ProfilePic.ClientID + "').src='" + "http://www.site.com/default.jpg" + "');",
true);
}
i add asp.net file upload control as following
<asp:FileUpload ID="filesFileUpload" runat="server" />
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="file types not supported"
ValidationExpression=".(zip|rar|jpg|gif|png|eps|ai|psd|pdf)$" ControlToValidate="filesFileUpload"></asp:RegularExpressionValidator>
and always when i upload file that match the reg expression it show the error .
I'm posting this here because is related with ajax:
I need to upload files without the postback. So far i know that i can use an UpdatePanel with an AsyncFileUpload to achieve this, and it works fine, but this is not enough for me. Turns out that i need the fileupload control to be invisible until the user press a button. then i have to show the file upload control also without the postback, that's why i'm using the updatepanel. To acomplish this i'm using the following code:
[Code]....
if i don't use the normal panel it works fine, but when i put that control, it doesn't work. By "doesn't work" what i whant to say is that it doesn't fire the OnUploadedComplete method.
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.
View 2 RepliesAny way to add powerpoint slides to the webpage.
View 3 RepliesI am working on a project in which i want to create a website like clipconverter.cc. I want to know how will i be able to download video from youtube or any other video from any website?? Also do i need to create only a website or a software too to implement website like clipconverter.cc.
View 1 RepliesI have to put videos in my website.So instead of creating an individual page for each and every video, how can i use the id tag and sql server so that whenver user clicks on the video links the video played in a single page...
View 6 RepliesFollow this link: [URL] ...
In this tutorial when we upload Videos, it will upload in new FlowPlayer window, but I want to retrieve videos from sql server and play in same player window.