Results 1 to 4 of 4

Thread: Page disable after 20 loads then load the next in line

  1. #1
    Join Date
    Aug 2008
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Page disable after 20 loads then load the next in line

    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!

  2. #2
    Join Date
    Aug 2008
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by chuco61 View Post
    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!
    im new here by the way. great to be here finally!

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by chuco61 View Post
    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!
    Something like that is best handled server-side. It won't be too complicated to code. This thread might be userful.

    I suppose there are budget constraints here, but there are more dynamic ways of adding ads to videos.

  4. #4
    Join Date
    Aug 2008
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Medyman View Post
    Something like that is best handled server-side. It won't be too complicated to code. This thread 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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •