I used SetDisplayAspect in my game and wrote this code for show my video as full screen. please see it and tell me it's correct or not. I test this code on two phone and one tablem and show video correctly.
Function ShowBeginComic()
SetFolder("\media\video")
LoadVideo("begin.mp4")
SetVideoDimensions( 0, 0, 100, 100 )
PlayVideo()
do
if GetVideoPlaying() = 0
if DeleteTimer# < 1.0 then DeleteTimer# = DeleteTimer# + 0.05
if DeleteTimer# >= 1.0
DeleteVideo()
GameMenu()
exit
endif
endif
sync()
loop
EndFunction
also I used 640 x 400 video size and with above code show it full screen. there is no any problem?
or there is better way?
Thanks for help.