fixed image condition. autoplay after end. socketio.
Merge pull request #2 from asbudik/temp_branch

fixed image condition. autoplay after end. socketio.