Version Description
- Fixed scroll to player script.
- CSS improvements.
- Moved screenshots to assets folder.
Download this release
Release Info
Developer | javitxu123 |
Plugin | Youtube Channel Gallery |
Version | 1.7.8 |
Comparing to | |
See all releases |
Code changes from version 1.7.7 to 1.7.8
- readme.txt +6 -1
- screenshot-1.jpg +0 -0
- screenshot-2.jpg +0 -0
- screenshot-3.jpg +0 -0
- screenshot-4.jpg +0 -0
- screenshot-5.jpg +0 -0
- scripts.js +5 -5
- styles.css +6 -6
- youtube-channel-gallery.php +1 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://poselab.com/
|
|
4 |
Tags: widget, gallery, youtube, channel, user, sidebar, video, youtube playlist, html5, iframe, Youtube channel, youtube videos
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.4.1
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -123,6 +123,11 @@ This will happen if your playlist has more than 1000 videos because YouTube API
|
|
123 |
|
124 |
== Changelog ==
|
125 |
|
|
|
|
|
|
|
|
|
|
|
126 |
= 1.7.7 =
|
127 |
* Check descriptions in playlists because are in media:description.
|
128 |
|
4 |
Tags: widget, gallery, youtube, channel, user, sidebar, video, youtube playlist, html5, iframe, Youtube channel, youtube videos
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.4.1
|
7 |
+
Stable tag: 1.7.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 1.7.8 =
|
127 |
+
* Fixed scroll to player script.
|
128 |
+
* CSS improvements.
|
129 |
+
* Moved screenshots to assets folder.
|
130 |
+
|
131 |
= 1.7.7 =
|
132 |
* Check descriptions in playlists because are in media:description.
|
133 |
|
screenshot-1.jpg
DELETED
Binary file
|
screenshot-2.jpg
DELETED
Binary file
|
screenshot-3.jpg
DELETED
Binary file
|
screenshot-4.jpg
DELETED
Binary file
|
screenshot-5.jpg
DELETED
Binary file
|
scripts.js
CHANGED
@@ -32,14 +32,14 @@ jQuery(document).ready(function($) {
|
|
32 |
//Scroll to element only if not in view - jQuery
|
33 |
//http://stackoverflow.com/a/10130707/1504078
|
34 |
function checkIfInView(element){
|
35 |
-
if($(element).
|
36 |
-
if($(element).
|
37 |
//scroll up
|
38 |
-
$('html,body').animate({scrollTop:$(element).
|
39 |
}
|
40 |
-
else if($(element).
|
41 |
//scroll down
|
42 |
-
$('html,body').animate({scrollTop:$(element).
|
43 |
}
|
44 |
}
|
45 |
|
32 |
//Scroll to element only if not in view - jQuery
|
33 |
//http://stackoverflow.com/a/10130707/1504078
|
34 |
function checkIfInView(element){
|
35 |
+
if($(element).offset()){
|
36 |
+
if($(element).offset().top < $(window).scrollTop()){
|
37 |
//scroll up
|
38 |
+
$('html,body').animate({scrollTop:$(element).offset().top - 10}, 500);
|
39 |
}
|
40 |
+
else if($(element).offset().top + $(element).height() > $(window).scrollTop() + (window.innerHeight || document.documentElement.clientHeight)){
|
41 |
//scroll down
|
42 |
+
$('html,body').animate({scrollTop:$(element).offset().top - (window.innerHeight || document.documentElement.clientHeight) + $(element).height() + 10}, 500);}
|
43 |
}
|
44 |
}
|
45 |
|
styles.css
CHANGED
@@ -16,17 +16,17 @@ Description: Show a youtube video and a gallery of thumbnails for a youtube chan
|
|
16 |
|
17 |
/*Player*/
|
18 |
/*---------------------------------------------------*/
|
19 |
-
iframe.ytcplayer{display: block;margin-bottom: 10px;padding: 0;}
|
20 |
|
21 |
/*Thumbnails, title and description*/
|
22 |
/*---------------------------------------------------*/
|
23 |
-
ul.ytchagallery.ytccf{margin: 0; padding: 0;list-style: none;}
|
24 |
-
ul.ytchagallery.ytccf li{float:left;padding:0;margin: 0;list-style: none;}
|
25 |
-
ul.ytchagallery.ytccf li.ytccell-first{clear: left;}
|
26 |
|
27 |
/*Thumbnails*/
|
28 |
-
ul.ytchagallery.ytccf div.ytcthumb-cont{float: left;}
|
29 |
-
ul.ytchagallery.ytccf li a.ytcthumb{display: inline-block;border:1px solid #999;background-position: center center;background-size: 110%;background-repeat: no-repeat;}
|
30 |
ul.ytchagallery.ytccf li a.ytcthumb .ytcplay{background: url(img/play.png) -9999px -9999px no-repeat;}
|
31 |
ul.ytchagallery.ytccf li a.ytcthumb:hover{opacity: 0.75;}
|
32 |
ul.ytchagallery.ytccf li a.ytcthumb:hover .ytcplay{background-position: center center;}
|
16 |
|
17 |
/*Player*/
|
18 |
/*---------------------------------------------------*/
|
19 |
+
iframe.ytcplayer{display: block!important;margin-bottom: 10px!important;padding: 0!important;}
|
20 |
|
21 |
/*Thumbnails, title and description*/
|
22 |
/*---------------------------------------------------*/
|
23 |
+
ul.ytchagallery.ytccf{margin: 0!important; padding: 0!important;list-style: none!important;}
|
24 |
+
ul.ytchagallery.ytccf li{float:left;padding:0!important;margin: 0!important;list-style: none!important;}
|
25 |
+
ul.ytchagallery.ytccf li.ytccell-first{clear: left!important;}
|
26 |
|
27 |
/*Thumbnails*/
|
28 |
+
ul.ytchagallery.ytccf div.ytcthumb-cont{float: left!important;}
|
29 |
+
ul.ytchagallery.ytccf li a.ytcthumb{display: inline-block!important;border:1px solid #999;background-position: center center;background-size: 110%;background-repeat: no-repeat;}
|
30 |
ul.ytchagallery.ytccf li a.ytcthumb .ytcplay{background: url(img/play.png) -9999px -9999px no-repeat;}
|
31 |
ul.ytchagallery.ytccf li a.ytcthumb:hover{opacity: 0.75;}
|
32 |
ul.ytchagallery.ytccf li a.ytcthumb:hover .ytcplay{background-position: center center;}
|
youtube-channel-gallery.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Description: Show a youtube video and a gallery of thumbnails for a youtube channel.
|
6 |
Author: Javier Gómez Pose
|
7 |
Author URI: http://www.poselab.com/
|
8 |
-
Version: 1.7.
|
9 |
License: GPL2
|
10 |
|
11 |
Copyright 2013 Javier Gómez Pose (email : javierpose@gmail.com)
|
5 |
Description: Show a youtube video and a gallery of thumbnails for a youtube channel.
|
6 |
Author: Javier Gómez Pose
|
7 |
Author URI: http://www.poselab.com/
|
8 |
+
Version: 1.7.8
|
9 |
License: GPL2
|
10 |
|
11 |
Copyright 2013 Javier Gómez Pose (email : javierpose@gmail.com)
|