This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

ThemeWaves Cleanium Slider Video Fix

By: a guest on Oct 3rd, 2013  |  syntax: JavaScript  |  size: 0.66 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. window.fluidvids=function(a,b){"use strict";var c=function(a){this.elem=a};c.prototype={init:function(){var a=100*(this.elem.height/this.elem.width);"absolute","0","0",this.elem.width="100%",this.elem.height="100%";var c=b.createElement("div");c.className="fluidvids","100%","relative","%";var d=this.elem.parentNode;d.insertBefore(c,this.elem),c.appendChild(this.elem)}};for(var d=b.getElementById("main").getElementsByTagName("iframe"),e=0;e<d.length;e++){var f=/|;d[e]>0&&new c(d[e]).init()}}(window,document);
clone this paste RAW Paste Data