Go
Not registered? Sign up!

Non XML Playlist Preroll

Google Translate
4 posts | return to the AdSolution forum | get the rss feed for this thread

Sep. 15, 2009CL

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

Sep. 16, 2009Darjan LongTail

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

Sep. 16, 2009CL

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

Sep. 21, 2009LennonNZ

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

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.