added player class from tv.js
added player class from tv.js