Skip to content

Commit

Permalink
Release v0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed May 28, 2015
1 parent d8c55cd commit f465438
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "vide",
"version": "0.3.4",
"version": "0.3.5",
"homepage": "http://vodkabears.github.io/vide/",
"authors": [
"Ilya Makarov <dfrost.00@gmail.com>"
Expand Down
10 changes: 7 additions & 3 deletions dist/jquery.vide.js
@@ -1,5 +1,5 @@
/*
* Vide - v0.3.4
* Vide - v0.3.5
* Easy as hell jQuery plugin for video backgrounds.
* http://vodkabears.github.io/vide/
*
Expand Down Expand Up @@ -319,9 +319,13 @@
})

// Resize a video, when it's loaded
.on('canplaythrough.' + PLUGIN_NAME, function() {
vide.$video.css('visibility', 'visible');
.one('canplaythrough.' + PLUGIN_NAME, function() {
vide.resize();
})

// Make it visible, when it's already playing
.one('playing.' + PLUGIN_NAME, function() {
vide.$video.css('visibility', 'visible');
vide.$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.4'
version: '0.3.5'
});

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

0 comments on commit f465438

Please sign in to comment.