Add A Video From Code Behind?

Jul 5, 2010

m using a JW player with the following code

<script type='text/javascript'>
//var file_link = this.Label2.Text;
var so = new SWFObject('http://player.longtailvideo.com/player4.6.swf','ply','470','320','9','#000000');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.youtube.com/v/S2HIda5wSVU&fs=1');
so.write('mediaspace');
</script>

Now I have some video links in a gridview so I just want to be able to load the video depending on what the user selects from the gridview..i.e. m using gridview as a playlist..so can somebody tell me how to load the video in the above code from code behind.

View 11 Replies


Similar Messages:

Assign URL Using Code Behind (vb.net) The Video Is Not Displayed?

Mar 28, 2010

i have big(may be small) issue regarding ASPNetVideo:if i assign the URL directly the video (wmv) is displayed howeverwhen i assign URL using code behind (vb.net) the video is not displayed:

[code]...

View 8 Replies

Web Forms :: How To Show Video From Database Using Embed Code Of Youtube

Jul 30, 2010

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 Replies

Basic Template - Implement For A Video Search Function For Youtube Video?

Jan 12, 2010

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 Replies

Javascript - What Is The Best And Easiest-to-use Video Player For Popular Video Extension

Sep 6, 2010

What is the best and easiest-to-use video player for popular video extension in asp.net?

View 1 Replies

Web Forms :: How To Post A Video On Video Player

Feb 10, 2011

I want to post few videos on a website but i don't want to use youtube or any other website.

I want to have an in-build player on the webpage with video in it - how to accoplish that ?

View 4 Replies

AJAX :: Modal Popup Extender Along With An Embedded Video, The Popup Is Hidden Behind The Video In IE?

May 4, 2010

When using a modal popup extender along with an embedded video, the popup is hidden behind the video in IE but works as expected in FF.I've tried manually setting the z-index of the popup to a huge number and the z-index of the video object to 1 but this makes no difference.
I've put the code for a sample page below.

[Code]....

View 2 Replies

MVC :: How To Add Video In 2.0 Using VIdeo Tag That Is Using Html5

Feb 11, 2011

I want know how to add video in mvc 2.0 using Video tag in Html 5 .I am trying to add video using video it display Erro video tag is not defined please help me How to add video in MVC 2.0

View 3 Replies

C# Looking For Video Tutorials?

Mar 27, 2011

I just wondered is there any good learning c# and oop web tutorial / seminars either free or paid that will give you a good understanding of producing asp.net websites?

View 4 Replies

How To Add Flash Video(swf)

Sep 1, 2010

I want to insert flash object in my Asp.net page.I just googled it but found results to create specific object in the page script.Is there any additional UI component available with Simple Drag and drop interface for flash file.

View 1 Replies

How To Capture Video

Feb 10, 2011

for video conference project i need to start from capturing video. me how to capture video in asp.net.

View 2 Replies

Get Thumbnails From Video Wmv In C#?

Apr 14, 2010

How to get thumbnails from video(wmv) in c#

View 1 Replies

How To Add Video On Page

Feb 12, 2010

i want to add video on my html page how i can use that, and wht sort of configuration i want to do ?

View 6 Replies

C# - How To Download A Video

Apr 11, 2010

how to download a video file .wmv and save it to the user's disk when click a button without using the browser save link as

View 2 Replies

Display Video In .net

Jan 17, 2011

I have the account in the youtube and i uploaded some video on that account. Now i want to display that video in my web site by using the embed link.

View 5 Replies

Code Reusability / Put The Code In One Class And Want To Inherit Same Code In Each Page?

Apr 12, 2010

Following is the code to insert userName from session and PageName into table to keep record that how many times a user does hit a particular page.

To avoid repitition of code I want to put the code in one class and want to inherit same code in each page.

How to get this task? Please do share with me? Here is the OK code:

[Code]....

View 17 Replies

How To Embed The Video Files

Jun 8, 2010

How to embed the video files in asp.net page

View 1 Replies

How To Upload And Play Video

Mar 8, 2010

i want to upload video file and then paly it on asp.net page.

View 6 Replies

How To Insert Video In Webpage

Oct 17, 2010

i want to insert video in my web page but the video didn't work it load for small time then it stop and i don't know why??

i write this line in aspx page

<video src="ss.flv" width="500" height="150" controls>
</video>

and i try this line also but no progress it tell me missing plugin all time when i search for missing plugin i found no plugin available

<embed src="ss.flv" width="340" height="140" />

View 3 Replies

Streaming Video Using Embed Tag?

Feb 20, 2010

I am trying to play a video file in an aspx page. the video resides in the database.

I am using handler file (ashx) for that, and using the ashx file as src value of embed tag in the aspx page.

[Code]...

it works if I use media player activex ( object tag) . but it does not work for FF. I think embed tag is most standard. so i am trying to use it for streaming video.

View 5 Replies

How To Use C# To Integrate With Video Streaming

Sep 1, 2010

how to use ASP.Net C# to display video streaming on the ASP.Net Web?

Another thing is the video can only run for one time. Do I need to use any plugin to develop it?


How to use C# code to control the video?

View 3 Replies

MVC Getting Started Video Tutorial

Jun 22, 2010

I'm new to ASP.net and used the on-line demo under the getting started section to try and build my first MVC app. [URL]. This is a great video and is just the kind of thing I need to help me learn as I hate reading though books! However I have gone through this tutorial 3 times now and I can't get it working. Well, I follow it step by step and get the following error. The only difference is that I am using Visual Studio 2010. Being new to this I need to become familiar with all the standard error messages but at the moment they are all foreign. This is my FriendsController.cs I'm not sure if I need to post the other files as I know the database is setup ok.

The error message is:
Error 1 'HelloWorld.Models.FriendsDB' does not contain a definition for 'Friends' and no extension method 'Friends' accepting a first argument of type 'HelloWorld.Models.FriendsDB' could be found (are you missing a using directive or an assembly reference?) C:UserssleoniDocumentsVisual
Studio 2010ProjectsHelloWorldHelloWorldControllersFriendsController.cs 19 52 HelloWorld
[Code]....

View 3 Replies

MVC :: How To Play Video Within Application

Jan 3, 2011

I have successfully build the required interface to upload images and videos within my MVC application. When I upload an image it will be displayed successfully in my application. But When I upload a video it will upload successfully, but an "X" will be displayed in the view. and when i click on this "X" the real player application will open and play the video. But what I need is to be able to play the video within my application?

View 6 Replies

C# - How To Play Video In Silverlight

Aug 6, 2010

How do yo play a video with silverlight?

does Visual Studio come with a video player component build in? or do I need to make a video player?

View 2 Replies

Displaying Video On A Web Page?

Jun 12, 2010

I have to display the Video on my own Asp.net web Page . Can any body have experince of thistask before kindly share the ideas mean what are the steps to play the video on Asp.net Page.Which control i have to use for displaying the video ?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved