Skip to content

Commit

Permalink
Release v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Jan 14, 2016
1 parent 3e64c94 commit 4ebda1e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 22 deletions.
39 changes: 21 additions & 18 deletions dist/jquery.vide.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Vide - v0.4.1
* Vide - v0.5.0
* Easy as hell jQuery plugin for video backgrounds.
* http://vodkabears.github.io/vide/
*
Expand Down Expand Up @@ -41,7 +41,8 @@
position: '50% 50%',
posterType: 'detect',
resizing: true,
bgColor: 'transparent'
bgColor: 'transparent',
className: ''
};

/**
Expand Down Expand Up @@ -240,22 +241,24 @@
var $wrapper;

// Set styles of a video wrapper
$wrapper = vide.$wrapper = $('<div>').css({
position: 'absolute',
'z-index': -1,
top: 0,
left: 0,
bottom: 0,
right: 0,
overflow: 'hidden',
'-webkit-background-size': 'cover',
'-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
});
$wrapper = vide.$wrapper = $('<div>')
.addClass(settings.className)
.css({
position: 'absolute',
'z-index': -1,
top: 0,
left: 0,
bottom: 0,
right: 0,
overflow: 'hidden',
'-webkit-background-size': 'cover',
'-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
});

// Get a poster path
if (typeof path === 'object') {
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
Original file line number Diff line number Diff line change
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.4.1'
version: '0.5.0'
});

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

0 comments on commit 4ebda1e

Please sign in to comment.