got the player to work using default js instead of jQuery method