I have a card on android and it works nicely to play videos automatically and in a looping format when the card opens. Here is that code, which is pretty standard stuff:
Code: Select all
put the rect of grc "video" of tTemp into tRect
put ("video" && tGroupNo) into fld "playerName" of tTemp
mobileControlCreate "player", ("video" && tGroupNo)
mobileControlSet ("video" && tGroupNo), "filename", tVidFile
mobileControlSet ("video" && tGroupNo), "visible", true
mobileControlSet ("video" && tGroupNo), "showController", false
mobileControlSet ("video" && tGroupNo), "looping", true
mobileControlSet ("video" && tGroupNo), "preserveAspect", true
mobileControlSet ("video" && tGroupNo), "rect", tRect