videoplayer sample with modified partial parse code for json endpoint