fix video home

This commit is contained in:
Tessier
2020-09-22 19:25:08 +02:00
parent 27dbfb92e0
commit 4776d553d2
5 changed files with 4 additions and 44 deletions
@@ -118,42 +118,14 @@ function scrollto(){
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 100) {
$(".logo a").addClass("reduct");
$(".logo a").addClass("reduct");
} else {
$(".logo a").removeClass("reduct");
$(".logo a").removeClass("reduct");
}
});
}
// function setupPlayers() {
// // $('#section_MineVideo .cover').click(function(){
// // $(this).fadeOut();
// // var id = $(this).parent().find('iframe').attr('id');
// // callPlayer(id, function() {
// // callPlayer(id, "playVideo");
// // });
// // });
// // Load the IFrame Player API code asynchronously.
// var tag = document.createElement('script');
// tag.src = "https://www.youtube.com/player_api";
// var firstScriptTag = document.getElementsByTagName('script')[0];
// firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
//
// // Replace the 'ytplayer' element with an <iframe> and
// // YouTube player after the API code downloads.
// var player;
// function onYouTubePlayerAPIReady() {
// console.log('cc');
// player = new YT.Player('ytplayer', {
// height: '360',
// width: '640',
// videoId: 'XUsBV5mXJGs'
// });
// }
// }
$( document ).ready(function() {
// setupPlayers();
burger();
click_nav();
slides();
@@ -62,7 +62,6 @@ p{
}
}
main{
min-height: 90vh;
}