View Full Version : Page disable after 20 loads then load the next in line
chuco61
08-06-2008, 04:53 PM
I work at a local newspaper which is beginning to host news videos with their editorials. The videos are being called in with iframes, the videos are on html pages in a sub folder.
we want to begin putting commercials in the beginning of the videos
THIS IS THE TRICKY PART
We want commercial A to play on news video A on Html A, once Html "A" page has hit 1000 page loads, we would like to disable html A and begin loading html B which will play another video, once this hits 1000 page loads we would like to disable video B and load C and so forth
is there a javascript that can disable a page and load another, maybe in conjunction with an xml list.
Please keep in mind that it is all called into one iframe, wich will relay all these changes.
Please help, thanks! :confused:
chuco61
08-06-2008, 04:54 PM
I work at a local newspaper which is beginning to host news videos with their editorials. The videos are being called in with iframes, the videos are on html pages in a sub folder.
we want to begin putting commercials in the beginning of the videos
THIS IS THE TRICKY PART
We want commercial A to play on news video A on Html A, once Html "A" page has hit 1000 page loads, we would like to disable html A and begin loading html B which will play another video, once this hits 1000 page loads we would like to disable video B and load C and so forth
is there a javascript that can disable a page and load another, maybe in conjunction with an xml list.
Please keep in mind that it is all called into one iframe, wich will relay all these changes.
Please help, thanks! :confused:
im new here by the way. great to be here finally!
Medyman
08-07-2008, 12:44 AM
I work at a local newspaper which is beginning to host news videos with their editorials. The videos are being called in with iframes, the videos are on html pages in a sub folder.
we want to begin putting commercials in the beginning of the videos
THIS IS THE TRICKY PART
We want commercial A to play on news video A on Html A, once Html "A" page has hit 1000 page loads, we would like to disable html A and begin loading html B which will play another video, once this hits 1000 page loads we would like to disable video B and load C and so forth
is there a javascript that can disable a page and load another, maybe in conjunction with an xml list.
Please keep in mind that it is all called into one iframe, wich will relay all these changes.
Please help, thanks! :confused:
Something like that is best handled server-side. It won't be too complicated to code. This thread (http://www.dynamicdrive.com/forums/showthread.php?t=35105)might be userful.
I suppose there are budget constraints here, but there are more dynamic ways of adding ads to videos.
chuco61
08-07-2008, 03:56 PM
Something like that is best handled server-side. It won't be too complicated to code. This thread (http://www.dynamicdrive.com/forums/showthread.php?t=35105)might be userful.
I suppose there are budget constraints here, but there are more dynamic ways of adding ads to videos.
how would you incorporate something like this with html
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.