/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.
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.
Op mijn website lijkt er een probleem te zijn, maar ik weet niet zeker wat de oorzaak is.
Heb je de veilige modus geprobeerd?
Ja. Hetzelfde probleem blijft bestaan.
is het alleen youtube? of geven andere oneboxes de 404-fout?
andere oneboxes? kunt u mij enkele voorbeelden geven? bedankt voor uw reactie.
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.
proxy-probleem!