Updated video placement code.