refactor native IPlayer implementation
am: d73b1134e7  -s ours

Change-Id: I0b1cca595b333002c68525f11f3ed785efdbd4b3