Fixing bug of auto stop player when no start end time.