Onebox url 404

סיכום מבוסס בינה מלאכותית

truman reports that inserting a YouTube URL directly into a post results in a 404 error for the onebox URL. Lilly provides a similar YouTube link, and truman mentions an issue on their website. Lilly suggests trying safe mode, but truman confirms the issue persists. Lilly asks if other oneboxes are affected, and truman confirms that all links return 404 errors. Moin provides a Wikipedia link as an example. truman shares code snippets and output from the console, indicating that the oneboxer and preview functions work correctly. truman concludes that the issue might be related to a proxy problem.

/onebox?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DM0ZmR6UU_8k&refresh=true
https://www.youtube.com/watch?v=M0ZmR6UU_8k

When you directly insert a YouTube URL into a post, onebox url will return a 404 error.

באתר שלי, נראה שיש בעיה, אבל אני לא בטוח מה גורם לה.

האם ניסית מצב בטוח?

כן. אותה הבעיה עדיין קיימת.

האם זה רק יוטיוב? או ש-oneboxes אחרים נותנים שגיאת 404?

אחרים oneboxes? אתה יכול לתת לי כמה דוגמאות? תודה על התשובה שלך.

כל הקישורים מחזירים שגיאות 404.

not good code.

discourse(prod)> Oneboxer.onebox('https://www.youtube.com/watch?v=0506yDSgU7M')
=> "<div class=\"youtube-onebox lazy-video-container\" data-video-id=\"0506yDSgU7M\" data-video-title=\"Linux HATES Me – Daily Driver Challenge Pt.1\" data-video-start-time=\"\" data-provider-name=\"youtube\">\n  <a href=\"https://www.youtube.com/watch?v=0506yDSgU7M\" target=\"_blank\" class=\"video-thumbnail\" rel=\"nofollow ugc noopener\">\n    <img class=\"youtube-thumbnail\" src=\"https://img.youtube.com/vi/0506yDSgU7M/maxresdefault.jpg\" title=\"Linux HATES Me – Daily Driver Challenge Pt.1\">\n  </a>\n</div>\n"
discourse(prod)> Oneboxer.preview('https://www.youtube.com/watch?v=0506yDSgU7M')
=> "<img src=\"https://img.youtube.com/vi/0506yDSgU7M/hqdefault.jpg\" width=\"480\" height=\"360\" title=\"Linux HATES Me – Daily Driver Challenge Pt.1\">"

I really don’t know the reason anymore.

בעיית פרוקסי!