ajhalls
06-02-2010, 12:32 PM
I am working my way through the tutorial ([HOW TO - vB4] Create your own vBulletin page ) by Lynne and need to know how I can create a page that can accept a variable in the link such as:
<a href="videodisplay.php?videolink=video433.flv">Link to video 433</a>
So in the example below, I need to have the video Chad.flv swapped for whatever file is linked in the href
I am using the most basic of pages with the following as the style :
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
{vb:raw headinclude}
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:raw pagetitle}</h1>
</div>
<h2 class="blockhead">Title</h2>
<div class="blockbody">
<div class="blockrow">
Text
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://www.coursesaver.com/jw/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='streamer=rtmp://coursesaver.com:1935/Chad&file=Chad.flv&provider=rtmp'>
<embed
id='video2'
name='video2'
src='http://www.coursesaver.com/jw/player.swf'
width='470'
height='320'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars=' value="streamer=rtmp://coursesaver.com:1935/Chad&file=Chad.flv&provider=rtmp'
/></object>
</table>
</div>
</div>
{vb:raw footer}
</body>
</html>
--------------- Added 1275512671 at 1275512671 ---------------
Bump
<a href="videodisplay.php?videolink=video433.flv">Link to video 433</a>
So in the example below, I need to have the video Chad.flv swapped for whatever file is linked in the href
I am using the most basic of pages with the following as the style :
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
{vb:raw headinclude}
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:raw pagetitle}</h1>
</div>
<h2 class="blockhead">Title</h2>
<div class="blockbody">
<div class="blockrow">
Text
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='video1' name='video1'>
<param name='movie' value='http://www.coursesaver.com/jw/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='streamer=rtmp://coursesaver.com:1935/Chad&file=Chad.flv&provider=rtmp'>
<embed
id='video2'
name='video2'
src='http://www.coursesaver.com/jw/player.swf'
width='470'
height='320'
bgcolor='#000000'
allowscriptaccess='always'
allowfullscreen='true'
flashvars=' value="streamer=rtmp://coursesaver.com:1935/Chad&file=Chad.flv&provider=rtmp'
/></object>
</table>
</div>
</div>
{vb:raw footer}
</body>
</html>
--------------- Added 1275512671 at 1275512671 ---------------
Bump