multiple issues fixed: a) videos are placed in the array in the right order b) do not send anything when state changes to buffering c) dontPublish shouldnt be set True when the player wouldnt change its state after receving a message