Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.RootPanel.LoadLayout("1")
NavControl.ShowPage(Page1)
VideoPlayer1.LoadVideo(File.DirAssets, "big_buck_bunny.mp4")
Wait For VideoPlayer1_Ready (Success As Boolean)
If Success Then
VideoPlayer1.Play 'to start playing automatically
End If
End Sub