-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL Error #434
Comments
Which version of the library are you using? |
After updating to the latest version, all problems have been solved. |
@ryanrward Can you give me the video URL of the video and also what version of the library are you using? |
I tried many videos with the same result. Right now the following video is there: I'm using XCDYouTubeKit (2.7.7) |
@ryanrward Please see my comment here: #406 (comment) |
Is this the correct info? string __NSCFString * @"var _yt_player={};(function(g){var window=this;var ba,da,la,ma,na,pa,oa,qa,ra,sa,ua,baa,caa,va,wa,daa,eaa,xa,ya,za,Aa,Ba,Ea,Ia,Ja,gaa,haa,Ta,Ua,iaa,jaa,ab,kaa,ib,jb,laa,pb,lb,maa,nb,naa,oaa,paa,ub,vb,Db,Eb,Gb,Jb,Mb,Nb,Pb,Tb,Vb,Wb,Zb,$b,fc,gc,ic,hc,kc,raa,lc,saa,taa,oc,pc,sc,tc,waa,vc,uc,Bc,Fc,Gc,Hc,zaa,Caa,Daa,Lc,Oc,Eaa,Faa,Nc,Qc,Iaa,Vc,Xc,Zc,bd,cd,dd,Laa,fd,gd,hd,id,Naa,jd,rd,ud,xd,Bd,Cd,Id,Jd,Md,Kd,Od,Pd,Vd,Saa,Yd,zd,de,be,ce,Qaa,ee,yd,Uaa,Vaa,me,he,qe,se,pe,te,ue,ve,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Me,Ne,Oe,Pe,Qe,Re,Se,Te,$e,We,af,Waa,bf,\ncf,df,ef,Xe,ff,hf,gf,kf,lf,jf,mf,nf,Xaa,tf,Zaa,wf,xf,yf,Af,Ef,$aa,Bf,Hf,Of,Nf,bba,Df,Tf,Uf,Vf,Wf,Yf,cba,Zf,$f,dba,eg,gg,hg,jg,kg,mg,ng,og,rg,sg,eba,ug,wg,yg,tg,vg,ig,pg,gba,Bg,zg,Ag,Dg,fba,Cg,Hg,Ig,hba,iba,jba,Jg,Lg,Ng,Og,Pg,Ug,Vg,Wg,Xg,Yg,Zg,ah,ch,dh,fh,mba,hh,ih,kh,lh,nba,rh,sh,th,uh,wh,xh,yh,Eh,Ih,Jh,Kh,Nh,Mh,Oh,Gh,oba,Uh,Vh,Wh,pba,qba,Xh,Yh,ai,ci,bi,di,ei,sba,uba,vba,xba,gi,hi,ii,ji,ni,oi,ri,pi,Aba,qi,si,ti,vi,ui,wi,xi,yi,Bba,zi,Di,Ei,Cba,Gi,Ii,Li,Mi,Ni,Oi,Pi,Dba," 0x000000012a272000 |
@ryanrward Yes. Did you get that and still had an error? |
@SoneeJohn yes, it's happening regardless of which video id place in there. Here's the code I"m using to implement the video: struct YouTubeVideoQuality {
|
@ryanrward. Thanks. Please see my updated comment at #406 (comment) |
Thank you. I set the breakpoint but didn't receive any error or String. |
@ryanrward Can you show me the entire console output you get what fetching that video? |
@ryanrward Thanks! I forgot to mention adding the |
@ryanrward Okay. Please use the demo app in the project (the Mac app) and try entering the video ID that is causing the error for you and see that your environment variables are like this: |
@SoneeJohn Did that. Is this more helpful? 2019-07-21 16:19:22.421701+0400 XCDYouTubeKit OS X Demo[22735:1518701] Starting video operation: <XCDYouTubeVideoOperation: 0x600003510dc0> GhzVZ2jaBN4 (en) |
Yes that’s more helpful can you paste this URL in Google Chrome and let me know if you can view it? |
hi @SoneeJohn. Yes, I can view it. |
@SoneeJohn so, should i ignore the error message in xocde? i am attempting to add custom player controls to the player, but i believe the error is affecting this. |
@SoneeJohn Thank you for your library. If I should comment at other place, please tell me. |
Hi there! |
Sometimes the url obtained from XCDYouTubekit will play correctly,
sometimes it will error, and it will happen in any video.
Domain=NSURLErrorDomain Code=-999 "cancelled" :
https://r2---sn-qpbpqvhju8-u2xe.googlevideo.com/videoplayback?expire=1557872045&ei=TenaXIyKFIyTgQPdiKOQBQ&ip=150.117.223.241&id=o-AJOm2c0LslNVLmAreDj4IsKUnitoL6XeZQHZBjqkJJlQ&itag=18&source=youtube&requiressl=yes&mm=31%2C29&mn=sn-qpbpqvhju8-u2xe%2Csn-un57sn7z&ms=au%2Crdu&mv=m&pl=23&gcr=tw&initcwndbps=1305000&mime=video%2Fmp4&gir=yes&clen=21052031&ratebypass=yes&dur=243.972&lmt=1557136161716157&mt=1557850357&fvip=2&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&lsparams=mm%2Cmn%2Cms%2Cmv%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhANbKiMmPX09KnSXMXfcDstzL3BBtZ98wbG60wAQy4bThAiACj4wBM_jiEZy7Xx8m8uq4rw33JkguXlO0sgh223DsUw%3D%3D&signature=ALgxI2wwRAIgf5IN_QfWSlM3EMI90f6WZhkB80A4Yoyqd4c1rL5maSMCIBQVd1cyxsgM62bIGhmGuhgLlcfusU9fAGLs-TllW6KE
Then I try again, although it is wrong, but it can be played
Domain=NSURLErrorDomain Code=-999 "cancelled"
https://r2---sn-un57sn7z.googlevideo.com/videoplayback?id=o-AJN0diMs6A3NptvhIlf1MzaJbRc-heRwtpdvLqhTJrxg&itag=18&source=youtube&requiressl=yes&pl=23&ei=UunaXNzfE5e8qAHXi5S4Cg&gcr=tw&mime=video%2Fmp4&gir=yes&clen=21052031&ratebypass=yes&dur=243.972&lmt=1557136161716157&fvip=2&c=WEB&txp=5531432&ip=150.117.223.241&ipbits=0&expire=1557872050&sparams=clen,dur,ei,expire,gcr,gir,id,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,requiressl,source&key=cms1&signature=410BEC642ACE13220F697423D84EF7DEE0F15F7C.68C8A740BEEF20BC047D3E04B835F334BCB4B062&redirect_counter=1&cm2rm=sn-qpbpqvhju8-u2xe7l&req_id=2dc155c2fbf4a9b1&cms_redirect=yes&mm=29&mn=sn-un57sn7z&ms=rdu&mt=1557850298&mv=m
The text was updated successfully, but these errors were encountered: