From 650c32b81dd37452c58a9de504f370c554261cb1 Mon Sep 17 00:00:00 2001 From: edenn Date: Thu, 31 Jul 2014 23:42:47 -0400 Subject: [PATCH 1/5] fixed oferflowing size --- assets/icon128.png | Bin 4174 -> 12805 bytes css/cover.css | 224 ++++++++++++++++++++--- index.html | 436 +++++++++++++++++++++++++++++++++------------ js/bigvideo.js | 197 +++++++++++++------- js/video.js | 151 +++++++++++++--- 5 files changed, 778 insertions(+), 230 deletions(-) diff --git a/assets/icon128.png b/assets/icon128.png index 8f7ff646152326c01d90e1e749f9255a5ee37b01..e9e5eda76a2c4eb3e1006cfd13d041f36b8d96ed 100644 GIT binary patch delta 10150 zcmV;XCt29eAcbU*90dWiIZ<7)A)X3WB6 zfG@-a@Cv*Db3g{vfuUV-Q`@i~6d6SZI4M5C3{9#r!6->2ux0q&1D+PBuQi*&YNLTc zJTl0KYJMvu^~_d^!#vA)>~=NT0-m&&=epXKqa=|v$D!sp0D-L)ztVIf>kF~$3vpc5 zHvs8)jLh>r0PDQfS^)-e6fFRM8@({>8_rS*S}F$?AU)T;Rc9SLj-o*vMF6L&RAwS| zX=P!r4Rp*_UI#vknK!Tt^s74Y9k?zj=Z>293+0~w%V*-Zf1wPEg@~r`4FCZD|Fo5{ zO2beThQGwF3fTfzGKk$$bkHY|4z|uBx;r>Hbm{7U<{LOT1S3v` zW~dQj;&P81F1=O;FjlMSR5 z5x9ztSyG+{*mYpStSmKu3pPcdYmx-uUG$#PZ+U)Z9migp20o~&+@-2^U#z?aJUcI} zT1NQJ7Vr@&W5}46ZTvC^`P(Xf03H|dz)Pav@?dAtGJOF60RR7gq?b=<6G0Tlf15-* z4JD-UVl6!u^y)zb@gV5I-aL6I_8@ozr=*e#NmsOG{r5xCm?lQ)0U> zDgN2wp$TA+_6yzt>so#MM>korG!jp|kiJJoL|@ZX-w$Bb1aKE90LrmR!s<^fnf}-j zKV!g(q|=w4h{;n zdi|kh-j|5C0?RAq86fCJ(VM(dX*zj3r+rjgdwZNaI{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&)X_0>D4DL|caf zAZ`FM0pMRF*b&XC1Vr8lV$*G50k9kDiM9lQhhqNbbS41e&H#x3hep6vl7>H!q}EcKh7Ef4_1D<3NQ1;B3TkZ9{!0K{Da8Uf%} z1DFlj01ANNHD)@0o5Q67U|1a!ZGGP6KM8>0(tk>>|Fr;rh&TOr=G{aBz$2Xx9sL3z zob>-F0Q}Mg(N?={`WFDhX+pI1rk76$0Qc#C0^a6NZ(c#;2LRhX(K;|)?@II!kpU7# zKkf8SkL7FVyaGVcPmF%Xa|Hx|yXe0pMt@h8#SO!d0C3~{gdF{>w~-3~N174)pPKoi z2?5}y@f#C=8^0-Ye69h=BXfQR;Erf=%6|8vGJxH>&rJPu@;inEfP=c9k!-b9SxjvV z(lr1FkwpKDT=$P`jny>(X(Y~{Fr9Dnoy+?IfLinKEI7ZlIc@>KbN&;t<~wn|(-IKs zoj~(|r>{Ob-*pDa1C07>0GC9wPMz->fWv^CKQYdKXO^_qcEdLq047?-0XTka9M3Li zb6e~DUC98K9y>iTo&AM{Cbq|Nd$%6y`t}`6U}?hu(!W60IWpL zHFoqUm>FYcB0DvGN@jVy9e}GLqkdJR#bUAE2S=lCk?~p@{5E-q7Q6m+w?%*a{)3gV z|LQt_Y^cZb7}t&MFIv~98v*dghmV)w-r9^sJ(j0;?_H()O#s-W1SIn1#>={gx1QS% zX&)d4b*8y{bh()$0EUnB#wVu>0FJ|705nxubUt6qCIHlCJs(3a(3wBIade9}JcMDF z#a;$_?R4Lx+3GS-3R5~1DgYz_APE3T07wEFK#EQO3;+_F4C(qaz0m*w002ovPDHLk FV1hcKfK31Z diff --git a/css/cover.css b/css/cover.css index b91bab0..26632ca 100644 --- a/css/cover.css +++ b/css/cover.css @@ -6,8 +6,16 @@ [class*="fontawesome-"]:before { font-family: 'FontAwesome', sans-serif; } + + + + + +body{ + font-family: "Open Sans", Helvetica, Arial, sans-serif; +} #ven{ - margin-top:40px; + margin-top:0px; } #nav{ margin-bottom: 0; @@ -20,9 +28,21 @@ background-color: rgba(0,0,0,0.2); #navigation li a{ color:#f5f5f5; } - +.large-3{ + width:25%; +} +.source a { +border-top: 2px solid #fff; +background: #DFDFDF; +padding: 1.5rem 0; +height: 76px; +} .pitch{ + margin-top: 150px; text-align: center; + text:#000000; + + } .content{ position: absolute; @@ -32,22 +52,129 @@ z-index: 1; width: 100%; height: 100%; } -.background_showcase{ - background: url(../assets/images/darkgrey.png) no-repeat center center; +/*top of the page button*/ +#button_icon{ +font-size: 1.5em; +padding: 7% 0%; +top: 0; +left: 0; +height: 100%; +width: 1.5em; +padding-top: 18%; +background: #322222; +opacity: 0.3; +position: absolute; + +} +#button_text{ +line-height: 10px; +margin: 0 2rem 0 40px; +} +/*subscribe form*/ +#subscribeForm{ + background-color:#fff; + color:#f5f5f5; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; - color: #aaa; - height:100%; + text-align: center; + width: 100%; +} +#subscribeOverlay{ +background-color:#9E9B99; +opacity: .8; +} +#subscribeForm form input { +width: 262px; +height: 32px; +} +input[type="text"], textarea { +margin: 0; +padding: 0 10px; +vertical-align: middle; +background: #fff; +border: 1px solid #eee; +font-family: 'Roboto', sans-serif; +font-size: 15px; +font-weight: 100; +line-height: 50px; +color: #888; +-moz-border-radius: 6px; +-webkit-border-radius: 6px; +border-radius: 6px; +-moz-box-shadow: none; +-webkit-box-shadow: none; +box-shadow: none; +-o-transition: all .3s; +-moz-transition: all .3s; +-webkit-transition: all .3s; +-ms-transition: all .3s; +transition: all .3s; +} +button{ + width:100px; +height: 32px; +margin: 0; +padding: 0 20px; +vertical-align: middle; +background: #be5254; +border: 0; +font-family: 'Roboto', sans-serif; +font-size: 22px; +font-weight: 300; +line-height: 52px; +color: #fff; +-moz-border-radius: 6px; +-webkit-border-radius: 6px; +border-radius: 6px; +text-shadow: none; +-moz-box-shadow: none; +-webkit-box-shadow: none; +box-shadow: none; +-o-transition: all .3s; +-moz-transition: all .3s; +-webkit-transition: all .3s; +-ms-transition: all .3s; +transition: all .3s; +} +/* parallax slide */ +#exp { + background-image:url(../assets/images/btc.jpg); + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + height:80%; + color:#f5f5f5; + padding-top: 10%; + +} +#background_showcase{ + /*background: url(../assets/images/10.png) no-repeat center center; */ + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + color: #aaa; +} +.bg-overlay { +content: ''; +top: 0; +right: 0; +bottom: 0; +left: 0; +background-image: linear-gradient(to bottom right,#454F77 ,#0A0A11 ); +opacity: 1; } .browserlogo{ font-size: 60px; margin-left: 30px; - color: #f3f3f3; + color: #A9A9A9; font-family: 'serifFontFamily'; } + #cover-image{ background: url(../assets/icon128.png) no-repeat center center; -webkit-background-size: cover; @@ -63,15 +190,12 @@ margin-left: 30px; margin-bottom: 35px; text-align: center; } + #content{ background-color: #333; } -#explanation{ -background-color: #fff; -padding: 50px 25px 0px 25px; -opacity: .93; -} + .centered { margin: auto;padding-top: 40px; max-width: 600px;text-align: center;} #project_logos{ background-color: #eee; @@ -89,26 +213,42 @@ background-color: #f3f3f3; margin: 40px auto 30px; } .divider2 { -width: 675px; -height: 2px; -background-color: #c5c5c5; -margin: 40px auto 30px; +/* Gradient transparent - color - transparent */ + + border: 0; + height: 1px; + background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); + background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); + background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); + background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); + + } .asset{ display: inline-block; vertical-align: middle; -width: 60px; -height: 60px; -margin-left: 40px; - +width: 65px; +height: 65px; +margin-left: 45px; } +.asset:hover {background-color: rgba(3,0,3,0.1); border-radius: 4px;} + + + + + .title { -font-size: 45px; -font-weight: 400; -letter-spacing: 2px; -color: #aaa; + font-size: 42px; + font-family: inherit; +font-weight: 300; +line-height: 1.1; +color: inherit; +color: #fff; } + + + h2{ color: #aaa; } @@ -117,6 +257,7 @@ h3{ } h4{ font-size: 23px; + color:#fff; } .image_bitcoin{ @@ -144,11 +285,21 @@ background: url("..//assets/images/logo1.png")no-repeat center center; -o-background-size: cover; background-size: cover; } +#icon{ + text-align: center; +} +#icon i{ + + font-size: 12em; +} .footer { padding: 80px 0; } +p { +font-weight: 300; +margin-bottom: 50px; +} .footer_links { -font-family: 'serifFontFamily'; font-weight: 300; font-size: 20px; letter-spacing: 1px; @@ -159,8 +310,8 @@ display: inline-block; padding: 20px 35px; } .pitch a { -margin: 0 20px; - +margin: 0 0px; +border-radius: 5px; } #buttons{ text-align: center; @@ -169,7 +320,6 @@ padding-bottom:20px; } .btn-white { -border-radius: 5px; padding-top:5px; border-style: solid; border-width: 0px; @@ -201,4 +351,20 @@ transition: background-color 300ms ease-out; color: #fff; border-color: #fff; background: rgba(255,255,255,.25); -} \ No newline at end of file +} + + + + + + +a.btn.whitee { +color: #fff; +border: 1px solid #fff; +} + +a.btn.whitee:hover{opacity:0.85; }; + +} + + diff --git a/index.html b/index.html index 8572685..15d22b1 100644 --- a/index.html +++ b/index.html @@ -1,148 +1,350 @@ - - + + -Decentral Wallet + Decentral Wallet + + + + + - - - - - - - - - -
- -
-
-
-
-
- Decentral -
-
-
-

Decentral Bank

-

An Open Source Decentralized Bitcoin Banking system in your wallet

- - -

Will be available in: -

- - -
-
-
-
-
+ + -
+ + + + +
+ + +Fork me on GitHub + + +
+ +
+
+ +
+ +
+ + +
+
+

Decentral Bank

+

An open source, decentralized, Bitcoin banking system right in your wallet.

+ + + + +
+ +
+ + +
+
-
-
-
-
-
-
-
-
-
-
-

Build on Top of Bitcoin

Coins,Tokens,Property.

-

- Decentral is a Colored Coins Wallet that lets users issue tokens representing - property, coins or
businesses.
Decentral's goal is to make crowdfunding - easier and more powerful for everyone.

-
+
+ + + + + + + + + +
+ + + + +
+ + + + +

What is Decentral Bank?

+
+

+ Decentral is a Colored Coins wallet that let's users issue tokens representing + property, coins or
businesses. Decentral's goal is to make crowdfunding + easier and more powerful for everyone.

+ +
+

Will be available for:

+ + +
+
+
+
+ + + + + -
-

What's the problem?

-

Bitcoin does not replace banks, our current financial system still needs them.

Bitcoin still lacks an investment and reputation infrastructure.

Bitcoin users still have to rely on a third party to handle their deposits honestly.

-
-
-
-

Tokenization

-

- Decentral aims to replace some of the main functions of banks such as the ability to issue, buy and sell shares/tokens of any entity whose tokens are issued through Bitcoin2.0 technologies such as colored coins. -

+ + + +
+ + + +
+ + +
+
+

What's the problem?

+
+
+ + + +

Bitcoin does not replace banks, our current financial system still needs them.

Bitcoin still lacks an investment and reputation infrastructure.

Bitcoin users still have to rely on a third party to handle their deposits honestly.

-
-
-

Multisignature

+
+ + + + + + + +
+ +
+

Features

+ +
+ +
+ + + + +
+ + +
+
+
+
+ +

Tokenization

- Secure Wallet. Easy-to-use multisignature bitcoin wallet. With Decentral Wallet you can choose to have more than one person or device sign a transaction. Should your private keys be compromised your Bitcoins are still safe. + Decentral aims to replace some of the main functions of banks such as the ability to issue, buy. and sell shares/tokens of any entity whose tokens are issued through Bitcoin 2.0 technologies such as colored coins.

+
+
+
-
-
-

Voting pools

+ + + +
+
+
+ + + +
+
+

Multisignature

- Bitcoin users have to rely on a third party to handle their funds has been a victim of heists, thefts, hacks, scams, and losses -

+ Secure Wallet. Easy-to-use multisignature bitcoin wallet. With Decentral Wallet you can choose to have more than one person or device sign a transaction. Should your private keys be compromised your Bitcoins are still safe! +

+
+
+
+ + +
+
+
+
+ +
+
+ + +
+
+

Voting Pools

+

+ Bitcoin users that have to rely on a third party to handle their funds have been victims of heists, thefts, hacks, and scams. We will build on top of Open Transactions technology to solve this problem. +

-
+
+
+ + + + + +
+ + +
+ +

Tell us what you think, #decentralbank watch it show up here!

+
+
+
+
+
+

+ + + + +
+
+ + + +

+ -
-

Features

-

Multisignatures, Offline mode, Colored Bitcoins, Decentralized exchange, Open Source.

-
+
+ + + + + + + +
+ + + + +
+ + +
+ + + Decentral + © DecentralBank. 2014 + +
+ + + About + Features + Blog + + +
+ +
+ + + + + + - - - - + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file +window._idl = {}; +_idl.variant = "modal";{campaign} +(function() { + var idl = document.createElement('script'); + idl.type = 'text/javascript'; + idl.async = true; + idl.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'members.internetdefenseleague.org/include/?url=' + (_idl.url || '') + '&campaign=' + (_idl.campaign || '') + '&variant=' + (_idl.variant || 'modal'); + document.getElementsByTagName('body')[0].appendChild(idl); +})(); + + + diff --git a/js/bigvideo.js b/js/bigvideo.js index 83c5f9a..9d3c24e 100644 --- a/js/bigvideo.js +++ b/js/bigvideo.js @@ -1,27 +1,42 @@ /* BigVideo - The jQuery Plugin for Big Background Video (and Images) by John Polacek (@johnpolacek) - + Dual licensed under MIT and GPL. - Dependencies: jQuery, jQuery UI (Slider), Video.js, ImagesLoaded + Dependencies: jQuery, jQuery UI (Slider), Video.js, ImagesLoaded */ -;(function($) { +(function (factory) { + 'use strict'; + if (typeof define === 'function' && define.amd) { + // Register as an anonymous AMD module: + define([ + 'jquery', + 'videojs', + 'imagesloaded', + 'jquery-ui' + ], factory); + } else { + factory(jQuery, videojs); + } +})(function($, videojs) { - $.BigVideo = function(options) { + $.BigVideo = function(options) { - var defaults = { + var defaults = { // If you want to use a single mp4 source, set as true useFlashForFirefox:true, // If you are doing a playlist, the video won't play the first time // on a touchscreen unless the play event is attached to a user click forceAutoplay:false, - controls:true, - doLoop:false - }; + controls:false, + doLoop:false, + container:$('body'), + shrinkable:false + }; - var BigVideo = this, + var BigVideo = this, player, vidEl = '#big-video-vid', wrap = $('
'), @@ -38,41 +53,49 @@ currMediaIndex, currMediaType; - var settings = $.extend({}, defaults, options); - - // If only using mp4s and on firefox, use flash fallback - var ua = navigator.userAgent.toLowerCase(); - var isFirefox = ua.indexOf('firefox') != -1; - if (settings.useFlashForFirefox && (isFirefox)) { - VideoJS.options.techOrder = ['flash']; - } - + var settings = $.extend({}, defaults, options); function updateSize() { - var windowW = $(window).width(); - var windowH = $(window).height(); + var windowW = settings.container.width(); + var windowH = settings.container.height(); var windowAspect = windowW/windowH; + + if (settings.container.is($('body'))) { + $('html,body').css('height',$(window).height() > $('body').css('height','auto').height() ? '100%' : 'auto'); + } + if (windowAspect < mediaAspect) { // taller if (currMediaType === 'video') { player .width(windowH*mediaAspect) .height(windowH); - $(vidEl) - .css('top',0) - .css('left',-(windowH*mediaAspect-windowW)/2) + if (!settings.shrinkable) { + $(vidEl) + .css('top',0) + .css('left',-(windowH*mediaAspect-windowW)/2) + .css('height',windowH); + } else { + $(vidEl) + .css('top',-(windowW/mediaAspect-windowH)/2) + .css('left',0) + .css('height',windowW/mediaAspect); + } + $(vidEl+'_html5_api') + .css('width',windowH*mediaAspect) .css('height',windowH); - $(vidEl+'_html5_api').css('width',windowH*mediaAspect); $(vidEl+'_flash_api') .css('width',windowH*mediaAspect) .css('height',windowH); } else { // is image $('#big-video-image') - .width(windowH*mediaAspect) - .height(windowH) - .css('top',0) - .css('left',-(windowH*mediaAspect-windowW)/2); + .css({ + width: 'auto', + height: windowH, + top:0, + left:-(windowH*mediaAspect-windowW)/2 + }); } } else { // wider @@ -84,17 +107,21 @@ .css('top',-(windowW/mediaAspect-windowH)/2) .css('left',0) .css('height',windowW/mediaAspect); - $(vidEl+'_html5_api').css('width','100%'); + $(vidEl+'_html5_api') + .css('width',$(vidEl+'_html5_api').parent().width()+"px") + .css('height','auto'); $(vidEl+'_flash_api') .css('width',windowW) .css('height',windowW/mediaAspect); } else { // is image $('#big-video-image') - .width(windowW) - .height(windowW/mediaAspect) - .css('top',-(windowW/mediaAspect-windowH)/2) - .css('left',0); + .css({ + width: windowW, + height: 'auto', + top:-(windowW/mediaAspect-windowH)/2, + left:0 + }); } } } @@ -115,10 +142,11 @@ markup += '
'; markup += '
'; markup += '
'; - $('body').append(markup); + settings.container.append(markup); // hide until playVideo $('#big-video-control-container').css('display','none'); + $('#big-video-control-timer').css('display','none'); // add events $('#big-video-control-track').slider({ @@ -141,7 +169,7 @@ e.preventDefault(); playControl('toggle'); }); - player.addEvent('timeupdate', function() { + player.on('timeupdate', function() { if (!isSeeking && (player.currentTime()/player.duration())) { var currTime = player.currentTime(); var minutes = Math.floor(currTime/60); @@ -167,21 +195,24 @@ player.play(); $('#big-video-control-play').css('background-position','0'); isPlaying = true; - } + } else if (action === 'skip') { + nextMedia(); + } } function setUpAutoPlay() { player.play(); - $('body').off('click',setUpAutoPlay); - } + settings.container.off('click',setUpAutoPlay); + } function nextMedia() { currMediaIndex++; if (currMediaIndex === playlist.length) currMediaIndex=0; playVideo(playlist[currMediaIndex]); - } + } + + function playVideo(source) { - function playVideo(source) { // clear image $(vidEl).css('display','block'); currMediaType = 'video'; @@ -189,18 +220,22 @@ isPlaying = true; if (isAmbient) { $('#big-video-control-container').css('display','none'); - player.volume(0); + player.ready(function(){ + player.volume(0); + }); doLoop = true; } else { $('#big-video-control-container').css('display','block'); - player.volume(defaultVolume); + player.ready(function(){ + player.volume(defaultVolume); + }); doLoop = false; } $('#big-video-image').css('display','none'); $(vidEl).css('display','block'); - } + } - function showPoster(source) { + function showPoster(source) { // remove old image $('#big-video-image').remove(); @@ -218,21 +253,34 @@ mediaAspect = $('#big-video-image').width() / $('#big-video-image').height(); updateSize(); }); - } + } BigVideo.init = function() { if (!isInitialized) { // create player - $('body').prepend(wrap); + settings.container.prepend(wrap); var autoPlayString = settings.forceAutoplay ? 'autoplay' : ''; player = $(''); player.css('position','absolute'); wrap.append(player); - player = _V_(vidEl.substr(1), { 'controls': false, 'autoplay': true, 'preload': 'auto' }); - + + var videoTechOrder = ['html5','flash']; + // If only using mp4s and on firefox, use flash fallback + var ua = navigator.userAgent.toLowerCase(); + var isFirefox = ua.indexOf('firefox') != -1; + if (settings.useFlashForFirefox && (isFirefox)) { + videoTechOrder = ['flash', 'html5']; + } + player = videojs(vidEl.substr(1), { + controls:false, + autoplay:true, + preload:'auto', + techOrder:videoTechOrder + }); + // add controls if (settings.controls) initPlayControl(); - + // set initial state updateSize(); isInitialized = true; @@ -246,13 +294,13 @@ .attr('scale','noborder') .attr('width','100%') .attr('height','100%'); - + // set events - $(window).resize(function() { + $(window).on('resize.bigvideo', function() { updateSize(); }); - player.addEvent('loadedmetadata', function(data) { + player.on('loadedmetadata', function(data) { if (document.getElementById('big-video-vid_flash_api')) { // use flash callback to get mediaAspect ratio mediaAspect = document.getElementById('big-video-vid_flash_api').vjs_getProperty('videoWidth')/document.getElementById('big-video-vid_flash_api').vjs_getProperty('videoHeight'); @@ -267,8 +315,8 @@ if (durSeconds < 10) durSeconds='0'+durSeconds; vidDur = durMinutes+':'+durSeconds; }); - - player.addEvent('ended', function() { + + player.on('ended', function() { if (settings.doLoop) { player.currentTime(0); player.play(); @@ -278,10 +326,10 @@ } }); } - }; + }; - BigVideo.show = function(source,options) { - if (options === undefined) options = {}; + BigVideo.show = function(source,options) { + if (options === undefined) options = {}; isAmbient = options.ambient === true; if (isAmbient || options.doLoop) settings.doLoop = true; if (typeof(source) === 'string') { @@ -293,20 +341,43 @@ source = options.altSource; } playVideo(source); + if (options.onShown) options.onShown(); isQueued = false; } } else { playlist = source; currMediaIndex = 0; playVideo(playlist[currMediaIndex]); + if (options.onShown) options.onShown(); isQueued = true; } - }; + }; - // Expose Video.js player - BigVideo.getPlayer = function() { + // Expose Video.js player + BigVideo.getPlayer = function() { return player; - }; - }; + }; + + // Remove/dispose the player + BigVideo.remove = BigVideo.dispose = function() { + isInitialized = false; + + wrap.remove(); + $(window).off('resize.bigvideo'); + + if(player) { + player.off('loadedmetadata'); + player.off('ended'); + player.dispose(); + } + }; + + // Expose BigVideoJS player actions play, pause, skip (if a playlist is available) + // Example: BigVideo.triggerPlayer('skip') + BigVideo.triggerPlayer = function(action){ + playControl(action); + }; + + }; -})(jQuery); \ No newline at end of file +}); \ No newline at end of file diff --git a/js/video.js b/js/video.js index b45111b..4cdbfe6 100644 --- a/js/video.js +++ b/js/video.js @@ -1,21 +1,130 @@ -/*! -Video.js - HTML5 Video Player -Version 3.2.0 - -LGPL v3 LICENSE INFO -This file is part of Video.js. Copyright 2011 Zencoder, Inc. - -Video.js is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Video.js is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with Video.js. If not, see . -*/ -(function(window,undefined){var document=window.document;document.createElement("video");document.createElement("audio");var VideoJS=function(id,addOptions,ready){var tag;if(typeof id=="string"){if(id.indexOf("#")===0){id=id.slice(1)}if(_V_.players[id]){return _V_.players[id]}else{tag=_V_.el(id)}}else{tag=id}if(!tag||!tag.nodeName){throw new TypeError("The element or ID supplied is not valid. (VideoJS)")}return tag.player||new _V_.Player(tag,addOptions,ready)},_V_=VideoJS,CDN_VERSION="c";VideoJS.players={};VideoJS.options={techOrder:["html5","flash"],html5:{},flash:{swf:"http://vjs.zencdn.net/c/video-js.swf"},width:"auto",height:"auto",defaultVolume:0,components:{posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{}}};if(CDN_VERSION!="GENERATED_CDN_VSN"){_V_.options.flash.swf="http://vjs.zencdn.net/"+CDN_VERSION+"/video-js.swf"}_V_.merge=function(obj1,obj2,safe){if(!obj2){obj2={}}for(var attrname in obj2){if(obj2.hasOwnProperty(attrname)&&(!safe||!obj1.hasOwnProperty(attrname))){obj1[attrname]=obj2[attrname]}}return obj1};_V_.extend=function(obj){this.merge(this,obj,true)};_V_.extend({tech:{},controlSets:{},isIE:function(){return !+"\v1"},isFF:function(){return !!_V_.ua.match("Firefox")},isIPad:function(){return navigator.userAgent.match(/iPad/i)!==null},isIPhone:function(){return navigator.userAgent.match(/iPhone/i)!==null},isIOS:function(){return VideoJS.isIPhone()||VideoJS.isIPad()},iOSVersion:function(){var match=navigator.userAgent.match(/OS (\d+)_/i);if(match&&match[1]){return match[1]}},isAndroid:function(){return navigator.userAgent.match(/Android.*AppleWebKit/i)!==null},androidVersion:function(){var match=navigator.userAgent.match(/Android (\d+)\./i);if(match&&match[1]){return match[1]}},testVid:document.createElement("video"),ua:navigator.userAgent,support:{},each:function(arr,fn){if(!arr||arr.length===0){return}for(var i=0,j=arr.length;i0||gh>0)?h+":":"";m=(((h||gm>=10)&&m<10)?"0"+m:m)+":";s=(s<10)?"0"+s:s;return h+m+s},uc:function(string){return string.charAt(0).toUpperCase()+string.slice(1)},getRelativePosition:function(x,relativeElement){return Math.max(0,Math.min(1,(x-_V_.findPosX(relativeElement))/relativeElement.offsetWidth))},getComputedStyleValue:function(element,style){return window.getComputedStyle(element,null).getPropertyValue(style)},trim:function(string){return string.toString().replace(/^\s+/,"").replace(/\s+$/,"")},round:function(num,dec){if(!dec){dec=0}return Math.round(num*Math.pow(10,dec))/Math.pow(10,dec)},isEmpty:function(object){for(var prop in object){return false}return true},createTimeRange:function(start,end){return{length:1,start:function(){return start},end:function(){return end}}},cache:{},guid:1,expando:"vdata"+(new Date).getTime(),getData:function(elem){var id=elem[_V_.expando];if(!id){id=elem[_V_.expando]=_V_.guid++;_V_.cache[id]={}}return _V_.cache[id]},removeData:function(elem){var id=elem[_V_.expando];if(!id){return}delete _V_.cache[id];try{delete elem[_V_.expando]}catch(e){if(elem.removeAttribute){elem.removeAttribute(_V_.expando)}else{elem[_V_.expando]=null}}},proxy:function(context,fn,uid){if(!fn.guid){fn.guid=_V_.guid++}var ret=function(){return fn.apply(context,arguments)};ret.guid=(uid)?uid+"_"+fn.guid:fn.guid;return ret},get:function(url,onSuccess,onError){var local=(url.indexOf("file:")==0||(window.location.href.indexOf("file:")==0&&url.indexOf("http:")==-1));if(typeof XMLHttpRequest=="undefined"){XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(f){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(g){}throw new Error("This browser does not support XMLHttpRequest.")}}var request=new XMLHttpRequest();try{request.open("GET",url)}catch(e){_V_.log("VideoJS XMLHttpRequest (open)",e);return false}request.onreadystatechange=_V_.proxy(this,function(){if(request.readyState==4){if(request.status==200||local&&request.status==0){onSuccess(request.responseText)}else{if(onError){onError()}}}});try{request.send()}catch(e){_V_.log("VideoJS XMLHttpRequest (send)",e);if(onError){onError(e)}}},setLocalStorage:function(key,value){var localStorage=window.localStorage||false;if(!localStorage){return}try{localStorage[key]=value}catch(e){if(e.code==22||e.code==1014){_V_.log("LocalStorage Full (VideoJS)",e)}else{_V_.log("LocalStorage Error (VideoJS)",e)}}},getAbsoluteURL:function(url){if(!url.match(/^https?:\/\//)){url=_V_.createElement("div",{innerHTML:'x'}).firstChild.href}return url}});_V_.log=function(){_V_.log.history=_V_.log.history||[];_V_.log.history.push(arguments);if(window.console){arguments.callee=arguments.callee.caller;var newarr=[].slice.call(arguments);(typeof console.log==="object"?_V_.log.apply.call(console.log,console,newarr):console.log.apply(console,newarr))}};(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try{console.log();return window.console}catch(err){return window.console={}}})());if("getBoundingClientRect" in document.documentElement){_V_.findPosX=function(el){var box;try{box=el.getBoundingClientRect()}catch(e){}if(!box){return 0}var docEl=document.documentElement,body=document.body,clientLeft=docEl.clientLeft||body.clientLeft||0,scrollLeft=window.pageXOffset||body.scrollLeft,left=box.left+scrollLeft-clientLeft;return left}}else{_V_.findPosX=function(el){var curleft=el.offsetLeft;while(el=obj.offsetParent){if(el.className.indexOf("video-js")==-1){}else{}curleft+=el.offsetLeft}return curleft}}(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;_V_.Class=function(){};_V_.Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this();initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?(function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}})(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init){return this.init.apply(this,arguments)}else{if(!initializing){return arguments.callee.prototype.init()}}}Class.prototype=prototype;Class.constructor=Class;Class.extend=arguments.callee;return Class}})();_V_.Component=_V_.Class.extend({init:function(player,options){this.player=player;options=this.options=_V_.merge(this.options||{},options);if(options.el){this.el=options.el}else{this.el=this.createElement()}this.initComponents()},destroy:function(){},createElement:function(type,attrs){return _V_.createElement(type||"div",attrs)},buildCSSClass:function(){return""},initComponents:function(){var options=this.options;if(options&&options.components){this.eachProp(options.components,function(name,opts){var tempAdd=this.proxy(function(){this[name]=this.addComponent(name,opts)});if(opts.loadEvent){this.one(opts.loadEvent,tempAdd)}else{tempAdd()}})}},addComponent:function(name,options){var component,componentClass;if(typeof name=="string"){options=options||{};componentClass=options.componentClass||_V_.uc(name);component=new _V_[componentClass](this.player||this,options)}else{component=name}this.el.appendChild(component.el);return component},removeComponent:function(component){this.el.removeChild(component.el)},show:function(){this.el.style.display="block"},hide:function(){this.el.style.display="none"},fadeIn:function(){this.removeClass("vjs-fade-out");this.addClass("vjs-fade-in")},fadeOut:function(){this.removeClass("vjs-fade-in");this.addClass("vjs-fade-out")},lockShowing:function(){var style=this.el.style;style.display="block";style.opacity=1;style.visiblity="visible"},unlockShowing:function(){var style=this.el.style;style.display="";style.opacity="";style.visiblity=""},addClass:function(classToAdd){_V_.addClass(this.el,classToAdd)},removeClass:function(classToRemove){_V_.removeClass(this.el,classToRemove)},addEvent:function(type,fn,uid){return _V_.addEvent(this.el,type,_V_.proxy(this,fn))},removeEvent:function(type,fn){return _V_.removeEvent(this.el,type,fn)},triggerEvent:function(type,e){return _V_.triggerEvent(this.el,type,e)},one:function(type,fn){_V_.one(this.el,type,_V_.proxy(this,fn))},ready:function(fn){if(!fn){return this}if(this.isReady){fn.call(this)}else{if(this.readyQueue===undefined){this.readyQueue=[]}this.readyQueue.push(fn)}return this},triggerReady:function(){this.isReady=true;if(this.readyQueue&&this.readyQueue.length>0){this.each(this.readyQueue,function(fn){fn.call(this)});this.readyQueue=[];this.triggerEvent("ready")}},each:function(arr,fn){_V_.each.call(this,arr,fn)},eachProp:function(obj,fn){_V_.eachProp.call(this,obj,fn)},extend:function(obj){_V_.merge(this,obj)},proxy:function(fn,uid){return _V_.proxy(this,fn,uid)}});_V_.Control=_V_.Component.extend({buildCSSClass:function(){return"vjs-control "+this._super()}});_V_.ControlBar=_V_.Component.extend({options:{loadEvent:"play",components:{playToggle:{},fullscreenToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},progressControl:{},volumeControl:{},muteToggle:{}}},init:function(player,options){this._super(player,options);player.addEvent("play",this.proxy(function(){this.fadeIn();this.player.addEvent("mouseover",this.proxy(this.fadeIn));this.player.addEvent("mouseout",this.proxy(this.fadeOut))}))},createElement:function(){return _V_.createElement("div",{className:"vjs-controls"})},fadeIn:function(){this._super();this.player.triggerEvent("controlsvisible")},fadeOut:function(){this._super();this.player.triggerEvent("controlshidden")},lockShowing:function(){this.el.style.opacity="1"}});_V_.Button=_V_.Control.extend({init:function(player,options){this._super(player,options);this.addEvent("click",this.onClick);this.addEvent("focus",this.onFocus);this.addEvent("blur",this.onBlur)},createElement:function(type,attrs){attrs=_V_.merge({className:this.buildCSSClass(),innerHTML:'
'+(this.buttonText||"Need Text")+"
",role:"button",tabIndex:0},attrs);return this._super(type,attrs)},onClick:function(){},onFocus:function(){_V_.addEvent(document,"keyup",_V_.proxy(this,this.onKeyPress))},onKeyPress:function(event){if(event.which==32||event.which==13){event.preventDefault();this.onClick()}},onBlur:function(){_V_.removeEvent(document,"keyup",_V_.proxy(this,this.onKeyPress))}});_V_.PlayButton=_V_.Button.extend({buttonText:"Play",buildCSSClass:function(){return"vjs-play-button "+this._super()},onClick:function(){this.player.play()}});_V_.PauseButton=_V_.Button.extend({buttonText:"Pause",buildCSSClass:function(){return"vjs-pause-button "+this._super()},onClick:function(){this.player.pause()}});_V_.PlayToggle=_V_.Button.extend({buttonText:"Play",init:function(player,options){this._super(player,options);player.addEvent("play",_V_.proxy(this,this.onPlay));player.addEvent("pause",_V_.proxy(this,this.onPause))},buildCSSClass:function(){return"vjs-play-control "+this._super()},onClick:function(){if(this.player.paused()){this.player.play()}else{this.player.pause()}},onPlay:function(){_V_.removeClass(this.el,"vjs-paused");_V_.addClass(this.el,"vjs-playing")},onPause:function(){_V_.removeClass(this.el,"vjs-playing");_V_.addClass(this.el,"vjs-paused")}});_V_.FullscreenToggle=_V_.Button.extend({buttonText:"Fullscreen",buildCSSClass:function(){return"vjs-fullscreen-control "+this._super()},onClick:function(){if(!this.player.isFullScreen){this.player.requestFullScreen()}else{this.player.cancelFullScreen()}}});_V_.BigPlayButton=_V_.Button.extend({init:function(player,options){this._super(player,options);player.addEvent("play",_V_.proxy(this,this.hide));player.addEvent("ended",_V_.proxy(this,this.show))},createElement:function(){return this._super("div",{className:"vjs-big-play-button",innerHTML:""})},onClick:function(){if(this.player.currentTime()){this.player.currentTime(0)}this.player.play()}});_V_.LoadingSpinner=_V_.Component.extend({init:function(player,options){this._super(player,options);player.addEvent("canplay",_V_.proxy(this,this.hide));player.addEvent("canplaythrough",_V_.proxy(this,this.hide));player.addEvent("playing",_V_.proxy(this,this.hide));player.addEvent("seeking",_V_.proxy(this,this.show));player.addEvent("error",_V_.proxy(this,this.show));player.addEvent("waiting",_V_.proxy(this,this.show))},createElement:function(){var classNameSpinner,innerHtmlSpinner;if(typeof this.player.el.style.WebkitBorderRadius=="string"||typeof this.player.el.style.MozBorderRadius=="string"||typeof this.player.el.style.KhtmlBorderRadius=="string"||typeof this.player.el.style.borderRadius=="string"){classNameSpinner="vjs-loading-spinner";innerHtmlSpinner="
"}else{classNameSpinner="vjs-loading-spinner-fallback";innerHtmlSpinner=""}return this._super("div",{className:classNameSpinner,innerHTML:innerHtmlSpinner})}});_V_.CurrentTimeDisplay=_V_.Component.extend({init:function(player,options){this._super(player,options);player.addEvent("timeupdate",_V_.proxy(this,this.updateContent))},createElement:function(){var el=this._super("div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.content=_V_.createElement("div",{className:"vjs-current-time-display",innerHTML:"0:00"});el.appendChild(_V_.createElement("div").appendChild(this.content));return el},updateContent:function(){var time=(this.player.scrubbing)?this.player.values.currentTime:this.player.currentTime();this.content.innerHTML=_V_.formatTime(time,this.player.duration())}});_V_.DurationDisplay=_V_.Component.extend({init:function(player,options){this._super(player,options);player.addEvent("timeupdate",_V_.proxy(this,this.updateContent))},createElement:function(){var el=this._super("div",{className:"vjs-duration vjs-time-controls vjs-control"});this.content=_V_.createElement("div",{className:"vjs-duration-display",innerHTML:"0:00"});el.appendChild(_V_.createElement("div").appendChild(this.content));return el},updateContent:function(){if(this.player.duration()){this.content.innerHTML=_V_.formatTime(this.player.duration())}}});_V_.TimeDivider=_V_.Component.extend({createElement:function(){return this._super("div",{className:"vjs-time-divider",innerHTML:"
/
"})}});_V_.RemainingTimeDisplay=_V_.Component.extend({init:function(player,options){this._super(player,options);player.addEvent("timeupdate",_V_.proxy(this,this.updateContent))},createElement:function(){var el=this._super("div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.content=_V_.createElement("div",{className:"vjs-remaining-time-display",innerHTML:"-0:00"});el.appendChild(_V_.createElement("div").appendChild(this.content));return el},updateContent:function(){if(this.player.duration()){this.content.innerHTML="-"+_V_.formatTime(this.player.remainingTime())}}});_V_.Slider=_V_.Component.extend({init:function(player,options){this._super(player,options);player.addEvent(this.playerEvent,_V_.proxy(this,this.update));this.addEvent("mousedown",this.onMouseDown);this.addEvent("focus",this.onFocus);this.addEvent("blur",this.onBlur);this.player.addEvent("controlsvisible",this.proxy(this.update));this.update()},createElement:function(type,attrs){attrs=_V_.merge({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},attrs);return this._super(type,attrs)},onMouseDown:function(event){event.preventDefault();_V_.blockTextSelection();_V_.addEvent(document,"mousemove",_V_.proxy(this,this.onMouseMove));_V_.addEvent(document,"mouseup",_V_.proxy(this,this.onMouseUp));this.onMouseMove(event)},onMouseUp:function(event){_V_.unblockTextSelection();_V_.removeEvent(document,"mousemove",this.onMouseMove,false);_V_.removeEvent(document,"mouseup",this.onMouseUp,false);this.update()},update:function(){var barProgress,progress=this.getPercent();handle=this.handle,bar=this.bar;if(isNaN(progress)){progress=0}barProgress=progress;if(handle){var box=this.el,boxWidth=box.offsetWidth,handleWidth=handle.el.offsetWidth,handlePercent=(handleWidth)?handleWidth/boxWidth:0,boxAdjustedPercent=1-handlePercent;adjustedProgress=progress*boxAdjustedPercent,barProgress=adjustedProgress+(handlePercent/2);handle.el.style.left=_V_.round(adjustedProgress*100,2)+"%"}bar.el.style.width=_V_.round(barProgress*100,2)+"%"},calculateDistance:function(event){var box=this.el,boxX=_V_.findPosX(box),boxW=box.offsetWidth,handle=this.handle;if(handle){var handleW=handle.el.offsetWidth;boxX=boxX+(handleW/2);boxW=boxW-handleW}return Math.max(0,Math.min(1,(event.pageX-boxX)/boxW))},onFocus:function(event){_V_.addEvent(document,"keyup",_V_.proxy(this,this.onKeyPress))},onKeyPress:function(event){if(event.which==37){event.preventDefault();this.stepBack()}else{if(event.which==39){event.preventDefault();this.stepForward()}}},onBlur:function(event){_V_.removeEvent(document,"keyup",_V_.proxy(this,this.onKeyPress))}});_V_.ProgressControl=_V_.Component.extend({options:{components:{seekBar:{}}},createElement:function(){return this._super("div",{className:"vjs-progress-control vjs-control"})}});_V_.SeekBar=_V_.Slider.extend({options:{components:{loadProgressBar:{},bar:{componentClass:"PlayProgressBar"},handle:{componentClass:"SeekHandle"}}},playerEvent:"timeupdate",init:function(player,options){this._super(player,options)},createElement:function(){return this._super("div",{className:"vjs-progress-holder"})},getPercent:function(){return this.player.currentTime()/this.player.duration()},onMouseDown:function(event){this._super(event);this.player.scrubbing=true;this.videoWasPlaying=!this.player.paused();this.player.pause()},onMouseMove:function(event){var newTime=this.calculateDistance(event)*this.player.duration();if(newTime==this.player.duration()){newTime=newTime-0.1}this.player.currentTime(newTime)},onMouseUp:function(event){this._super(event);this.player.scrubbing=false;if(this.videoWasPlaying){this.player.play()}},stepForward:function(){this.player.currentTime(this.player.currentTime()+1)},stepBack:function(){this.player.currentTime(this.player.currentTime()-1)}});_V_.LoadProgressBar=_V_.Component.extend({init:function(player,options){this._super(player,options);player.addEvent("progress",_V_.proxy(this,this.update))},createElement:function(){return this._super("div",{className:"vjs-load-progress",innerHTML:'Loaded: 0%'})},update:function(){if(this.el.style){this.el.style.width=_V_.round(this.player.bufferedPercent()*100,2)+"%"}}});_V_.PlayProgressBar=_V_.Component.extend({createElement:function(){return this._super("div",{className:"vjs-play-progress",innerHTML:'Progress: 0%'})}});_V_.SeekHandle=_V_.Component.extend({createElement:function(){return this._super("div",{className:"vjs-seek-handle",innerHTML:'00:00'})}});_V_.VolumeControl=_V_.Component.extend({options:{components:{volumeBar:{}}},createElement:function(){return this._super("div",{className:"vjs-volume-control vjs-control"})}});_V_.VolumeBar=_V_.Slider.extend({options:{components:{bar:{componentClass:"VolumeLevel"},handle:{componentClass:"VolumeHandle"}}},playerEvent:"volumechange",createElement:function(){return this._super("div",{className:"vjs-volume-bar"})},onMouseMove:function(event){this.player.volume(this.calculateDistance(event))},getPercent:function(){return this.player.volume()},stepForward:function(){this.player.volume(this.player.volume()+0.1)},stepBack:function(){this.player.volume(this.player.volume()-0.1)}});_V_.VolumeLevel=_V_.Component.extend({createElement:function(){return this._super("div",{className:"vjs-volume-level",innerHTML:''})}});_V_.VolumeHandle=_V_.Component.extend({createElement:function(){return this._super("div",{className:"vjs-volume-handle",innerHTML:''})}});_V_.MuteToggle=_V_.Button.extend({init:function(player,options){this._super(player,options);player.addEvent("volumechange",_V_.proxy(this,this.update))},createElement:function(){return this._super("div",{className:"vjs-mute-control vjs-control",innerHTML:'
Mute
'})},onClick:function(event){this.player.muted(this.player.muted()?false:true)},update:function(event){var vol=this.player.volume(),level=3;if(vol==0||this.player.muted()){level=0}else{if(vol<0.33){level=1}else{if(vol<0.67){level=2}}}_V_.each.call(this,[0,1,2,3],function(i){_V_.removeClass(this.el,"vjs-vol-"+i)});_V_.addClass(this.el,"vjs-vol-"+level)}});_V_.PosterImage=_V_.Button.extend({init:function(player,options){this._super(player,options);if(!this.player.options.poster){this.hide()}player.addEvent("play",_V_.proxy(this,this.hide))},createElement:function(){return _V_.createElement("img",{className:"vjs-poster",src:this.player.options.poster,tabIndex:-1})},onClick:function(){this.player.play()}});_V_.Menu=_V_.Component.extend({init:function(player,options){this._super(player,options)},addItem:function(component){this.addComponent(component);component.addEvent("click",this.proxy(function(){this.unlockShowing()}))},createElement:function(){return this._super("ul",{className:"vjs-menu"})}});_V_.MenuItem=_V_.Button.extend({init:function(player,options){this._super(player,options);if(options.selected){this.addClass("vjs-selected")}},createElement:function(type,attrs){return this._super("li",_V_.merge({className:"vjs-menu-item",innerHTML:this.options.label},attrs))},onClick:function(){this.selected(true)},selected:function(selected){if(selected){this.addClass("vjs-selected")}else{this.removeClass("vjs-selected")}}});if(!Array.prototype.indexOf){Array.prototype.indexOf=function(searchElement){if(this===void 0||this===null){throw new TypeError()}var t=Object(this);var len=t.length>>>0;if(len===0){return -1}var n=0;if(arguments.length>0){n=Number(arguments[1]);if(n!==n){n=0}else{if(n!==0&&n!==(1/0)&&n!==-(1/0)){n=(n>0||-1)*Math.floor(Math.abs(n))}}}if(n>=len){return -1}var k=n>=0?n:Math.max(len-Math.abs(n),0);for(;k0){this.addTextTracks(options.tracks)}if(!options.sources||options.sources.length==0){for(var i=0,j=options.techOrder;i0){techOptions.startTime=this.values.currentTime}this.values.src=source.src}this.tech=new _V_[techName](this,techOptions);this.tech.ready(techReady)},unloadTech:function(){this.tech.destroy();if(this.manualProgress){this.manualProgressOff()}if(this.manualTimeUpdates){this.manualTimeUpdatesOff()}this.tech=false},manualProgressOn:function(){this.manualProgress=true;this.trackProgress();this.tech.addEvent("progress",function(){this.removeEvent("progress",arguments.callee);this.support.progressEvent=true;this.player.manualProgressOff()})},manualProgressOff:function(){this.manualProgress=false;this.stopTrackingProgress()},trackProgress:function(){this.progressInterval=setInterval(_V_.proxy(this,function(){if(this.values.bufferEnd0&&buffered.end(0)!==end){end=buffered.end(0);this.values.bufferEnd=end}return _V_.createTimeRange(start,end)},bufferedPercent:function(){return(this.duration())?this.buffered().end(0)/this.duration():0},volume:function(percentAsDecimal){var vol;if(percentAsDecimal!==undefined){vol=Math.max(0,Math.min(1,parseFloat(percentAsDecimal)));this.values.volume=vol;this.techCall("setVolume",vol);_V_.setLocalStorage("volume",vol);return this}vol=parseFloat(this.techGet("volume"));return(isNaN(vol))?1:vol},muted:function(muted){if(muted!==undefined){this.techCall("setMuted",muted);return this}return this.techGet("muted")||false},width:function(width,skipListeners){if(width!==undefined){this.el.width=width;this.el.style.width=width+"px";if(!skipListeners){this.triggerEvent("resize")}return this}return parseInt(this.el.getAttribute("width"))},height:function(height){if(height!==undefined){this.el.height=height;this.el.style.height=height+"px";this.triggerEvent("resize");return this}return parseInt(this.el.getAttribute("height"))},size:function(width,height){return this.width(width,true).height(height)},supportsFullScreen:function(){return this.techGet("supportsFullScreen")||false},requestFullScreen:function(){var requestFullScreen=_V_.support.requestFullScreen;this.isFullScreen=true;if(requestFullScreen){_V_.addEvent(document,requestFullScreen.eventName,this.proxy(function(){this.isFullScreen=document[requestFullScreen.isFullScreen];if(this.isFullScreen==false){_V_.removeEvent(document,requestFullScreen.eventName,arguments.callee)}this.triggerEvent("fullscreenchange")}));if(this.tech.support.fullscreenResize===false&&this.options.flash.iFrameMode!=true){this.pause();this.unloadTech();_V_.addEvent(document,requestFullScreen.eventName,this.proxy(function(){_V_.removeEvent(document,requestFullScreen.eventName,arguments.callee);this.loadTech(this.techName,{src:this.values.src})}));this.el[requestFullScreen.requestFn]()}else{this.el[requestFullScreen.requestFn]()}}else{if(this.tech.supportsFullScreen()){this.triggerEvent("fullscreenchange");this.techCall("enterFullScreen")}else{this.triggerEvent("fullscreenchange");this.enterFullWindow()}}return this},cancelFullScreen:function(){var requestFullScreen=_V_.support.requestFullScreen;this.isFullScreen=false;if(requestFullScreen){if(this.tech.support.fullscreenResize===false&&this.options.flash.iFrameMode!=true){this.pause();this.unloadTech();_V_.addEvent(document,requestFullScreen.eventName,this.proxy(function(){_V_.removeEvent(document,requestFullScreen.eventName,arguments.callee);this.loadTech(this.techName,{src:this.values.src})}));document[requestFullScreen.cancelFn]()}else{document[requestFullScreen.cancelFn]()}}else{if(this.tech.supportsFullScreen()){this.techCall("exitFullScreen");this.triggerEvent("fullscreenchange")}else{this.exitFullWindow();this.triggerEvent("fullscreenchange")}}return this},enterFullWindow:function(){this.isFullWindow=true;this.docOrigOverflow=document.documentElement.style.overflow;_V_.addEvent(document,"keydown",_V_.proxy(this,this.fullWindowOnEscKey));document.documentElement.style.overflow="hidden";_V_.addClass(document.body,"vjs-full-window");_V_.addClass(this.el,"vjs-fullscreen");this.triggerEvent("enterFullWindow")},fullWindowOnEscKey:function(event){if(event.keyCode==27){if(this.isFullScreen==true){this.cancelFullScreen()}else{this.exitFullWindow()}}},exitFullWindow:function(){this.isFullWindow=false;_V_.removeEvent(document,"keydown",this.fullWindowOnEscKey);document.documentElement.style.overflow=this.docOrigOverflow;_V_.removeClass(document.body,"vjs-full-window");_V_.removeClass(this.el,"vjs-fullscreen");this.triggerEvent("exitFullWindow")},selectSource:function(sources){for(var i=0,j=this.options.techOrder;i=10};_V_.flash.canPlaySource=function(srcObj){if(srcObj.type in _V_.flash.prototype.support.formats){return"maybe"}};_V_.flash.prototype.support={formats:{"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},progressEvent:false,timeupdateEvent:false,fullscreenResize:false,parentResize:!(_V_.ua.match("Firefox"))};_V_.flash.onReady=function(currSwf){var el=_V_.el(currSwf);var player=el.player||el.parentNode.player,tech=player.tech;el.player=player;tech.el=el;tech.addEvent("click",tech.onClick);_V_.flash.checkReady(tech)};_V_.flash.checkReady=function(tech){if(tech.el.vjs_getProperty){tech.triggerReady()}else{setTimeout(function(){_V_.flash.checkReady(tech)},50)}};_V_.flash.onEvent=function(swfID,eventName){var player=_V_.el(swfID).player;player.triggerEvent(eventName)};_V_.flash.onError=function(swfID,err){var player=_V_.el(swfID).player;player.triggerEvent("error");_V_.log("Flash Error",err,swfID)};_V_.flash.version=function(){var version="0,0,0";try{version=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(e){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){version=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}}catch(e){}}return version.split(",")};_V_.flash.embed=function(swf,placeHolder,flashVars,params,attributes){var code=_V_.flash.getEmbedCode(swf,flashVars,params,attributes),obj=_V_.createElement("div",{innerHTML:code}).childNodes[0],par=placeHolder.parentNode;placeHolder.parentNode.replaceChild(obj,placeHolder);if(_V_.isIE()){var newObj=par.childNodes[0];setTimeout(function(){newObj.style.display="block"},1000)}return obj};_V_.flash.getEmbedCode=function(swf,flashVars,params,attributes){var objTag=''});attributes=_V_.merge({data:swf,width:"100%",height:"100%"},attributes);_V_.eachProp(attributes,function(key,val){attrsString+=(key+'="'+val+'" ')});return objTag+attrsString+">"+paramsString+""};_V_.merge(_V_.Player.prototype,{addTextTracks:function(trackObjects){var tracks=this.textTracks=(this.textTracks)?this.textTracks:[],i=0,j=trackObjects.length,track,Kind;for(;i0){track.disable()}}}kind=(showTrack)?showTrack.kind:((disableSameKind)?disableSameKind:false);if(kind){this.triggerEvent(kind+"trackchange")}return this}});_V_.Track=_V_.Component.extend({init:function(player,options){this._super(player,options);_V_.merge(this,{id:options.id||("vjs_"+options.kind+"_"+options.language+"_"+_V_.guid++),src:options.src,"default":options["default"],title:options.title,language:options.srclang,label:options.label,cues:[],activeCues:[],readyState:0,mode:0})},createElement:function(){return this._super("div",{className:"vjs-"+this.kind+" vjs-text-track"})},show:function(){this.activate();this.mode=2;this._super()},hide:function(){this.activate();this.mode=1;this._super()},disable:function(){if(this.mode==2){this.hide()}this.deactivate();this.mode=0},activate:function(){if(this.readyState==0){this.load()}if(this.mode==0){this.player.addEvent("timeupdate",this.proxy(this.update,this.id));this.player.addEvent("ended",this.proxy(this.reset,this.id));if(this.kind=="captions"||this.kind=="subtitles"){this.player.textTrackDisplay.addComponent(this)}}},deactivate:function(){this.player.removeEvent("timeupdate",this.proxy(this.update,this.id));this.player.removeEvent("ended",this.proxy(this.reset,this.id));this.reset();this.player.textTrackDisplay.removeComponent(this)},load:function(){if(this.readyState==0){this.readyState=1;_V_.get(this.src,this.proxy(this.parseCues),this.proxy(this.onError))}},onError:function(err){this.error=err;this.readyState=3;this.triggerEvent("error")},parseCues:function(srcContent){var cue,time,text,lines=srcContent.split("\n"),line="",id;for(var i=1,j=lines.length;i")==-1){id=line;line=_V_.trim(lines[++i])}else{id=this.cues.length}cue={id:id,index:this.cues.length};time=line.split(" --> ");cue.startTime=this.parseCueTime(time[0]);cue.endTime=this.parseCueTime(time[1]);text=[];while(lines[++i]&&(line=_V_.trim(lines[i]))){text.push(line)}cue.text=text.join("
");this.cues.push(cue)}}this.readyState=2;this.triggerEvent("loaded")},parseCueTime:function(timeText){var parts=timeText.split(":"),time=0,hours,minutes,other,seconds,ms,flags;if(parts.length==3){hours=parts[0];minutes=parts[1];other=parts[2]}else{hours=0;minutes=parts[0];other=parts[1]}other=other.split(/\s+/);seconds=other.splice(0,1)[0];seconds=seconds.split(/\.|,/);ms=parseFloat(seconds[1]);seconds=seconds[0];time+=parseFloat(hours)*3600;time+=parseFloat(minutes)*60;time+=parseFloat(seconds);if(ms){time+=ms/1000}return time},update:function(){if(this.cues.length>0){var time=this.player.currentTime();if(this.prevChange===undefined||time=this.nextChange||this.nextChange===undefined){i=(this.firstActiveIndex!==undefined)?this.firstActiveIndex:0}else{reverse=true;i=(this.lastActiveIndex!==undefined)?this.lastActiveIndex:cues.length-1}while(true){cue=cues[i];if(cue.endTime<=time){newPrevChange=Math.max(newPrevChange,cue.endTime);if(cue.active){cue.active=false}}else{if(time"+cues[i].text+""}this.el.innerHTML=html},reset:function(){this.nextChange=0;this.prevChange=this.player.duration();this.firstActiveIndex=0;this.lastActiveIndex=0}});_V_.CaptionsTrack=_V_.Track.extend({kind:"captions"});_V_.SubtitlesTrack=_V_.Track.extend({kind:"subtitles"});_V_.ChaptersTrack=_V_.Track.extend({kind:"chapters"});_V_.TextTrackDisplay=_V_.Component.extend({createElement:function(){return this._super("div",{className:"vjs-text-track-display"})}});_V_.TextTrackMenuItem=_V_.MenuItem.extend({init:function(player,options){var track=this.track=options.track;options.label=track.label;options.selected=track["default"];this._super(player,options);this.player.addEvent(track.kind+"trackchange",_V_.proxy(this,this.update))},onClick:function(){this._super();this.player.showTextTrack(this.track.id,this.track.kind)},update:function(){if(this.track.mode==2){this.selected(true)}else{this.selected(false)}}});_V_.OffTextTrackMenuItem=_V_.TextTrackMenuItem.extend({init:function(player,options){options.track={kind:options.kind,player:player,label:"Off"};this._super(player,options)},onClick:function(){this._super();this.player.showTextTrack(this.track.id,this.track.kind)},update:function(){var tracks=this.player.textTracks,i=0,j=tracks.length,track,off=true;for(;i0){this.show()}return menu}});_V_.ChaptersTrackMenuItem=_V_.MenuItem.extend({init:function(player,options){var track=this.track=options.track,cue=this.cue=options.cue,currentTime=player.currentTime();options.label=cue.text;options.selected=(cue.startTime<=currentTime&¤tTime0){for(var i=0,j=vids.length;iChrome or download the latest Adobe Flash Player.'}; +"GENERATED_CDN_VSN"!==u.Tb&&(v.options.flash.swf=u.Fc+"vjs.zencdn.net/"+u.Tb+"/video-js.swf");u.xa={};u.la=u.CoreObject=m();u.la.extend=function(a){var c,d;a=a||{};c=a.init||a.i||this.prototype.init||this.prototype.i||m();d=function(){c.apply(this,arguments)};d.prototype=u.k.create(this.prototype);d.prototype.constructor=d;d.extend=u.la.extend;d.create=u.la.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d}; +u.la.create=function(){var a=u.k.create(this.prototype);this.apply(a,arguments);return a};u.d=function(a,c,d){var e=u.getData(a);e.z||(e.z={});e.z[c]||(e.z[c]=[]);d.t||(d.t=u.t++);e.z[c].push(d);e.W||(e.disabled=l,e.W=function(c){if(!e.disabled){c=u.kc(c);var d=e.z[c.type];if(d)for(var d=d.slice(0),k=0,q=d.length;ku.Gc;u.Jc=/Firefox/i.test(u.F);u.Gd=/Chrome/i.test(u.F);u.ac=!!("ontouchstart"in window||window.Hc&&document instanceof window.Hc); +u.xb=function(a){var c,d,e,g;c={};if(a&&a.attributes&&0e?"0"+e:e)+":")+(10>d?"0"+d:d)};u.Tc=function(){document.body.focus();document.onselectstart=s(l)};u.Bd=function(){document.onselectstart=s(f)};u.trim=function(a){return(a+"").replace(/^\s+|\s+$/g,"")};u.round=function(a,c){c||(c=0);return Math.round(a*Math.pow(10,c))/Math.pow(10,c)}; +u.tb=function(a,c){return{length:1,start:function(){return a},end:function(){return c}}}; +u.get=function(a,c,d){var e,g;"undefined"===typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");});g=new XMLHttpRequest;try{g.open("GET",a)}catch(j){d(j)}e=0===a.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===a.indexOf("http"); +g.onreadystatechange=function(){4===g.readyState&&(200===g.status||e&&0===g.status?c(g.responseText):d&&d())};try{g.send()}catch(k){d&&d(k)}};u.td=function(a){try{var c=window.localStorage||l;c&&(c.volume=a)}catch(d){22==d.code||1014==d.code?u.log("LocalStorage Full (VideoJS)",d):18==d.code?u.log("LocalStorage not allowed (VideoJS)",d):u.log("LocalStorage Error (VideoJS)",d)}};u.mc=function(a){a.match(/^https?:\/\//)||(a=u.e("div",{innerHTML:'x'}).firstChild.href);return a}; +u.log=function(){u.log.history=u.log.history||[];u.log.history.push(arguments);window.console&&window.console.log(Array.prototype.slice.call(arguments))};u.ad=function(a){var c,d;a.getBoundingClientRect&&a.parentNode&&(c=a.getBoundingClientRect());if(!c)return{left:0,top:0};a=document.documentElement;d=document.body;return{left:c.left+(window.pageXOffset||d.scrollLeft)-(a.clientLeft||d.clientLeft||0),top:c.top+(window.pageYOffset||d.scrollTop)-(a.clientTop||d.clientTop||0)}}; +u.c=u.la.extend({i:function(a,c,d){this.b=a;this.g=u.k.copy(this.g);c=this.options(c);this.Q=c.id||(c.el&&c.el.id?c.el.id:a.id()+"_component_"+u.t++);this.gd=c.name||h;this.a=c.el||this.e();this.G=[];this.qb={};this.V={};if((a=this.g)&&a.children){var e=this;u.k.ua(a.children,function(a,c){c!==l&&!c.loadEvent&&(e[a]=e.Z(a,c))})}this.L(d)}});t=u.c.prototype; +t.D=function(){this.j("dispose");if(this.G)for(var a=this.G.length-1;0<=a;a--)this.G[a].D&&this.G[a].D();this.V=this.qb=this.G=h;this.o();this.a.parentNode&&this.a.parentNode.removeChild(this.a);u.vc(this.a);this.a=h};t.b=f;t.K=p("b");t.options=function(a){return a===b?this.g:this.g=u.k.ic(this.g,a)};t.e=function(a,c){return u.e(a,c)};t.w=p("a");t.id=p("Q");t.name=p("gd");t.children=p("G"); +t.Z=function(a,c){var d,e;"string"===typeof a?(e=a,c=c||{},d=c.componentClass||u.$(e),c.name=e,d=new window.videojs[d](this.b||this,c)):d=a;this.G.push(d);"function"===typeof d.id&&(this.qb[d.id()]=d);(e=e||d.name&&d.name())&&(this.V[e]=d);"function"===typeof d.el&&d.el()&&(this.sa||this.a).appendChild(d.el());return d}; +t.removeChild=function(a){"string"===typeof a&&(a=this.V[a]);if(a&&this.G){for(var c=l,d=this.G.length-1;0<=d;d--)if(this.G[d]===a){c=f;this.G.splice(d,1);break}c&&(this.qb[a.id]=h,this.V[a.name]=h,(c=a.w())&&c.parentNode===(this.sa||this.a)&&(this.sa||this.a).removeChild(a.w()))}};t.T=s("");t.d=function(a,c){u.d(this.a,a,u.bind(this,c));return this};t.o=function(a,c){u.o(this.a,a,c);return this};t.U=function(a,c){u.U(this.a,a,u.bind(this,c));return this};t.j=function(a,c){u.j(this.a,a,c);return this}; +t.L=function(a){a&&(this.aa?a.call(this):(this.Sa===b&&(this.Sa=[]),this.Sa.push(a)));return this};t.Ua=function(){this.aa=f;var a=this.Sa;if(a&&0'+(this.qa||"Need Text")+"
",qd:"button","aria-live":"polite",tabIndex:0},c);return u.c.prototype.e.call(this,a,c)};t.T=function(){return"vjs-control "+u.c.prototype.T.call(this)};t.p=m();t.Oa=function(){u.d(document,"keyup",u.bind(this,this.ba))};t.ba=function(a){if(32==a.which||13==a.which)a.preventDefault(),this.p()}; +t.Na=function(){u.o(document,"keyup",u.bind(this,this.ba))};u.O=u.c.extend({i:function(a,c){u.c.call(this,a,c);this.Sc=this.V[this.g.barName];this.handle=this.V[this.g.handleName];a.d(this.tc,u.bind(this,this.update));this.d("mousedown",this.Pa);this.d("touchstart",this.Pa);this.d("focus",this.Oa);this.d("blur",this.Na);this.d("click",this.p);this.b.d("controlsvisible",u.bind(this,this.update));a.L(u.bind(this,this.update));this.P={}}});t=u.O.prototype; +t.e=function(a,c){c=c||{};c.className+=" vjs-slider";c=u.k.B({qd:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},c);return u.c.prototype.e.call(this,a,c)};t.Pa=function(a){a.preventDefault();u.Tc();this.P.move=u.bind(this,this.Hb);this.P.end=u.bind(this,this.Ib);u.d(document,"mousemove",this.P.move);u.d(document,"mouseup",this.P.end);u.d(document,"touchmove",this.P.move);u.d(document,"touchend",this.P.end);this.Hb(a)}; +t.Ib=function(){u.Bd();u.o(document,"mousemove",this.P.move,l);u.o(document,"mouseup",this.P.end,l);u.o(document,"touchmove",this.P.move,l);u.o(document,"touchend",this.P.end,l);this.update()};t.update=function(){if(this.a){var a,c=this.yb(),d=this.handle,e=this.Sc;isNaN(c)&&(c=0);a=c;if(d){a=this.a.offsetWidth;var g=d.w().offsetWidth;a=g?g/a:0;c*=1-a;a=c+a/2;d.w().style.left=u.round(100*c,2)+"%"}e.w().style.width=u.round(100*a,2)+"%"}}; +function F(a,c){var d,e,g,j;d=a.a;e=u.ad(d);j=g=d.offsetWidth;d=a.handle;if(a.g.Cd)return j=e.top,e=c.changedTouches?c.changedTouches[0].pageY:c.pageY,d&&(d=d.w().offsetHeight,j+=d/2,g-=d),Math.max(0,Math.min(1,(j-e+g)/g));g=e.left;e=c.changedTouches?c.changedTouches[0].pageX:c.pageX;d&&(d=d.w().offsetWidth,g+=d/2,j-=d);return Math.max(0,Math.min(1,(e-g)/j))}t.Oa=function(){u.d(document,"keyup",u.bind(this,this.ba))}; +t.ba=function(a){37==a.which?(a.preventDefault(),this.yc()):39==a.which&&(a.preventDefault(),this.zc())};t.Na=function(){u.o(document,"keyup",u.bind(this,this.ba))};t.p=function(a){a.stopImmediatePropagation();a.preventDefault()};u.ea=u.c.extend();u.ea.prototype.defaultValue=0;u.ea.prototype.e=function(a,c){c=c||{};c.className+=" vjs-slider-handle";c=u.k.B({innerHTML:''+this.defaultValue+""},c);return u.c.prototype.e.call(this,"div",c)};u.ma=u.c.extend(); +function ca(a,c){a.Z(c);c.d("click",u.bind(a,function(){D(this)}))}u.ma.prototype.e=function(){var a=this.options().Vc||"ul";this.sa=u.e(a,{className:"vjs-menu-content"});a=u.c.prototype.e.call(this,"div",{append:this.sa,className:"vjs-menu"});a.appendChild(this.sa);u.d(a,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return a};u.N=u.q.extend({i:function(a,c){u.q.call(this,a,c);this.selected(c.selected)}}); +u.N.prototype.e=function(a,c){return u.q.prototype.e.call(this,"li",u.k.B({className:"vjs-menu-item",innerHTML:this.g.label},c))};u.N.prototype.p=function(){this.selected(f)};u.N.prototype.selected=function(a){a?(this.n("vjs-selected"),this.a.setAttribute("aria-selected",f)):(this.u("vjs-selected"),this.a.setAttribute("aria-selected",l))}; +u.R=u.q.extend({i:function(a,c){u.q.call(this,a,c);this.wa=this.Ka();this.Z(this.wa);this.I&&0===this.I.length&&this.C();this.d("keyup",this.ba);this.a.setAttribute("aria-haspopup",f);this.a.setAttribute("role","button")}});t=u.R.prototype;t.pa=l;t.Ka=function(){var a=new u.ma(this.b);this.options().title&&a.w().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.$(this.A),zd:-1}));if(this.I=this.createItems())for(var c=0;cCurrent Time 0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a}; +u.Ya.prototype.Ca=function(){var a=this.b.Nb?this.b.v.currentTime:this.b.currentTime();this.content.innerHTML='Current Time '+u.La(a,this.b.duration())};u.Za=u.c.extend({i:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.Ca))}}); +u.Za.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'Duration Time 0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};u.Za.prototype.Ca=function(){var a=this.b.duration();a&&(this.content.innerHTML='Duration Time '+u.La(a))}; +u.cc=u.c.extend({i:function(a,c){u.c.call(this,a,c)}});u.cc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"
/
"})};u.fb=u.c.extend({i:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.Ca))}}); +u.fb.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'Remaining Time -0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};u.fb.prototype.Ca=function(){this.b.duration()&&(this.content.innerHTML='Remaining Time -'+u.La(this.b.duration()-this.b.currentTime()))}; +u.Ga=u.q.extend({i:function(a,c){u.q.call(this,a,c)}});u.Ga.prototype.qa="Fullscreen";u.Ga.prototype.T=function(){return"vjs-fullscreen-control "+u.q.prototype.T.call(this)};u.Ga.prototype.p=function(){this.b.H?(this.b.ob(),this.a.children[0].children[0].innerHTML="Fullscreen"):(this.b.ya(),this.a.children[0].children[0].innerHTML="Non-Fullscreen")};u.eb=u.c.extend({i:function(a,c){u.c.call(this,a,c)}});u.eb.prototype.g={children:{seekBar:{}}}; +u.eb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})};u.Zb=u.O.extend({i:function(a,c){u.O.call(this,a,c);a.d("timeupdate",u.bind(this,this.Ba));a.L(u.bind(this,this.Ba))}});t=u.Zb.prototype;t.g={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};t.tc="timeupdate";t.e=function(){return u.O.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})}; +t.Ba=function(){var a=this.b.Nb?this.b.v.currentTime:this.b.currentTime();this.a.setAttribute("aria-valuenow",u.round(100*this.yb(),2));this.a.setAttribute("aria-valuetext",u.La(a,this.b.duration()))};t.yb=function(){var a;"Flash"===this.b.ia&&this.b.seeking()?(a=this.b.v,a=a.rc?a.rc:this.b.currentTime()):a=this.b.currentTime();return a/this.b.duration()};t.Pa=function(a){u.O.prototype.Pa.call(this,a);this.b.Nb=f;this.Dd=!this.b.paused();this.b.pause()}; +t.Hb=function(a){a=F(this,a)*this.b.duration();a==this.b.duration()&&(a-=0.1);this.b.currentTime(a)};t.Ib=function(a){u.O.prototype.Ib.call(this,a);this.b.Nb=l;this.Dd&&this.b.play()};t.zc=function(){this.b.currentTime(this.b.currentTime()+5)};t.yc=function(){this.b.currentTime(this.b.currentTime()-5)};u.ab=u.c.extend({i:function(a,c){u.c.call(this,a,c);a.d("progress",u.bind(this,this.update))}});u.ab.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'Loaded: 0%'})}; +u.ab.prototype.update=function(){this.a.style&&(this.a.style.width=u.round(100*this.b.Ja(),2)+"%")};u.Xb=u.c.extend({i:function(a,c){u.c.call(this,a,c)}});u.Xb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'Progress: 0%'})};u.gb=u.ea.extend();u.gb.prototype.defaultValue="00:00";u.gb.prototype.e=function(){return u.ea.prototype.e.call(this,"div",{className:"vjs-seek-handle"})}; +u.ib=u.c.extend({i:function(a,c){u.c.call(this,a,c);a.h&&(a.h.m&&a.h.m.volumeControl===l)&&this.n("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.m&&a.h.m.volumeControl===l?this.n("vjs-hidden"):this.u("vjs-hidden")}))}});u.ib.prototype.g={children:{volumeBar:{}}};u.ib.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})}; +u.hb=u.O.extend({i:function(a,c){u.O.call(this,a,c);a.d("volumechange",u.bind(this,this.Ba));a.L(u.bind(this,this.Ba));setTimeout(u.bind(this,this.update),0)}});t=u.hb.prototype;t.Ba=function(){this.a.setAttribute("aria-valuenow",u.round(100*this.b.volume(),2));this.a.setAttribute("aria-valuetext",u.round(100*this.b.volume(),2)+"%")};t.g={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};t.tc="volumechange"; +t.e=function(){return u.O.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};t.Hb=function(a){this.b.muted()&&this.b.muted(l);this.b.volume(F(this,a))};t.yb=function(){return this.b.muted()?0:this.b.volume()};t.zc=function(){this.b.volume(this.b.volume()+0.1)};t.yc=function(){this.b.volume(this.b.volume()-0.1)};u.dc=u.c.extend({i:function(a,c){u.c.call(this,a,c)}}); +u.dc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:''})};u.jb=u.ea.extend();u.jb.prototype.defaultValue="00:00";u.jb.prototype.e=function(){return u.ea.prototype.e.call(this,"div",{className:"vjs-volume-handle"})}; +u.da=u.q.extend({i:function(a,c){u.q.call(this,a,c);a.d("volumechange",u.bind(this,this.update));a.h&&(a.h.m&&a.h.m.volumeControl===l)&&this.n("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.m&&a.h.m.volumeControl===l?this.n("vjs-hidden"):this.u("vjs-hidden")}))}});u.da.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'
Mute
'})}; +u.da.prototype.p=function(){this.b.muted(this.b.muted()?l:f)};u.da.prototype.update=function(){var a=this.b.volume(),c=3;0===a||this.b.muted()?c=0:0.33>a?c=1:0.67>a&&(c=2);this.b.muted()?"Unmute"!=this.a.children[0].children[0].innerHTML&&(this.a.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.a.children[0].children[0].innerHTML&&(this.a.children[0].children[0].innerHTML="Mute");for(a=0;4>a;a++)u.u(this.a,"vjs-vol-"+a);u.n(this.a,"vjs-vol-"+c)}; +u.oa=u.R.extend({i:function(a,c){u.R.call(this,a,c);a.d("volumechange",u.bind(this,this.update));a.h&&(a.h.m&&a.h.m.Dc===l)&&this.n("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.m&&a.h.m.Dc===l?this.n("vjs-hidden"):this.u("vjs-hidden")}));this.n("vjs-menu-button")}});u.oa.prototype.Ka=function(){var a=new u.ma(this.b,{Vc:"div"}),c=new u.hb(this.b,u.k.B({Cd:f},this.g.Vd));a.Z(c);return a};u.oa.prototype.p=function(){u.da.prototype.p.call(this);u.R.prototype.p.call(this)}; +u.oa.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'
Mute
'})};u.oa.prototype.update=u.da.prototype.update;u.cb=u.q.extend({i:function(a,c){u.q.call(this,a,c);(!a.poster()||!a.controls())&&this.C();a.d("play",u.bind(this,this.C))}}); +u.cb.prototype.e=function(){var a=u.e("div",{className:"vjs-poster",tabIndex:-1}),c=this.b.poster();c&&("backgroundSize"in a.style?a.style.backgroundImage='url("'+c+'")':a.appendChild(u.e("img",{src:c})));return a};u.cb.prototype.p=function(){this.K().controls()&&this.b.play()}; +u.Wb=u.c.extend({i:function(a,c){u.c.call(this,a,c);a.d("canplay",u.bind(this,this.C));a.d("canplaythrough",u.bind(this,this.C));a.d("playing",u.bind(this,this.C));a.d("seeked",u.bind(this,this.C));a.d("seeking",u.bind(this,this.show));a.d("seeked",u.bind(this,this.C));a.d("error",u.bind(this,this.show));a.d("waiting",u.bind(this,this.show))}});u.Wb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})};u.Wa=u.q.extend(); +u.Wa.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:'',"aria-label":"play video"})};u.Wa.prototype.p=function(){this.b.play()}; +u.r=u.c.extend({i:function(a,c,d){u.c.call(this,a,c,d);var e,g;g=this;e=this.K();a=function(){if(e.controls()&&!e.Rb()){var a,c;g.d("mousedown",g.p);g.d("touchstart",function(a){a.preventDefault();a.stopPropagation();c=this.b.ja()});a=function(a){a.stopPropagation();c&&this.b.Mb()};g.d("touchmove",a);g.d("touchleave",a);g.d("touchcancel",a);g.d("touchend",a);var d,n,r;d=0;g.d("touchstart",function(){d=(new Date).getTime();r=f});a=function(){r=l};g.d("touchmove",a);g.d("touchleave",a);g.d("touchcancel", +a);g.d("touchend",function(){r===f&&(n=(new Date).getTime()-d,250>n&&this.j("tap"))});g.d("tap",g.md)}};c=u.bind(g,g.pd);this.L(a);e.d("controlsenabled",a);e.d("controlsdisabled",c)}});u.r.prototype.pd=function(){this.o("tap");this.o("touchstart");this.o("touchmove");this.o("touchleave");this.o("touchcancel");this.o("touchend");this.o("click");this.o("mousedown")};u.r.prototype.p=function(a){0===a.button&&this.K().controls()&&(this.K().paused()?this.K().play():this.K().pause())}; +u.r.prototype.md=function(){this.K().ja(!this.K().ja())};u.r.prototype.m={volumeControl:f,fullscreenResize:l,progressEvents:l,timeupdateEvents:l};u.media={};u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" "); +function ea(){var a=u.media.Va[i];return function(){throw Error('The "'+a+"\" method is not available on the playback technology's API");}}for(var i=u.media.Va.length-1;0<=i;i--)u.r.prototype[u.media.Va[i]]=ea(); +u.l=u.r.extend({i:function(a,c,d){this.m.volumeControl=u.l.Uc();this.m.movingMediaElementInDOM=!u.Kc;this.m.fullscreenResize=f;u.r.call(this,a,c,d);(c=c.source)&&this.a.currentSrc===c.src&&0'});e=u.k.B({data:a,width:"100%",height:"100%"},e);u.k.ua(e,function(a,c){k+=a+'="'+c+'" '});return'"+j+""};u.f.yd=function(a,c){return a+"&"+c}; +u.f.Ac=function(a){var c={rb:"",Ob:""};if(!a)return c;var d=a.indexOf("&"),e;-1!==d?e=d+1:(d=e=a.lastIndexOf("/")+1,0===d&&(d=e=a.length));c.rb=a.substring(0,d);c.Ob=a.substring(e,a.length);return c};u.f.ed=function(a){return a in u.f.Bc};u.f.Qc=/^rtmp[set]?:\/\//i;u.f.dd=function(a){return u.f.Qc.test(a)}; +u.Pc=u.c.extend({i:function(a,c,d){u.c.call(this,a,c,d);if(!a.g.sources||0===a.g.sources.length){c=0;for(d=a.g.techOrder;c");this.fa.push(c)}this.ha=2;this.j("loaded")}; +function Y(a){var c=a.split(":");a=0;var d,e,g;3==c.length?(d=c[0],e=c[1],c=c[2]):(d=0,e=c[0],c=c[1]);c=c.split(/\s+/);c=c.splice(0,1)[0];c=c.split(/\.|,/);g=parseFloat(c[1]);c=c[0];a+=3600*parseFloat(d);a+=60*parseFloat(e);a+=parseFloat(c);g&&(a+=g/1E3);return a} +t.update=function(){if(0=this.Ma||this.Ma===b?r=this.wb!==b?this.wb:0:(g=f,r=this.Db!==b?this.Db:c.length-1);for(;;){n=c[r];if(n.va<=a)e=Math.max(e,n.va),n.Ia&&(n.Ia=l);else if(a'+a[d].text+"";this.a.innerHTML=c;this.j("cuechange")}}};t.reset=function(){this.Ma=0;this.Lb=this.b.duration();this.Db=this.wb=0};u.Ub=u.X.extend();u.Ub.prototype.A="captions";u.$b=u.X.extend();u.$b.prototype.A="subtitles";u.Vb=u.X.extend();u.Vb.prototype.A="chapters"; +u.bc=u.c.extend({i:function(a,c,d){u.c.call(this,a,c,d);if(a.g.tracks&&0=this.I.length&&this.C()}});u.S.prototype.ta=function(){var a=[],c;a.push(new u.bb(this.b,{kind:this.A}));for(var d=0;de.readyState()){this.Id=e;e.d("loaded",u.bind(this,this.Ka));return}g=e;break}a=this.wa=new u.ma(this.b);a.a.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.$(this.A),zd:-1}));if(g){e=g.fa;for(var k,c=0,d=e.length;c Date: Mon, 4 Aug 2014 21:32:42 -0400 Subject: [PATCH 2/5] nav bar --- css/cover.css | 4 +--- index.html | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 58 insertions(+), 4 deletions(-) diff --git a/css/cover.css b/css/cover.css index 26632ca..746029d 100644 --- a/css/cover.css +++ b/css/cover.css @@ -22,9 +22,7 @@ body{ background-color: #fff; border-bottom: 0; } -.navbar{ -background-color: rgba(0,0,0,0.2); -} + #navigation li a{ color:#f5f5f5; } diff --git a/index.html b/index.html index 15d22b1..6726870 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,34 @@ + + +
@@ -48,7 +76,9 @@

An open source, decentralized, Bitcoin banking system right in you

@@ -347,4 +377,30 @@

Tell us what you think, #decentralbank watch it show up h })(); + + From 212b478144bf6216b8ae74e7ab37ab91134d2837 Mon Sep 17 00:00:00 2001 From: edenn Date: Wed, 6 Aug 2014 20:50:39 -0400 Subject: [PATCH 3/5] added header links --- index.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 6726870..b48763c 100644 --- a/index.html +++ b/index.html @@ -43,10 +43,14 @@

@@ -77,7 +81,7 @@

An open source, decentralized, Bitcoin banking system right in you @@ -238,7 +242,7 @@

Voting Pools

-

Tell us what you think, #decentralbank watch it show up here!

+

#decentralbank tell us what you think, watch it show up here!




@@ -246,7 +250,7 @@

Tell us what you think, #decentralbank watch it show up h

- +
@@ -287,7 +291,7 @@

Tell us what you think, #decentralbank watch it show up h About Features - Blog + Blog

From 8eb007d90d4a0bbc521eabc09e319a2d215e3051 Mon Sep 17 00:00:00 2001 From: edenn Date: Wed, 6 Aug 2014 21:48:50 -0400 Subject: [PATCH 4/5] fixed navbar issues --- css/cover.css | 7 ++++++- index.html | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/css/cover.css b/css/cover.css index 746029d..0fdd3ae 100644 --- a/css/cover.css +++ b/css/cover.css @@ -357,8 +357,13 @@ background: rgba(255,255,255,.25); a.btn.whitee { + color: #fff; -border: 1px solid #fff; +width: 10em; +font-size: 1.2em; +padding:10px; +border: 2px solid #fff; + } a.btn.whitee:hover{opacity:0.85; }; diff --git a/index.html b/index.html index b48763c..d36ad67 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@
-
+

Decentral Bank

An open source, decentralized, Bitcoin banking system right in your wallet.

@@ -148,7 +148,7 @@

Will be available for:

-
+

What's the problem?



@@ -395,7 +395,7 @@

#decentralbank tell us what you think, watch it show up h $(window).scroll(function () { // set distance user needs to scroll before we start fadeIn - if ($(this).scrollTop() > 800) { + if ($(this).scrollTop() > $('#exp').innerHeight()) { $('.navbar').fadeIn(); } else { $('.navbar').fadeOut(); From f0d1936d60d51b2efbbae39de0e497d8961029ba Mon Sep 17 00:00:00 2001 From: edenn Date: Wed, 20 Aug 2014 23:43:42 -0400 Subject: [PATCH 5/5] email --- index.html | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index d36ad67..395a620 100644 --- a/index.html +++ b/index.html @@ -82,6 +82,12 @@

An open source, decentralized, Bitcoin banking system right in you
White Paper   Blog +
+
+
+ + +
@@ -130,16 +136,42 @@

Will be available for:




+
+
- +

+ +
+
+ +
+ +

Wanna be kept in the loop ? Join our mailing list!

+ + + +
+
+
+ +
+