Modified code to draw video directly from drone