enhance the mediabox video api