I'm totally stumped and would appreciate any advice you might have. I'm using LiveCode 7.01rc2.
This code:
Code: Select all
on openCard
if the environment = "development" then exit openCard
if "mobilecontrol" is among the lines of mobileControls() then
controlDelete
end if
mobileControlCreate "player", "videoControl"
mobileControlSet "videoControl", "filename", specialFolderPath("engine") & "/movies/small.wmv"
mobileControlSet "videoControl", "showController", true
mobileControlSet "videoControl", "visible", true
mobileControlSet "videoControl", "rect", "0,0,1104,621"
mobileControlSet "videoControl", "backgroundColor", "0,0,0,25"
mobileControlDo "videoControl", "play"
end openCard
I'm hoping I'm missing something very basic.
Please let me know if you can think of what I might do to get the video playing on bot devices.
Thanks so much.
Joel