GetVar() not supported in IE11 on Windows 7

While using Internet Explorer 11 (version 11.0.9600.16476) on Windows 7, GetVar() is not supported and giving error saying "Object doesn't support property or method GetVar" as var player = GetPlayer() doesn't returns an [object object] but it returns it as [object DispHTMLEmbed]. In older versions var player = GetPlayer() return an object [object object].

However on Windows 8.1, exactly same version of IE 11 (version 11.0.9600.16476) doesn't have any such issue.


Please let me know if there is a way to fix it.

Thanks

Manoj

2 Replies
Salavat Mullabaev

The problem is caused by IE variable that is equal to "false" if you use IE 11.

The solution I found is:

  1. Open story.js file (you can find it in story_content folder)
  2. Find GetPlayer function
  3. Edit it like this:

   function GetPlayer() {

      var player = null;

      player = document.getElementById("player");

      return player;

   }

   4. Save edited story.js file