Help - Search - Members - Calendar
Full Version: Adding a pre roll ad through script
Pixel2Life Forum > Help Section > General Help
N4Z.
Hey

I have a video for a product i'm selling, straight from my supplier, but I want to run my websites 5 second intro video before, I don't really want to edit the video file because that would mean downloading it, editing it and then reuploading it, is there any way I can just play 2 videos basically..?

heres the code:

CODE
<script type="text/javascript" src="https://media.dreamhost.com/ufo.js"></script>
<p id="sample.flv"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>

<script type="text/javascript">
  var FO = { movie:"https://media.dreamhost.com/mediaplayer.swf",width:"320",height:"240",majorversion:"7",build:"0",bgcolor:"#FFFFFF",
             flashvars:"file=http://www.numark.com/stuff/contentmgr/files/21/7f1592c14a38c99108a814a83d69b042/media/cseries_05_vp6_512k.flv&showdigits=true&autostart=false" };
UFO.create(FO,"sample.flv");
</script>


Before the flv video (http://www.numark.com/stuff/contentmgr/files/21/7f1592c14a38c99108a814a83d69b042/media/cseries_05_vp6_512k.flv) starts, I want another one to play first, and then that video.

Any ideas?

Thanks
rc69
I'm not 100% familiar with this, but i know you could probably look at the JWM video player. I know it has this functionality (whether or not you can specify what video plays first, i'm unsure).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.