http://www.terezowens.com/videos/
Hello, this page was working last time I checked it a few weeks ago but now it seems none of the links or thumbnails will change the video up top. Anyone have any ideas? Thank you in advance.
-Michael

Thumbnails and links not working
Started by Michael Williams, May 15 2012 04:51 PM
5 replies to this topic
#1
Posted 15 May 2012 - 04:51 PM
#2
Posted 15 May 2012 - 11:28 PM
Hi Michael,
Looks like there are a few JavaScript errors on page load that are preventing TubePress from initializing itself correctly. Screenshot: http://i.imgur.com/IpKZK.png.
One of the errors points to the "lightbox-2" plugin. Have you tried, even temporarily, disabling that plugin to see if it makes a difference? Let's start there and continue to troubleshoot. Thanks!
Looks like there are a few JavaScript errors on page load that are preventing TubePress from initializing itself correctly. Screenshot: http://i.imgur.com/IpKZK.png.
One of the errors points to the "lightbox-2" plugin. Have you tried, even temporarily, disabling that plugin to see if it makes a difference? Let's start there and continue to troubleshoot. Thanks!
#3
Posted 16 May 2012 - 08:57 AM
Thanks for the response. I deactivated the plugin for lightbox 2 but still having the same issue. What should I try next? Thank you again. :)
#4
Posted 16 May 2012 - 08:31 PM
OK, that fixed up that JavaScript error - a good start. The next problem that we need to address is that you have multiple copies of jQuery being loaded on your site:
The one loaded from ajax.googleapis.com appears to be coming from something on your site related to comScore. To get rid of that load, you'll either need to contact the plugin author for an update or edit the plugin to not load jQuery.
And the duplicate load of jQuery from wp-includes/js/jquery/jquery.js is likely coming from it being hard-coded into your theme. I would check your theme's header.php - it's probably coded in there.
Does that make sense? Let me know if you need assistance with any of this. Thanks!
- http://www.terezowens.com/wp-includes/js/jquery/jquery.js (twice from this location)
- https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js
The one loaded from ajax.googleapis.com appears to be coming from something on your site related to comScore. To get rid of that load, you'll either need to contact the plugin author for an update or edit the plugin to not load jQuery.
And the duplicate load of jQuery from wp-includes/js/jquery/jquery.js is likely coming from it being hard-coded into your theme. I would check your theme's header.php - it's probably coded in there.
Does that make sense? Let me know if you need assistance with any of this. Thanks!
#5
Posted 17 May 2012 - 05:50 PM
Thanks again for your help. Ok I got the page down to two jquery.js?ver=1.6.1. One of them is at the top of the page and I need it to make another plugin I had written work. It seems the other call for that js is from tubepress. Can you tell me how to get rid of that one please? Thanks :)
#6
Posted 17 May 2012 - 09:16 PM
The remaining two jQuery loads look like this:
I would reiterate that you should get rid of the jQuery load at the very top of your page, which I'm pretty sure is hard-coded in your theme somewhere. Eliminating it won't break any plugins, and will make your page load significantly faster.
<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script>at the very top (line 11) of your HTML source, and later on (line 111):
<script type='text/javascript' src='http://www.terezowens.com/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script>This second load is the one we want to keep, as it's produced by WordPress directly. TubePress simply tells WordPress to enqueue jQuery (which is adhering to best practices). Even if you modify TubePress to no enqueue jQuery, it's very likely that other plugins are relying on it and it will get loaded anyway.
I would reiterate that you should get rid of the jQuery load at the very top of your page, which I'm pretty sure is hard-coded in your theme somewhere. Eliminating it won't break any plugins, and will make your page load significantly faster.