fix autoplay after initial loop. socketio chat and socketio things