Hello
I'm trying to update my JV video player to 4.1 version so I can implement pre/mid/post roll Ads.
1. How do I upgrade the player? Which page do I need to edit to embed the code?
 Member
					
					
						Member
					
					
                                        
					
					
						 Upgrading JW Video Player to 4.1
 Upgrading JW Video Player to 4.1
		Hello
I'm trying to update my JV video player to 4.1 version so I can implement pre/mid/post roll Ads.
1. How do I upgrade the player? Which page do I need to edit to embed the code?
 Administrator
					
					
						Administrator
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		To upgrade to v4.1, download the JW Player, unzip and upload the swf files to player folder.
If you need skin installed, download skin, rename it to skin.swf, upload to player folder.
Edit include/player.inc and add
As for preroll and post roll, you need to use xml feed, this will be provided on next version.so.addVariable("skin", "{$config["baseurl"]}/player/skin.swf");
Replace the file flash var to
xml_playlist.php should output xml playlist.Code:so.addVariable("file","{$config["baseurl"]}/xml_playlist.php?id={$video_id}");
 JW Player 4.1 Download Location
 JW Player 4.1 Download Location
		Here's where to get the player:
http://www.jeroenwijering.com/?item=JW_FLV_Player
 Senior Member
					
					
						Senior Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		Or, you could use Longtail Video (ad service from the people who make the JW Player). It's free and they provide you with the ability to add pre, mid, and post roll ads to your site without having to create XML files (simply add the code they provide and add you ads to your back office. The JW player has built in support for it).
Visit http://www.longtailvideo.com/referral.a ... lqekkkdbmt
vShare Solutions
Custom vShare Modules and Services
Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!
 Member
					
					
						Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		Thanks Bflex,
Where do I add the embed code that longtail provides? Can't seem to figure it out.
 Senior Member
					
					
						Senior Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		You add it to the player.inc file in your includes directory.
vShare Solutions
Custom vShare Modules and Services
Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!
 Junior Member
					
					
						Junior Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		how to make a xml-playlist.phpOriginally Posted by admin
can you give a exemple
thanks
 Member
					
					
						Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		I am trying to follow the longtail instructions but I'm still confused on where to add the code to the player.inc file? Longtail gives you three pieces of code to add but I'm still having issues. Could you post an example of your player.inc code?Originally Posted by bplex
 Senior Member
					
					
						Senior Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		Send me a PM with your player.inc file and the code from Longtail. I will update the file with the code and send it back to you.
vShare Solutions
Custom vShare Modules and Services
Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!
 Senior Member
					
					
						Senior Member
					
					
                                        
					
					
						 Re: Upgrading JW Video Player to 4.1
 Re: Upgrading JW Video Player to 4.1
		Im not sure i know where to apply this to the fileCode:so.addVariable("skin", "{$config["baseurl"]}/player/skin.swf");
here is my code
Code:<?php $displayheight = $config['player_height'] - 20; if($config['player_autostart'] == 1) { $extra = "so.addVariable(\"autostart\", \"true\");"; } else { $extra = "so.addVariable(\"autostart\", \"false\");"; } $vshare_player = <<<EOT <script type="text/javascript" src="{$config["baseurl"]}/player/swfobject.js"></script> <p id="vshare_player">Get Flash to see this player.</p> <script type="text/javascript"> var so = new SWFObject("{$config["baseurl"]}/player/player.swf","vshare_player","$config[player_width]","$config[player_height]","8"); so.addParam("allowfullscreen","true"); so.addVariable("file","{$file}"); so.addVariable("image","{$config["baseurl"]}/thumb/$video_id.jpg"); so.addVariable("logo","{$config["baseurl"]}/templates/images/watermark.gif"); so.addVariable("link","{$config["watermark_url"]}"); so.addVariable("linktarget","_blank"); so.addVariable("width","$config[player_width]"); so.addVariable("height","$config[player_height]"); so.addVariable("displayheight","$displayheight"); so.addVariable("overstretch", "true"); so.addVariable("skin", "{$config["baseurl"]}/player/skin.swf"); $extra so.addVariable("bufferlength", "$config[player_bufferlength]"); so.write('vshare_player'); </script> EOT;
http://monitorporn.info Free Porn
Bookmarks