src/js/init.js
branchnew-model
changeset 900 7673d645a8e0
parent 894 bb1559ef0fcb
child 908 f56199193fad
equal deleted inserted replaced
898:d05b8920dbaa 900:7673d645a8e0
   154         ret = this.layoutDivs("video"),
   154         ret = this.layoutDivs("video"),
   155         containerDiv = ret[0],
   155         containerDiv = ret[0],
   156         spacerDiv = ret[1],
   156         spacerDiv = ret[1],
   157         _this = this,
   157         _this = this,
   158         _types = {
   158         _types = {
   159             "html5" : /\.(ogg|ogv|webm|mp4)$/,
   159             "html5" : /\.(ogg|ogv|webm)$/,
   160             "youtube" : /^(https?:\/\/)?(www\.)?youtube\.com/,
   160             "youtube" : /^(https?:\/\/)?(www\.)?youtube\.com/,
   161             "dailymotion" : /^(https?:\/\/)?(www\.)?dailymotion\.com/
   161             "dailymotion" : /^(https?:\/\/)?(www\.)?dailymotion\.com/
   162         };
   162         };
   163     
   163     
   164     if (this.config.player.type === "auto") {
   164     if (this.config.player.type === "auto") {