ArnisR Posted December 28, 2011 Report Share Posted December 28, 2011 (edited) Tātad, no šejienes var iegūt visu info par Youtube video, norādot tā ID kā GET mainīgo: http://gdata.youtube...?v=2&alt=jsoncq=VIDEO_ID Problēma rodas ievietojot video ID, kurš sākas ar domuzīmi "-": http://gdata.youtube...?v=2&alt=jsoncq=-yg3dLEDWqs Taču ja nodzēš "-", tad parādās attiecīgā informācija, toties atverot šo pašu video youtubē bez smbola "-", rāda kļūdu! Kāpec tā notiek un kā apiet šo problēmu? Paldies! Edited December 28, 2011 by ArnisR Quote Link to comment Share on other sites More sharing options...
briedis Posted December 28, 2011 Report Share Posted December 28, 2011 urlencode() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.