mobilecontrolset "mycontrol", "currentTime"

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ncronier
Posts: 2
Joined: Thu Feb 09, 2017 1:34 pm

mobilecontrolset "mycontrol", "currentTime"

Post by ncronier » Thu Feb 09, 2017 2:30 pm

Hello,
I have a video playing through a mobile control on iOS,
But I need it to play from different specific times, or jump the playhead to different times.

When I try to set the "currenttime" -> mobileControlSet "videoControl", "currentTime", 12500 which should make the playhead jump to second 12 and an half, it jumps to 10000,
whatever value I try it always jumps to the nearest rounded off 10 seconds (10000, 20000,30000 etc. )
I've tried pausing, setting the currenttime and playing, also stopping before, I've even tried using the "begin seeking forward" and the "end seeking" when it reaches the desired spot.... it always end up jumpin to the nearest 10 rounded 10 seconds.

by testing the mobileControlSet("videoControl", "currentTime"), I could see that it briefly gets set to the currentTime I need(ex:125000, but immediately after it jumps to 10000)

any help would be appreciated,

Thanks

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: mobilecontrolset "mycontrol", "currentTime"

Post by LiveCode_Panos » Thu Feb 09, 2017 3:28 pm

Hi ncronier,

This looks like this bug: http://quality.livecode.com/show_bug.cgi?id=18358. I suggest adding your email in the cc list so as you get notified when it is fixed.

Best,
Panos
--

ncronier
Posts: 2
Joined: Thu Feb 09, 2017 1:34 pm

Re: mobilecontrolset "mycontrol", "currentTime"

Post by ncronier » Thu Feb 09, 2017 6:04 pm

It does indeed,
Thanks Panos

Post Reply

Return to “iOS Deployment”