olieydt / freemytubesource

4 stars 1 forks source link

Videos appear for split second then it's just a white space #1

Open gkoogz opened 6 years ago

gkoogz commented 6 years ago

This extension almost works but it doesn't.

When I go to YouTube (no ad block and yes i signed in to your extension), the vids appear for a very split second then they disappear with a white space replacing them with the same dimensions.

If it helps you narrow it down, upon inspecting the elements all of the ID's and Classes end in "-loading" such as #subPanel-loading #thumbnail-items-loading .thumbnail-item-loading even after many minutes it's obviously not in a loading state.

EDIT: Yes my screencap has my adblock enabled but the issue persists either way.

screenshot 1

olieydt commented 6 years ago

By "white space replacing them with the same dimensions", you mean it looks like the screencap that you linked?

gkoogz commented 6 years ago

Yes

olieydt commented 6 years ago

Could you please upload a pic of the errors on the page (the red x in the top right of the browser)?

gkoogz commented 6 years ago

Not showing anything red this time, just yellow.

screenshot 2

olieydt commented 6 years ago

An update was released, can you visit the chrome store link in the readme to ensure it was updated on your browser, and try youtube.com again? Thank you for your help

gkoogz commented 6 years ago

Sure, I will keep helping as long as you need. It's a really important feature that you are implementing and I really support this project.

The 0.1.5 update makes the grey placeholders appear, but it doesn't display the vids yet.

EDIT: Yes I am updated to 0.1.5, yes I am logged in to the extension, yes I refreshed, yes adblockers are OFF.

screenshot 3

olieydt commented 6 years ago

Thank you we appreciate that a lot! The screen cap you sent displays the not logged in panel, that left once you signed in, correct?

gkoogz commented 6 years ago

Erm, no. That little message appears maybe 20% of the time when I refresh. Yes I have been signed in the whole time.

olieydt commented 6 years ago

We're having issues reproducing this behaviour, to ensure that everything is correct could you sign out and sign in again?

gkoogz commented 6 years ago

Yeah. It's absolutely consistent on my end but I understand your trouble reproducing. I can see the vids pop up for a split second, I'm serious. But then there is just white, like it goes transparent or there is a white overlay.

EDIT: Nevermind, it's just the lower videos appearing then getting shoved down. I am skeptical that the videos show up at all.

olieydt commented 6 years ago

Do you always get the My subscriptions panel with the grey loading placeholders, or does that also not load sometimes?

gkoogz commented 6 years ago

Grey placeholders currently appearing upon each refresh, but I remember a bit ago they weren't appearing.

olieydt commented 6 years ago

I've tested it on a machine running windows 7, windows 10 and mac os, and still cannot reproduce the behavior. Could you go to this page

screen shot 2018-06-28 at 1 57 29 pm

Select the background page link for the FreeMyTube extension (if the link isn't present, click on the developer mode toggle on the right of the browser) Visit youtube.com with the extension signed in. Are there any errors that show up on the background page once youtube is loaded? They would be at the top right of the background page, a red x.

screen shot 2018-06-28 at 1 59 41 pm

Thanks again for your help.

gkoogz commented 6 years ago

Yeah a few errors.

screenshot 5

olieydt commented 6 years ago

Thank you that helped a lot! Can you update the extension and let us know if it persists?

gkoogz commented 6 years ago

Ok here's an update with some new information that might help and will certainly add clarity to your efforts.

I signed in with an entirely seperate, unused old Google account and the addon is now working like a champ (see first screenshot). Looks good! First time I've seen it in action. This is exactly how youtube should work. This could be a big addon, so congrats and good work.

Let me explain my theory for the problem we have been facing. I have a second YouTube creator channel under my primary email (see screenshot 2). I nearly forgot about it since I don't use the other one. I am not sure how this affects the response of the API but it seems to clog up your program for some reason. I have tried every combination of logging into my primary and secondary youtube channel on the website/addon and none of them work.

Here is what the login flow looks like FYI (screenshot 3/4).

You might consider this use case since many people have this on their google account. otherwise I get if it just adds random chaos to your efforts and skipping it.

EDIT FOR CLARITY: my garret@khougaz.com channel is the unused address that works 100% with your addon, and the gkoogz@gmail.com address has the two channels underneath it.

screenshot 7 screenshot 8 screenshot 10 screenshot 11

olieydt commented 6 years ago

Thanks for the extra screen shots! I think we've narrowed down on the issue finally, we are able to reproduce your problem. We published an update once again. The multiple channels under the same account should be covered, but if the problem persists we will look into that branch.

gkoogz commented 6 years ago

Aww, still not quite working on my end. Here's the errors.

Screenshot one is the background page of the extension and screenshot two is the inspect pane on youtube.com.

screenshot 13 screenshot 15

olieydt commented 6 years ago

This appears to be a different bug from the last picture you sent, so we are moving forward! Could you please update and then copy the link in the background page error, i.e. the www.googleapis.com/ Thank you!

gkoogz commented 6 years ago

This is the error returned by the link:

{ "error": { "errors": [ { "domain": "youtube.parameter", "reason": "invalidFilters", "message": "The request specifies an invalid filter parameter.", "locationType": "parameter", "location": "" } ], "code": 400, "message": "The request specifies an invalid filter parameter." } }

Ok this is an absolute WALL of a URL, hopefully you can lift something from it..

https://www.googleapis.com/youtube/v3/videos?part=contentDetails%2Cstatistics%2CliveStreamingDetails&id=UU3Ht_TBbo,9g6Wl_E1FL8,GrCFqq8tE-M,LAqG0wcTfV4,uvwTBPrrZcI,ENgR3aw5Snk,t3it6WSL15A,9aHk8_F08NQ,LAqG0wcTfV4,uvwTBPrrZcI,ENgR3aw5Snk,t3it6WSL15A,9aHk8_F08NQ,R22pxBebWFA,Q7KoC6Ljb7w,HUnDQYGQA-g,NR-awvwIMls,cY-B3kkMa4A,-4OTgzb22OE,0iO26I34erc,lu6gCNTtx1s,CIuQ2iU_9oA,j2e4ex1BAEg,P-_zhCAv4aY,D3zzfdb0gZU,MYtbnTGVoQY,0il7xdpUPB8,6hoVDburJ-I,GdmZ_4SmDYQ,Q92ahC_rVd8,3Wj8E_-x470,oISID2CcJbc,3mLKq-ZIa8E,vpAiZBrzQdM,y_Vx3kt3NUw,UQaHNS7oCWY,NYRsJnViBgs,0pO7DWIfR6Y,4bLLqMtiLDY,3_lG_deQc7U,4uUgzDCtjq0,oEvK8C3Qymo,bM6qsIVG0Ic,JfsxLhPn-oA,gim3d1qlZog,XdkMrDmODtw,OgHct5RkRwE,j5s-s1oGzVM,-9vkQiVPPMs,i3p8cjTdVhk,us0-n6Rhifk,16PEYKcQb8E,S6Nc3KTr-Ws,jJJXcsXBx34,wNz4fOQb-mI,d1RLDVFUyMg,cZ-ETZEo6QQ,fBlR6_c7MKI,t8VMRA5-Ws0,Q-K8qVbcLHU,j4S1K1xKg5U,iQMjwj5-d_0,Afqr4sBOFCA,Ih6Z1O5qnCw,1CazEXejPCU,7SXmkk_yVMU,ebFfH7LoiwE,48qa3fZyFeg,rDsf0UDwr3g,Awv0Rs79Mvs,0-sZVJbUzqo,VnRduGRQ1fQ,PUJ1qMHol4I,URG8gRjCTBM,C-P3sbbCrE4,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6JaSzIjR_V8,PcSO58f4IUA,vHX4-UupTgg,LeGJLc4CnI8,5nIBdEEAxKM,xm4QuHR-QyU,LLPAPA8o8Zs,lQegMA_kY9Y,39D4ZfTKgk8,IywiodrtyfM,pTvwoS07nJY,oNWScLy3Dus,retQHh7dIpM,pXnjtdBU9pY,CT_al4KI-V0,uOfwFxG0yO8,DV1OqgHb3jc,VSSqKXiWsuQ,ctE0A0hsJtI,sPFuUuZQZFQ,VcxhUVS1lz4,ER3gB_m_XRg,fUfm3tGeKDg,RRP92DoAgF0,Wmn_J3Dxx7Y,6J11flZfjuY,V27zNaugIMs,wku5VD7thik,06xDq4nmg4c,43uOtpg5BTw,TjpwYpZa8n8,PMl4CMQuCSM,X4IlNB4sHJw,Bc2AUkj7pmc,2hS93cg_OWs,KTPesFa1xm8,vtuviMc_QD8,6jeNDYx_VKI,pHpN2-yHvPc,hlL-y-TZU7Q,VemxLz0nNfQ,vD5yqYze96o,e5BFR-E-ae0,Y-4ma6oV3Kk,vl12h83f6hk,c3-4JvGSsaA,Ds5qqWkC0_E,JGPgYVUseGE,8zV8L7AiIK8,Ps-OahAqtfg,osGL5egLlQs,YvVpkqJNAD8,FNNszpNbbVw,jts20kp_vhw,xi5DFdQnnfA,rGhuq40Ru4s,SW7nPgHu3Z8,JLMCL6qZPB0,iuLGa099UEg,6gXYMN8cFBI,29BgU8dTteQ,KkqpYWFFofg,9YtxLbpZPVc,5CrgqZ-K4hU,QWED5Aq_vWI,MIsyNIzN4oo,ms2OSnFfNM4,FWdDtab1F9Y,us5kOokn9FM,i0cfbPPr8ww,ZFi8p0-hpNY,I1yshawWXf8,Dxg-Xr2BPto,A8M5jVJtkA0,IqgpsH90YGQ,j4T-6bxVnHU,w08WYqsRKbU&fields=items(contentDetails%2Fduration%2CliveStreamingDetails%2FconcurrentViewers%2Cstatistics%2FviewCount)&key=AIzaSyA2IQkYCV_XgDNTTUWb0xJfLZJxHxqnZYU

And here is a screenshot:

screenshot 16

olieydt commented 6 years ago

Perfect, my requests were too large. I pushed an update.

gkoogz commented 6 years ago

I see the staggered pulls. Nice! I did that with my API pulls at my website https://mer.gd. But still no dice. :(

{ "error": { "errors": [ { "domain": "global", "reason": "authError", "message": "Invalid Credentials", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Invalid Credentials" } }

Here's a few error messages.

https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=UCZ5D9aOncV9SwojLbmd_SJg&order=date&maxResults=3&fields=items(id%2FvideoId%2Csnippet(channelTitle%2CliveBroadcastContent%2CpublishedAt%2Cthumbnails(default%2Chigh%2Cmedium)%2Ctitle))&key=AIzaSyA2IQkYCV_XgDNTTUWb0xJfLZJxHxqnZYU&access_token=ya29.GlzpBcxzUSRoKFA5GwayMzEcg7q1S6qa5AeprTK3kfgCj0LBAqGsHqzPVRVlNeUvfNH23bEwtky5bHNBpVBe6wE_9NMy0oCflFc3TfviS0J6wilEh3E5sfAupQcYHg

https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=UCaut53cnrdipyo47R-a3tEw&order=date&maxResults=3&fields=items(id%2FvideoId%2Csnippet(channelTitle%2CliveBroadcastContent%2CpublishedAt%2Cthumbnails(default%2Chigh%2Cmedium)%2Ctitle))&key=AIzaSyA2IQkYCV_XgDNTTUWb0xJfLZJxHxqnZYU&access_token=ya29.GlzpBcxzUSRoKFA5GwayMzEcg7q1S6qa5AeprTK3kfgCj0LBAqGsHqzPVRVlNeUvfNH23bEwtky5bHNBpVBe6wE_9NMy0oCflFc3TfviS0J6wilEh3E5sfAupQcYHg

screenshot 17

olieydt commented 6 years ago

Nice job with mer.gd! must have been a lot of work to integrate all of the APIs. Can you try logout and back in of the extension?