Skip to content

Releases: 3Data/pw-player-communicator

v2.0.0

24 Apr 07:48
Compare
Choose a tag to compare

New events

New event to expose the user cam status:

  • userCamStatus(string: status)

Removed methods

The next methods are no longer available. Sending tips or toys now should be done throug api request.

  • sendTip(int: amount)
  • sendToy(int: amount)

v1.9.2

09 Jul 09:32
Compare
Choose a tag to compare
  • Update docs

v1.9.1

09 Jul 07:05
Compare
Choose a tag to compare
  • New methods for video management: play(), pause() and stop().
  • Docs updated.

v1.8.2

22 Mar 15:39
Compare
Choose a tag to compare
  • Stop searching for iframes.
  • iframe-communicator bug.

v1.8.1

18 Mar 07:59
Compare
Choose a tag to compare
  • Update bundle

v1.8.0

17 Mar 16:35
Compare
Choose a tag to compare
  • Prevent SSR errors.
  • Update docs, recheck pints 1 and 2.

v1.7.1

04 Mar 07:57
Compare
Choose a tag to compare
  • Update docs with the allow="camera;microphone" iframe attribute.

v1.7.0

03 Mar 11:22
Compare
Choose a tag to compare
  • New video method: activateUserCam().
  • New video method: deactivateUserCam().
  • New common event: disconnected(string: reason).
communicator.on("disconnected", function(reason){
  console.log("disconnected in tester", reason);
});

btActivateCam.addEventListener("click", function(){
  communicator.activateUserCam();
});

btDeactivateCam.addEventListener("click", function(){
  communicator.deactivateUserCam();
});

v1.6.0

01 Mar 12:42
Compare
Choose a tag to compare
  • Internal code simplyfied
  • New chat method: requestVIP
  • New chat event: VIPRequestStatusUpdate
communicator.requestVIP();
communicator.on("VIPRequestStatusUpdate", function(status){
  console.log("VIPRequestStatusUpdate on tester", status);
});

v1.5.1

25 Feb 14:57
Compare
Choose a tag to compare
  • Documentation corrections.
  • New chat event roomModeUpdate(string: roomMode)
communicator.on("roomModeUpdate", function(roomMode){
  console.log("roomModeUpdate on tester", roomMode);
});