I download the jw player. i want to know how to give the video url at the run time for the java script given by jw player. if anyone know the solution help me.
Here is the code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Pagetitle>
head>
<body>
<form id="form1" runat="server">
<div>
<div id="mediaplayer">JW Player goes herediv>
<script type="text/javascript" src="jwplayer.js">script>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
flashplayer: "player.swf",
file: "sample.flv",
image: "preview.jpg"
});
script>
div>
form>
body>
html>
thanks,
sathya kumarPosted May 18, 2011, 3:18 AM
Gowtham manjuPosted May 17, 2011, 8:36 AM
step1;
place a link button
click it
write code as
video.Text = videoplay("Videos/video20.avi");" "denotes url
den
protected string videoplay(string links )
{
string val;
val = "";
return val;
}
u edit based on sending above links