Temasys / AdapterJS

AdapterJS Javascript Polyfill and Tools for WebRTC - Skylink WebRTC
http://skylink.io/web
Other
428 stars 100 forks source link

Added check for navigator.mimeTypes undefined. Should show plugin not supported banner #305

Closed ishannaithani closed 5 years ago

ishannaithani commented 5 years ago

Purpose of this PR

In situations where navigator.mimeTypes are not available (headless browsers), the AJS code needs to make a safe check and display plugin not supported banner.

johache commented 5 years ago

notInstalledCb will trigger the installation of the plugin. That's not necessary in the case of mimetype being undefined. The notification is enough.

ishannaithani commented 5 years ago

Understood. I have remove the call to notInstalledCb.