Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Non XML Playlist Preroll

5 replies [Last post]

Below is my ideal situation.

I ...Below is my ideal situation.

I am running a .NET db driven site. I want a control panel user to be able to upload a new flv ad to our server and make it a live ad. Now, when a user clicks a video to view, I will randomly pull an active ad, run the preroll (with a click url and it cant be skipped) and then run the requested video.

Now, I am fine with everything up to the point of generating the embed code (or javascript). I can do it without a preroll but I cant do it with the random ad selected from the db. Also, I have thousands of videos, so generating an xml file in my view is out of the question.

So the simple question is:

How can I create the above preroll, all through javsscript, and no xml files? If it is a 3rd party tool, please let me know but the 3rd party tools sold on this site tell me basically nothing about what I am buying. If it matters, I am also using google ad manager to run my flash/image ads.

Thanks

CL,

You can do this with the Adtonomy plugin.

http://www.longtailvideo.com/addons/plugins/80/get-examples.html?addon=80&q=

It costs 99 Euros for one site.

Best Regards,

Darjan

Thanks Darjan

I have seen that example and it looks good but when I "View Source" I see that in order for the plugin to work, I need to create and then specifiy an xml file (http://www.longtailvideo.com/addons/plugins/documentation/80/adC.xml). This is what I do not want to do. And the other sample code requires me to spend over $100 dollars just to view it (kinda crazy).

One solution I just thought of is creating an asp page that outputs xml. Would this work? Does the plugin simply read the bytes from the server or does the plugin need a file with an xml extension?

ex:
so.addVariable('adtvideo.config', 'http://www.mysite/randomad.aspx');

Thanks

I use a php script for my xml file for adtonomy so yes it works well.

what is the xml code? like my images are not showing the player..as my codes are...

<track>
<title>Hit Video</title>
<creator>Kenny</creator>
<location>D:\Songs\Video Songs\tonight.flv</location>
<info>http://www.mysite.com</info>
<image>canvas.png</image>
</track>

tell me the solution

@Kenny Mughal - Can you provide a link to where you are running this?