Using the FLV Flash Fullscreen Video Player (open source) with Wozwa Media Pro

Hi,

After struggling with the jw player for quite a while, there’s a very fast way to get the flv player running

source for player: http://www.video-flash.de/flv-flash-fullscreen-video-player/

  1. Install the live and the simplevideostreaming application in wowza (read the manual :slight_smile: )

  2. feed some data into wowza (I used On2 Flix Live)

  3. get the flv player, unzip the minimal files to a webserver (read the start.html), for testing I just copied the whole flvplayer folder

  4. use the flashvideoplayer.html page: add params to the url such as

http://[serverip]/flashvideoplayer.html?video=rtmp://[rtmpserver]/simplevideostreaming/_definst_/Extremists

for a video and simply add &isLive=true for a livestream:

http://[serverip]/flashvideoplayer.html?video=rtmp://[rtmpserver]/live/_definst_/myStream&isLive=true

This should get you started, there are of course other ways to play a video/stream

Hi

has anybody used this player with SecureURLParams

how can I tell the Player the doConnect parameter?

I think it works as a querystring in the netstream.connection

netconnection.connect(“rtmp://ip/app?doConnect=123”);

But that’s hard to hide, so it is better to use SecureToken for the player instead. You can take out the doConnect property and put in SecureToken.

Richard

Use this line:

playervars.video = ‘rtmp://IP/livevideo/definst/Stream’;

Try this:

playervars.video = ‘rtmp://IP/livevideo/definst/Stream?doConnect=1234’;

Richard

Or this maybe:

playervars.video = ‘rtmp://IP/livevideo/definst?doConnect=1234/Stream’;

Richard

Great! glad it’s working

Richard

I use the example from FLV

<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
 
	<title>FLV Flash Fullscreen Video Player</title> 
	
	<script type="text/javascript" src="swfobject.js"></script>   
	<script type="text/javascript">
		var playervars = {}; 
			playervars.playerpath = swfobject.getQueryParamValue("playerpath");
			playervars.contentpath = swfobject.getQueryParamValue("contentpath");
			
			playervars.video = 'rtmp://IP/livevideo/_definst_/Stream';
			
			playervars.preview ='start.gif';// swfobject.getQueryParamValue("preview");						
			playervars.loop = swfobject.getQueryParamValue("loop");
						
			playervars.skin = swfobject.getQueryParamValue("skin");
			playervars.skincolor = swfobject.getQueryParamValue("skincolor");
			playervars.skinscalemaximum = swfobject.getQueryParamValue("skinscalemaximum");				
			playervars.smoothing = swfobject.getQueryParamValue("smoothing");		        
   			playervars.volume = swfobject.getQueryParamValue("volume");			
			
			playervars.autoscale ='false';// swfobject.getQueryParamValue("autoscale");
			playervars.autoplay = 'true';
//			playervars.autoplay = swfobject.getQueryParamValue("autoplay");
			
			playervars.videowidth = '720';
			playervars.videoheight = '540';
			
//			playervars.videowidth = swfobject.getQueryParamValue("videowidth");
			//playervars.videoheight = swfobject.getQueryParamValue("videoheight");
			playervars.captions = swfobject.getQueryParamValue("captions");
			playervars.preroll = 'g_intro.flv';
//			playervars.preroll = swfobject.getQueryParamValue("preroll");  
			playervars.ending = swfobject.getQueryParamValue("ending"); 			
			
			playervars.preloader = swfobject.getQueryParamValue("preloader");
			playervars.buttonoverlay = swfobject.getQueryParamValue("buttonoverlay");
			
			playervars.islive ='true';// swfobject.getQueryParamValue("islive");
			
			playervars.debug = swfobject.getQueryParamValue("debug"); 
						
			var params = { scale: "noscale", allowfullscreen: "true", salign: "tl", bgcolor: "#222222", base: "."};  	
			var attributes = { align: "left" };
			
		    swfobject.embedSWF("flvplayer.swf", "videoCanvas", "720", "540", "9.0.28", "expressInstall.swf", playervars, params, attributes);   
	</script>	
</head>
<body bgcolor="#505050" style="margin:0px">
	<div id="videoCanvas">
	
	
	
	<p>This <a href="http://www.video-flash.de/flv-flash-fullscreen-video-player/">Flash Video Player</a> requires the Adobe Flash Player.</p>
	<p><a href="http://www.adobe.com/go/getflashplayer" target="_blank">
	<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
	</div> 
	
</body>
</html>

there is no netconnection

playervars.video = 'rtmp://IP/livevideo/_definst_?doConnect=1234/Stream';

is working!

Thank you