support video loops in mediabox