add native api for dtplayer