Web Forms ::store Youtube Or Any Other Video URL Or Link In Database And Retrieve From Database??
Nov 6, 2010how can i store youtube or any other video URL or link in database and retrive from database
and what control i use in this in C sharp
how can i store youtube or any other video URL or link in database and retrive from database
and what control i use in this in C sharp
I want to show video in my page but i don't know how to do it? i want to save embed code of video from you tube in my access DB , and show the video on btn_click.
View 1 RepliesFollow this Link [URL] .... in this tutorial can play video popup but i wnat to retrive this video link in sqlserver using datalist ...
View 1 RepliesBACK-END CODE TO ENABLE USER TO ENTER YOUTUBE VIDEO LINK (url):
[Code]....
FRONT-END PANEL TO DISPLAY VIDEO:
[Code]....
I want to shore youtube url in to database then want to show video in datalist or gridview by using the url. in datalist there will be video player show.
View 1 RepliesI am creating a video database .. User will upload his video.. I know the path will be store in database and video on hard disk .. How video will upload, path are set, and if possible video is downloaded.. I am not creating online streaming .. Just upload and download ..
View 1 Replieshow to upload and retrieve video in c#.net using asp.net
View 1 Repliesi am using this code to retreive video from database according to id it works fine but when i open the sam page in two browser window i get Out of memory exception. how i can get rid of this exception.
EDataContext eld = new EDataContext();
var query = (from item in eld.Videos
where item.VideoID == VideoID
select item.Videodata);
foreach (System.Data.Linq.Binary arr in query)
{
context.Response.BinaryWrite(arr.ToArray());
}
In the following code, I need to modify the Handler so that the records or results that display are based on a QueryString value. Currently all of the records in the table display on the page but I want records to display based on the passing a querystring value based on the field, id. I have tried to alter the code without much success.
Public Class FileVB : Implements IHttpHandler
Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
Dim id As Integer = Integer.Parse(context.Request.QueryString("id"))
Dim bytes As Byte()
Dim contentType As String
Dim strConnString As String = ConfigurationManager.ConnectionStrings("fitnesConnectionString").ConnectionString
Dim name As String
Using con As New SqlConnection(strConnString)
Using cmd As New SqlCommand()
[CODE]..
Its related to datatable in gridview store in session and then session retrive and store to database. basically i am using gridview here creating new row for button click and these row adding untill user's last entry then submit all these entry to database. so i want to use session variable to store this data temporarily and after final entry user click on submit button and all data shold be save in db.
View 9 Repliesi have a web page in asp.net.vb code and sql database.
the persons number is called PNUMB and i have stored all photos of persons in a folder with the persons number (PNUMB) as their file name. when i search for a PNUMB i want to display the photo of the persons whose dtata is displayed. how i sit possible
if (Session["ads1"] != null && Session["ads2"] != null && Session["ads3"] != null && Session["ads4"] != null && Session["ads5"] != null && Session["ads6"] != null)
{
this.Label1.Text = Session["ads1"].ToString();
this.Label2.Text = Session["ads2"].ToString();
this.Label3.Text = Session["ads3"].ToString();
this.Label4.Text = Session["ads4"].ToString();
[Code] ....
how can i retieve data from a database and store it in an array rather than in a datagrid or gridview.
View 3 RepliesI need a place to store images. My first thought was to use the database, but many seems to recommend using the filesystem. This seems to fit my case, but how do I implement it?
The filenames need to be unique, how to do that. Should I use a guid?
How to retrieve the files, should I go directly to the database using the filename, make a aspx page and passing either filename or primary key as a querystring and then read the file.
What about client side caching, is that enabled when using a page like image.aspx?id=123 ?
How do I delete the files, when the associated record is deleted?
My problem is regarding title written above. Currently I have some functions that rely on Sessions to do the job. Everything works smoothly when it is left to default. However, I do not like the idea of losing sessions in case of crash and I have modified my web.config to use Sql Server mode instead.
I have run the necessary commands to create tables and stored procedures in my database using aspnet_sql.exe. I am able to store values into the database but have not been successful retrieving them. Since it has been working fine with InProc mode, I think I can safely assume that there's nothing wrong with my codes. Here's my web.config setting:
<sessionState mode="SQLServer" allowCustomSqlDatabase="true" cookieless="false" timeout="120" sqlCommandTimeout="30" compressionEnabled="true"
sqlConnectionString="Data Source=.SQLExpress;Initial Catalog=mytest;Persist Security Info=True;User ID=mytest;Password=mytest;"/>
Now i'm currently trying to code a basic website as a project and i've run into problems regarding a search video function. having searched through the forum i still could not find a solution.What i intend to do is to have a video search web service in my website, perhaps something like this:http://www.google.com/uds/solutions/...rch/index.html. however from my limited understanding the codes provided is unable to work with VS2005? Is there a basic template that i could follow and implement for a video search function for youtubes video?
View 8 RepliesHow 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
View 3 RepliesHow can one display You Tube Video on .aspx page. I had created one table in DB containing URL details but couldn't make out how to show them. I have to display one button on whose click all Video listing are to be displayed and on click of any video, Video should be displayed.
View 6 RepliesI have a youtube video that I have put in a <div> and I have a <div id="Over"> itself.
The youtube video is on top of the other <div id="Over">. So I have tried to put absolute position and z-index and wmode opaque to the youtube video but with no success.
How to put the youtube video to it comes Under the <div id="Over">. ?
[Code]....
I want to upload video to Youtube using my asp.net application. It should return Youtube video ID or embed code after uploading.
How can I do it using asp.net code?
I want to give the videos Upload and Play feature in website, and i want to use youtube for play the uploaded video.
So please suggest me how to upload videos and store these video in sql database and how to link these video to youtube.
From couple of days i am trying to display a you tube video in my aspx page.but i am facing some problems.
When i started this i thought that this will be very easy task,because i thought that i will have to paste the embed code from you tube and thats it.Now i think its not that simple
Here's what i did
i opened you tube and opened a videos cliked on embed button and copied then embed code and then pasted in my webform.
Run the application and i saw the thumbnail clicked on the play button but got the error
"an error occured please try again later" and this continues forever.
where as the video works perfactly fine if opened from you tube website
[Code]....
I have embedded you tube video into my project.The problem which i'm facing is that when i double click on that video it opens in new tab.What i want is that when i click that video it should open in full screen.Below is the link where i have seen this behaviour
youtube.com/watch?v=yYDOltMx0MQ
I have a button on my aspx page.now i need to get the list of videos with its nuber of views uploaded by a user on youtube.pls help me how to perform this task.this info will be shown in gridview or list view ar any other thing which is suitable.
View 13 RepliesIs it possible to remove YouTube logo when i am using you tube iframe to play a youtube video?
View 1 Replies