[player] add sample player code