Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Only 1st Video Playsl

youtube wordpress thumbnails

Best Answer petrich, 24 May 2013 - 09:55 AM

Yep, but it's because I finally found the origin. 

 

It was actually due to a bug which is going to be included in next Tubepress release

 

http://community.tub...screen/?p=10154

 

At the moment, I am not using cookieless domain for plugins in my wordpress installation but I was doing so and stopped it to troubleshoot this.

 

Now I would like to go back to my cookieless domain for wordpress plugins and have Tubepress working correctly

 

That means I would face the cross domain problem.

 

i tried to make a 301 redirection specificly on the AjaxEnpoint.php file from static.mydomain.com/xxx/tubepress/... to www.mydomain.com/xxx/tubepress/... but that didn't work.

 

Do you know if I can do that ?

Go to the full post


  • Please log in to reply
7 replies to this topic

#1 petrich

petrich

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 22 May 2013 - 05:03 PM

Hello there,

 

Many thanks for this plugin I recently discovered. i am pretty sure it will fit my requirements very soon.

 

At the moment, after playing around a bit, I managed to understand pretty much every options with the help of documentation, but...

 

I am facing a (quite common) issue on the following page:

http://www.keepintou.../tubepresstest/

 

Only the first video is playing and I am not able to make the others playing correctly.

 

I read some possible explanations:

 

W3TC wrong behavior due to minify... but I disabled W3TC at the moment

I tried to disable and reenable TybePress, as I read it did the trick for someone ...but nothing better

Some problem with jQuery.js: that's possible, I don't know exactly how to troubleshoot that

 

I already tried to troubleshoot the page with firebug add-on and it seems I am getting the following error: permission denied to access property 'toString'

I can't say if this is related.

 

I am gonna try to go on trouble shooting this with the help of debug mode, but any help will be much appreciated.

 

Many thanks to anyone able to help me with that.

 

Petrich 

 

 



#2 petrich

petrich

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 22 May 2013 - 05:27 PM

Hereunder is the Output of the debug mode which does not print any error if I am not mistaken:

 

"xxx" has been hidden but the original path corresponds to the exact path on my web server

 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Booting! 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found valid plugin at E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\core\Core.info 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found valid plugin at E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\embedplus\EmbedPlusPlayer.info 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found valid plugin at E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\jwplayer\JwPlayer.info 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found valid plugin at E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\vimeo\Vimeo.info 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found valid plugin at E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\wordpress\WordPress.info 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found valid plugin at E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\youtube\YouTube.info 

[2013-05-22 22:20:53] [DEBUG] Filesystem Plugin Discoverer: Found 6 valid plugin(s) from E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Found 6 plugins (6 system and 0 user) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Now register plugin classloaders 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 1 of 6: TubePress Core) Creating classloader that has 1 classpath(s) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 1 of 6: TubePress Core) Registering E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\core\classes as a classpath 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 2 of 6: Basic WordPress Integration) Creating classloader that has 1 classpath(s) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 2 of 6: Basic WordPress Integration) Registering E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\wordpress\classes as a classpath 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 3 of 6: Basic YouTube Integration) Creating classloader that has 1 classpath(s) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 3 of 6: Basic YouTube Integration) Registering E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\youtube\classes as a classpath 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 4 of 6: Basic Vimeo Integration) Creating classloader that has 1 classpath(s) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 4 of 6: Basic Vimeo Integration) Registering E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\vimeo\classes as a classpath 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 5 of 6: EmbedPlus) Creating classloader that has 1 classpath(s) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 5 of 6: EmbedPlus) Registering E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\embedplus\classes as a classpath 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 6 of 6: JW Player) Creating classloader that has 1 classpath(s) 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 6 of 6: JW Player) Registering E:\xxx\worldtour\wp-content\plugins\tubepress\src\main\php\plugins\jwplayer\classes as a classpath 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done registering plugin classloaders. Now registering plugin IoC container extensions. 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 1 of 6: TubePress Core) Will attempt to load tubepress_plugins_core_impl_patterns_ioc_IocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 1 of 6: TubePress Core) Successfully loaded tubepress_plugins_core_impl_patterns_ioc_IocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 2 of 6: Basic WordPress Integration) Will attempt to load tubepress_plugins_wordpress_impl_patterns_ioc_WordPressIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 2 of 6: Basic WordPress Integration) Successfully loaded tubepress_plugins_wordpress_impl_patterns_ioc_WordPressIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 3 of 6: Basic YouTube Integration) Will attempt to load tubepress_plugins_youtube_impl_patterns_ioc_YouTubeIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 3 of 6: Basic YouTube Integration) Successfully loaded tubepress_plugins_youtube_impl_patterns_ioc_YouTubeIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 4 of 6: Basic Vimeo Integration) Will attempt to load tubepress_plugins_vimeo_impl_patterns_ioc_VimeoIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 4 of 6: Basic Vimeo Integration) Successfully loaded tubepress_plugins_vimeo_impl_patterns_ioc_VimeoIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 5 of 6: EmbedPlus) Will attempt to load tubepress_plugins_embedplus_impl_patterns_ioc_EmbedPlusIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 5 of 6: EmbedPlus) Successfully loaded tubepress_plugins_embedplus_impl_patterns_ioc_EmbedPlusIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 6 of 6: JW Player) Will attempt to load tubepress_plugins_jwplayer_impl_patterns_ioc_JwPlayerIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 6 of 6: JW Player) Successfully loaded tubepress_plugins_jwplayer_impl_patterns_ioc_JwPlayerIocContainerExtension as an IoC container extension 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done registering plugin IoC container extensions. Now registering plugin IoC compiler passes. 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 1 of 6: TubePress Core) Will attempt to load tubepress_plugins_core_impl_patterns_ioc_CoreIocContainerCompilerPass as an IoC compiler pass 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 1 of 6: TubePress Core) Successfully loaded tubepress_plugins_core_impl_patterns_ioc_CoreIocContainerCompilerPass as an IoC compiler pass 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 2 of 6: Basic WordPress Integration) Did not register any IoC compiler passes 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 3 of 6: Basic YouTube Integration) Did not register any IoC compiler passes 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 4 of 6: Basic Vimeo Integration) Did not register any IoC compiler passes 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 5 of 6: EmbedPlus) Did not register any IoC compiler passes 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: (Plugin 6 of 6: JW Player) Did not register any IoC compiler passes 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done registering plugin IoC compiler passes. Now compiling IoC container. 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done compiling IoC container. Now loading plugins. 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Attempting to load plugin 1 of 6: TubePress Core 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done attempting to load plugin 1 of 6: TubePress Core 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Attempting to load plugin 2 of 6: Basic WordPress Integration 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done attempting to load plugin 2 of 6: Basic WordPress Integration 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Attempting to load plugin 3 of 6: Basic YouTube Integration 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done attempting to load plugin 3 of 6: Basic YouTube Integration 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Attempting to load plugin 4 of 6: Basic Vimeo Integration 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done attempting to load plugin 4 of 6: Basic Vimeo Integration 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Attempting to load plugin 5 of 6: EmbedPlus 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done attempting to load plugin 5 of 6: EmbedPlus 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Attempting to load plugin 6 of 6: JW Player 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Done attempting to load plugin 6 of 6: JW Player 

[2013-05-22 22:20:53] [DEBUG] TubePress Bootstrapper: Boot completed in 609.230995 milliseconds

 

Is this normal behavior ?

 

I forgot to add that I am using Wordpress last version (351), Tubrepress last version (301) on a MS IIS 7 web server (and not apache)



#3 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 22 May 2013 - 05:38 PM

Petrich,

 

Please see this page: http://tubepress.com...oss_Domain_Ajax

for information regarding your issue.

 

When using FireBug and clicking on any video you will see the following error:

"NetworkError: 500 Internal Server Error - http://static.keepintouchwithus.com/worldtour/wp-content/plugins/tubepress/src/main/php/scripts/ajaxEndpoint.php?action=playerHtml&tubepress_video=vQWyGNtu80o&embeddedHeight=350&embeddedWidth=425&playerLocation=normal&galleryId=1084711654"

See how it is looking at static.keepintouchwithus.com whereas the page it is being called from is at www.keepintouchwithus.com

 

If you follow the directions on the linked page, everything should work fine!

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#4 petrich

petrich

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 22 May 2013 - 07:45 PM

Hi Brandon,

 

Thanks for your help...

 

I was investigating the exact article you sent me and I think I configured correctly the 301 permanent redirection for static.keepintouchwithus.com to www.keepintouchwithus.com

 

But I am still facing an issue.

 

Don't know if I did that correctly because, instead of getting a 500 error I get a 301 moved permanently on the same above request...

 

What am I doing wrong here ?



#5 petrich

petrich

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 23 May 2013 - 09:38 AM

Hi there,

 

I finally choose to get rid of my static domain for the moment in order to troubleshoot his problem.

 

I am still facing Inernal 500 error but this time, it might be related to something else than cross domain stuff.

 

here is the Firebug Output:

 

"NetworkError: 500 Internal Server Error - http://xxx/wp-conten...leryId=29695141"
TypeError: P is null
0};return ac(am)},ah=function(am,al,ak){var an=E(ak);if(!an){return}R[an][F]=y},ae=function(am,al,ak){var an=E(ak);if(!an){return}R[an][F]=x;R[an][C]=al},K=function(al,ak,am){if(U(ak)){R[ak][C]=am}};V(r,ad);V(A,S);V(f,K);V(o,ah);V(b,ae);return{isAjaxPagination:G,isAutoNext:P,isCurrentlyPlayingVideo:F,isFluidThumbs:D,isRegistered:U,findGalleryContainingVideoDomId:E,getCurrentPageNumber:Y,getCurrentVideoId:M,getEmbeddedHeight:aj,getEmbeddedWidth:ai,getHttpMethod:af,getNvpMap:I,getPlayerLocationName:ab,getPlayerLocationProducesHtml:J,getPlayerLocationJsUrl:L,getSequence:T,getThumbAreaSelector:ag}}()),u=(function(){var C=function(D,E){w(r,[D,E])};return{register:C}}());(function(){var F=Math.floor,E=function(I){return p.getThumbAreaSelector(I)},D=function(I){return h(E(I))},C=function(L){var J=D(L),I=J.find("img:first"),K=120;if(I.length===0){I=J.find("div."+s+"_thumb:first > div."+s+"_embed");if(I.length===0){return K}}K=I.attr("width");if(K){return K}return I.width()},G=function(N){D(N).css({width:"100%"});var L=E(N),P=C(N),J=h(L),O=J.width(),K=F(O/P),M=F(O/K),I=h(L+" div."+s+"_thumb");J.css({width:"100%"});J.css({width:O});I.css({width:M})},H=function(J,I){if(p.isFluidThumbs(I)){G(I)}};l(t+" "+r,H)}());(function(){var E=function(G){return G[3]},C=function(H){var G=H.lastIndexOf("_");return H.substring(16,G)},D=function(){var G=h(this).attr("rel").split("_"),H=E(G),I=C(h(this).attr("id"));w(f,[H,I])},F=function(H,G){h("#"+s+"_gallery_"+G+" a[id^='"+s+"_']").click(D)};l(t+" "+r,F)}());(function(){var C=function(G,E){var F=p.getPlayerLocationJsUrl(E);q.loadJs(F)},D=function(K,O,L){var H=p.getPlayerLocationName(O),N=p.getEmbeddedHeight(O),G=p.getEmbeddedWidth(O),I=p.getNvpMap(O),M=function®{var P=m.Lang.JsonParser.parse(R.responseText),S=P.title,Q=P.html;w(i,[H,S,Q,N,G,L,O])},J={action:"playerHtml",tubepress_video:L},F=z.getBaseUrl()+"src/main/php/scripts/ajaxEndpoint.php",E;h.extend(J,I);w(c,[H,N,G,L,O]);if(p.getPlayerLocationProducesHtml(O)){E=p.getHttpMethod(O);m.Ajax.Executor.get(E,F,J,M,"json")}};l(r,C);l(f,D)}());(function(){var C=function(E,F){var G=E.data("page");w(A,[F,G])},D=function(F,E){var G=function(){C(h(this),E);if(p.isAjaxPagination(E)){F.preventDefault();return y}return x};h("#"+s+"_gallery_"+E+" div.pagination a").click(G)};l(t+" "+r,D)}());(function(){var C=function(H,G){var J=p.getSequence(G),F=p.getCurrentVideoId(G),E=h.inArray(F.toString(),J),I=J?J.length-1:E;if(E===-1||E===I){return}w(f,[G,J[E+1]])},D=function(H,G){var I=p.getSequence(G),F=p.getCurrentVideoId(G),E=h.inArray(F.toString(),I);if(E===-1||E===0){return}w(f,[G,I[E-1]])};l(n,C);l(j,D)}());(function(){var D=m.Logger,C=function(J,I,H,F,G){var E=p.findGalleryContainingVideoDomId(H);if(!E){return}if(p.isAutoNext(E)&&p.getSequence(E)){if(D.on()){D.log("Auto-starting next for gallery "+E)}B.publish(n,[E])}};B.subscribe(o,C)}());m.AsyncUtil.processQueueCalls("tubePressGalleryRegistrar",u);return{Registry:p}}(jQuery,window,TubePress));" class="errorSourceCode ">...ocationJsUrl:L,getSequence:T,getThumbAreaSelector:ag}}()),u=(function(){var C=fu...

 

Can' t figure out what is wrong



#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 23 May 2013 - 11:08 PM

Petrich,

 

I just took a look at your linked site (first post) and it appears that everything is working properly now.

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#7 petrich

petrich

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 24 May 2013 - 09:55 AM   Best Answer

Yep, but it's because I finally found the origin. 

 

It was actually due to a bug which is going to be included in next Tubepress release

 

http://community.tub...screen/?p=10154

 

At the moment, I am not using cookieless domain for plugins in my wordpress installation but I was doing so and stopped it to troubleshoot this.

 

Now I would like to go back to my cookieless domain for wordpress plugins and have Tubepress working correctly

 

That means I would face the cross domain problem.

 

i tried to make a 301 redirection specificly on the AjaxEnpoint.php file from static.mydomain.com/xxx/tubepress/... to www.mydomain.com/xxx/tubepress/... but that didn't work.

 

Do you know if I can do that ?



#8 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 24 May 2013 - 03:16 PM

petrich,

 

Because of the way the ajax works, you, unfortunately, will not be able to do that.

 

Sorry


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!