Skip to content

Commit

Permalink
Release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Oct 11, 2015
1 parent 56cd4f9 commit 14b47ca
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
### 0.4.0
* Add `bgColor` property.
* Fix a blurred circle on IOS9.
* Update dependencies.

### 0.3.7
* Fix the 'Not implemented' error in IE.
* Make a small refactoring.
Expand Down
14 changes: 10 additions & 4 deletions dist/jquery.vide.js
@@ -1,5 +1,5 @@
/*
* Vide - v0.3.7
* Vide - v0.4.0
* Easy as hell jQuery plugin for video backgrounds.
* http://vodkabears.github.io/vide/
*
Expand Down Expand Up @@ -40,7 +40,8 @@
autoplay: true,
position: '50% 50%',
posterType: 'detect',
resizing: true
resizing: true,
bgColor: 'transparent'
};

/**
Expand Down Expand Up @@ -251,6 +252,7 @@
'-moz-background-size': 'cover',
'-o-background-size': 'cover',
'background-size': 'cover',
'background-color': settings.bgColor,
'background-repeat': 'no-repeat',
'background-position': position.x + ' ' + position.y
});
Expand Down Expand Up @@ -339,7 +341,8 @@
transform: 'translate(-' + position.x + ', -' + position.y + ')',

// Disable visibility, while loading
visibility: 'hidden'
visibility: 'hidden',
opacity: 0
})

// Resize a video, when it's loaded
Expand All @@ -349,7 +352,10 @@

// Make it visible, when it's already playing
.one('playing.' + PLUGIN_NAME, function() {
$video.css('visibility', 'visible');
$video.css({
visibility: 'hidden',
opacity: 1
});
$wrapper.css('background-image', 'none');
});

Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.vide.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.js
Expand Up @@ -3,7 +3,7 @@ Package.describe({
git: 'https://github.com/VodkaBears/Vide.git',
name: 'vodkabears:vide',
summary: 'Easy as hell jQuery plugin for video backgrounds',
version: '0.3.7'
version: '0.4.0'
});

Package.onUse(function(api) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "vide",
"version": "0.3.7",
"version": "0.4.0",
"description": "Easy as hell jQuery plugin for video backgrounds.",
"keywords": [
"jquery-plugin",
Expand Down

0 comments on commit 14b47ca

Please sign in to comment.