Code for creating CodeNameOne video player