diff --git a/src/main.js b/src/main.js
index <HASH>..<HASH> 100644
--- a/src/main.js
+++ b/src/main.js
@@ -5,9 +5,11 @@
 var Player = require('./components/player')
 var IframePlayer = require('./components/iframe_player')
 var Mediator = require('mediator')
+var version = require('../package.json').version
 
 global.DEBUG = false
 
 window.Clappr = { Player: Player, Mediator: Mediator, IframePlayer: IframePlayer }
+window.Clappr.version = version
 
 module.exports = window.Clappr
main: add version attribute to Clappr (close #<I>)