message: Removed manual module wrapper
diff: import { PreloadedVideo } from "./interfaces/PreloadedVideo";
  import { VideoOptions } from "./interfaces/VideoOptions";
  -(function (factory): void {
  - // http://blog.npmjs.org/post/112712169830/making-your-jquery-plugin-work-better-with-npm
  - // If there is a variable named module and it has an exports property,
  - // then we're working in a Node-like environment. Use require to load
  - // the jQuery object that the module system is using and pass it in.
  - // Otherwise, we're working in a browser, so just pass in the global
  - // jQuery object.
  - factory(
  - typeof module === "object" && typeof module.exports === "object"
  - ? (require("jquery") as JQueryStatic)
  - : jQuery,
  - window,
  - document
  - );
  -})(function ($: JQueryStatic, window: Window, document: LegacyDocument): void {
  - "use strict";
  // COMPONENTS //
  const $activityObject = $("<div/>")
  .attr("class", "imagelightbox-loading")
  @@ -114,10 +98,10 @@ import { VideoOptions } from "./interfaces/VideoOptions";
  return false;
  },
  hasFullscreenSupport = !!(
  - document.fullscreenEnabled ||
  - document.webkitFullscreenEnabled ||
  - document.mozFullScreenEnabled ||
  - document.msFullscreenEnabled
  + document.fullscreenEnabled// ||
  + //document.webkitFullscreenEnabled ||
  + //document.mozFullScreenEnabled ||
  + //document.msFullscreenEnabled
  ),
  hasHistorySupport = !!(window.history && history.pushState);
  @@ -1068,4 +1052,3 @@ import { VideoOptions } from "./interfaces/VideoOptions";
  return this;
  };
  -});
  