Running Video from a sub directory in Android
Posted: Wed Mar 20, 2013 5:22 pm
I have videos located in a sub directory I am trying to run. The player shows up but there is no video. Does anyone have any idea what I am doing wrong?
Here is my code -
Here is my code -
Code: Select all
on mouseUp
put specialFolderPath("engine")&"/Video/Cab_Base_Level_mov" into docpath --local video
mobileControlCreate "player"
put the result into sPlayerId
mobileControlSet sPlayerId, "visible", "true"
mobileControlSet sPlayerId, "rect", "0,0,550,413"
mobileControlSet sPlayerId, "showController", "true"
mobileControlSet sPlayerId, "filename", docpath
mobileControlDo sPlayerId, "play"
end mouseUp