Go Back   VidiScript Forums > Main Forum > Member To Member Support
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Member To Member Support Have a question? Need some help? Technical support questions only please

 
 
Thread Tools Display Modes
  #1  
Old 02-09-2010, 01:05 AM
richdon03 richdon03 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Rep Power: 0
Rep points: 10richdon03 is on a distinguished road
Default SettingUp Longtail Ads using FlowPlayer in Vidiscript

The FlowPlayer allows you to use longtail Ads. I wonder if Michael or Poorboy has any idea where to place the ad code within vidiscript. Help with this would be greatly appreciated.
  #2  
Old 02-09-2010, 05:40 PM
michaelD's Avatar
michaelD michaelD is offline
Moderator
 
Join Date: Dec 2008
Location: Diamond Bar, CA
Posts: 308
Rep Power: 2
Rep points: 13michaelD is on a distinguished road
Default

Hi,

What is your flowplayer version? Before posting the answer for my question. Please log on to your longtail account and generate the code for your account.

In longtail's code generator, there is an option there where the script ask you "Tell Us About Your Player", on the dropdown menu select the version of your flow player.

After selecting your player, there will be a file required for you to download. Download this file first, or from their website.

Now, after downloading the itas.swf, scroll down the page and look for another drop-down menu and select SWFObject 2.0 or above.

Scroll down the page and grab your player codes. Paste these codes to your notepad save it as text. We will be referring to this file later on.

Go to the flowplayer website and download their player package. The zip files should contain the swfobject-2.1.js and some other player stuff.

Do those things first, and post your updates.

Your Saved codes should look like these codes below;

Quote:
Quote:
<script type='text/javascript' src='http://yourDomainDotcom/Embed/swfobject.js'></script>
and the player codes
Quote:
Quote:

<div>
<div id="player1"></div>
</div>

<script type="text/javascript">
var flashvars = {
config:"{'playlist':[{'url':'http://www.YourDomainDotcom/Embed/video.flv'" +
",'autoPlay':false}],'plugins':{'ltas':" +
"{'url':'flowplayer.ltas.swf','channelcode':'YOURCHANNELCODESHERE'}},'playerId': "
+"'player1'}"
};
var params = {
"allowscriptaccess":"always",
"allowfullscreen":"true",
"wmode":"transparent"
};
var attributes = {
"id":"player1",
"name":"player1"
};
swfobject.embedSWF("http://www.YourDomainDotcom/Embed/player.swf", "player1", "400", "320", "8", false, flashvars, params, attributes);
</script>
If anyone notice, this setup is no other than playlist settings. Anyone with proper knowledge of how flash works, can easily deliver their own ads with longtail or no longtail. SSSH, don't tell anyone from longtail Ok. For example, using this setting, I can easily deliver my own ad using an xml, or even RSS if needed be. NEXT...I will mocked up the above codes for vidiscript mediaplayer();
__________________
My vidiscript powered website.

Last edited by michaelD; 02-09-2010 at 06:01 PM.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:53 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.