with wordpress theme “twentysixteen” the player is working correctly… (under WordPress 4.5)
the code in the customscript.js in my theme (Point) is:
var $ = jQuery.noConflict();
/*----------------------------------------------------
/* Dropdown menu
/* ------------------------------------------------- */
jQuery(document).ready(function($) {
$('#navigation ul.sub-menu, #navigation ul.children').hide(); // hides the submenus in mobile menu too
$('#navigation li').hover(
function() {
$(this).children('ul.sub-menu, ul.children').slideDown('fast');
},
function() {
$(this).children('ul.sub-menu, ul.children').hide();
}
);
});
/*----------------------------------------------------
/* Responsive Navigation
/*--------------------------------------------------*/
jQuery(function() {
var pull = jQuery('#pull');
menu = jQuery('nav > ul');
menuHeight = menu.height();
jQuery(pull).on('click', function(e) {
e.preventDefault();
menu.slideToggle();
});
});
/*----------------------------------------------------
/* Scroll to top footer link script
/*--------------------------------------------------*/
jQuery(document).ready(function(){
jQuery('a[href=#top]').click(function(){
jQuery('html, body').animate({scrollTop:0}, 'slow');
return false;
});
jQuery(".togglec").hide();
jQuery(".togglet").click(function(){
jQuery(this).toggleClass("toggleta").next(".togglec").slideToggle("normal");
return true;
});
});
whit this modified code in my customscript.js player is working:
/*----------------------------------------------------
/* Scroll to top footer link script
/*--------------------------------------------------*/
jQuery(document).ready(function(){
$("a[href='#top']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
jQuery(".togglec").hide();
jQuery(".togglet").click(function(){
jQuery(this).toggleClass("toggleta").next(".togglec").slideToggle("normal");
return true;
});
});
Can you tell me the error that you see in the browser’s console?
Hi Simon, the player just shows up with no content. Can you help?
the player has stop working it will not play any more can you please help.
Thanks
It depends on the wordpress theme used. some some just do not work. after updating my themes (point)is again all ok!