Video on Android
Posted: Thu Dec 04, 2014 3:56 pm
Hi all -
I'm totally stumped and would appreciate any advice you might have. I'm using LiveCode 7.01rc2.
This code:
is working perfectly on my Samsung Galaxy 5 but nothing plays on my Nexus 7. I've used "the files" to check to verify that the file actually has been copied to the device and it has. It just isn't playing.
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
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