Jump to content
Nokioteca Forum

Codice Aspx Dinamico


xMetallicax
 Share

Recommended Posts

Salve ^_^

ho questa pagina:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Video.aspx.vb" Inherits="eLearning.Video" %>

<!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></title>
<link href="../StiliDiBase.css" rel="stylesheet" type="text/css" />

</head>
<body>
<form id="form1" runat="server">
<div class="TestoNormale">

		<script type="text/javascript" src="swfobject.js"></script> 

	<div id="jwplayer" style="background: #fff; height: 240px; width: 300px;"></div> 
	 	<script type="text/javascript">
		var so = new SWFObject('player.swf', 'mpl', '300', '240', '9');
		so.addParam('allowscriptaccess', 'always');
		so.addParam('wmode', 'transparent');
		so.addParam('allowfullscreen', 'true');
		so.addParam('flashvars', file=video.flv');
		so.write('jwplayer');
		</script>
	</div>  

</form>
</body>
</html>

E' possibile cambiare dinamicamente il parametro file=video.flv via codice? Mi sembra molto strano che non si possa fare perchè altrimenti servirebbe una pagina differente per ogni filmato...

Grazie ;)

Edited by xMetallicax
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

Questo sito utilizza i cookie per analisi, contenuti personalizzati e pubblicità. Continuando la navigazione, accetti l'utilizzo dei cookie da parte nostra | Privacy Policy