Video test file

//

//Change the div id to match the name of the file without the “.flv” !!

var video = “FCNews_111512_600.flv”; //Paste video filename between the quotes

var playlist = [{controls: true, file: ‘rtmp://flashmedia.kent.edu/fms-jmc/kentWired/’ + video }];

var ad = “TechHelpAd_11152012_600.flv”; //Paste pre-roll ad filename between the quotes

var adPlayed = false;

jwplayer((video.split(“.”,1))[0]).setup({

file: “rtmp://flashmedia.kent.edu/fms-jmc/kentWired/” + ad,

image: ‘http://www.staterinteractive.com/photos/spring11/0131tv2.jpg’,

width: ‘270’,

height: ‘200’,

events: {

onPlay: function(){if (adPlayed == false){jwplayer().setControls(false);}},

onComplete: function(){adPlayed = true; jwplayer().load(playlist).onPlaylist(jwplayer().playlistItem(0)).setControls(true);}

}});