hey, in case anyone was trying to get this to work on html5: the issue is that sometimes, when pulling from the dialogue youve defined from your speaker, you can leave it blank - since html5 is stricter, this undefined value youve passed in is an error rather than being detected as a 0 and not being passed on
say for example youve not defined colours for a line, instead of it looking like [0,0,0..] (i.e. default colours), it will look like this [undefined,undefined,undefined...]. the main solution is to add a !is_undefined(...) to the value youve passed in from the speaker. i hope this helps somebody!