Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

Developing with the Vonage Video API Plugin

Important: OpenTok.js version 2.16 was the last version to support the OpenTok Plugin for Internet Explorer. OpenTok.js version 2.16 was deprecated in May 2020 for the Standard environment and June 2020 for the Enterprise environment. Support for the OpenTok plugin for Internet Explorer is removed in OpenTok 2.17.

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

The OpenTok Plugin for Internet Explorer is installed automatically when you load OpenTok.js in a browser. However, on a machine where automatic updates are prevented, you will have to manually install the plugin (using admin privileges):

OpenTok.js version OpenTok Plugin version
2.14 2.4.0.145
2.13 2.3.0.140
2.12.2 2.2.1.133
2.12.0 - 2.12.1 2.2.0.126
2.11 2.1.0.118

For information on downloading the plugin for manual installation , contact us.

HTML settings for plugin support

The plugin does not work in Internet Explorer compatibility mode. You must add this to the HTML page:

<!DOCTYPE HTML>

Or this:

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

Do not use the following setting (emulation mode):

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Testing your app

Try running your Vonage Video API-powered app using Internet Explorer. If you have not installed the OpenTok Plugin for Internet Explorer, you will see the following dialog box:

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 isNotIE () {
  var userAgent = window.navigator.userAgent.toLowerCase(),
      appName = window.navigator.appName;
 
  return !( appName === 'Microsoft Internet Explorer' ||                            // IE <= 10
           (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.