fixed image condition. autoplay after end. socketio.