cordova-plugin-opentok icon indicating copy to clipboard operation
cordova-plugin-opentok copied to clipboard

session.subscribe and OT.initPublisher don't take elements only element ids

Open aullman opened this issue 10 years ago • 1 comments

In the web version of opentok.js the subscribe and initPublisher method targetElement property can be either the element ID or the element itself. So eg. both of these work:

session.subscribe(stream, document.querySelector('#subscriber'));

and

session.subscribe(stream, 'subscriber');

This doesn't work in opentok.js for Cordova.

aullman avatar Nov 07 '14 04:11 aullman

+1

ertanden avatar Jun 10 '15 09:06 ertanden