Jump to content
php.lv forumi

Youtube gdata video id problēma


ArnisR

Recommended Posts

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 by ArnisR
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...