Using OpenTok in Internet Explorer

The OpenTok Plugin for Internet Explorer enables OpenTok 2.0 sessions in Internet Explorer. The plugin supports Internet Explorer 11.

Testing your app

In Internet Explorer, when a page calls  OT.initSession() , OT.initPublisher() , or OT.upgradeSystemRequirements , it prompts you to install the OpenTok Plugin (if you have not already).

Once you have installed the plugin and reloaded the page, OpenTok functionality is available on the page (and on other pages that use OpenTok).

If there are issues running your app in Internet Explorer 11, you can block access to OpenTok until you have fixed them:

// Detect whether this browser is IE
var isNotIE = function isIE () {
  var userAgent = window.navigator.userAgent.toLowerCase(),
      appName = window.navigator.appName;
  return !( appName === 'Microsoft Internet Explorer' ||                     		
           (appName === 'Netscape' && userAgent.indexOf('trident') > -1) );     // IE >= 11
// If the browser is not IE, and it meets the minimum system requirements for the OpenTok platform,
// then create your app
if (isNotIE() && OT.checkSystemRequirements()) {
  var session = OT.initSession('your apiKey', 'your sessionId');
  // ... continue with your OpenTok application

See the list of known issues in OpenTok.js.

More information

For more information, see the OpenTok.js release notes.

Send us your comments about the plugin and connect with other developers at the OpenTok Plugin forum.

Have more questions? Submit a request