XML Parsing Error: mismatched tag. Expected: </table>.
Location: http://localhost/silverstripe/videos/?stage=Stage
Line Number 104, Column 8: </tr>
------------------------------------------^
looks like there is no code to check for something like
if itemsperline < 2:
do stuff
else:
do other stuff