js player integration