Player Object in HTML 5?
Peter Bogdanoff
bogdanoff at me.com
Fri Dec 18 05:34:13 EST 2015
When I said "millisecond," I meant precision to a millisecond. Otherwise timers would be a second or two or longer. That is possible?
And will the commercial versions of LiveCode be able to create the HTML5 standalones?
> On Dec 18, 2015, at 12:55 AM, Peter TB Brett <peter.brett at livecode.com> wrote:
>
> Hi Peter,
>
>> On 18/12/2015 02:21, Peter Bogdanoff wrote:
>> I was messing with the HTML 5 Create Standalone in my project today. I got it to load in Safari from my local drive and I could change cards and see graphics load, objects hide and show, etc. It’s great!
>
> I'm really glad that your experiments are going well!
>
>> My player control, however, would not load a remote audio file. Are player objects implemented yet? And even more important for me, are callbacks based on millisecond timers going to work?
>
> The player control isn't yet supported in the HTML5 engine. I believe it will be possible to get it to work, probably, but unfortunately I don't expect to have enough development time to get it working before LiveCode 8.0 release.
>
> Very short interval timers can't be made to work reliably in JavaScript, as far as I know. As I understand it (supported by the experiments I've done), browsers have an internal rendering framerate (usually aiming for whatever your monitor refresh rate is), and check & run JavaScript timers at each frame. On the bright side, that should work just fine for animation purposes!
>
> Peter
>
> --
> Dr Peter Brett <peter.brett at livecode.com>
> LiveCode Open Source Team
>
> LiveCode on reddit: https://reddit.com/r/livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list