add flex video support