Video Embed issue #85

Closed
opened 2019-02-01 05:33:15 +00:00 by ghost1 · 3 comments
ghost1 commented 2019-02-01 05:33:15 +00:00 (Migrated from gitlab.com)

I found a bug- when one enters a youtube video, after accepting it it quickly flashes this warning before returning to the page

[Warning: file_get_contents(http://soundcloud.com/oembed?format=json&url=https%3A%2F%2Fyoutu.be%2Fa6BxZK6mNAQ): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /var/www/html/s1/inc/functions.php on line 594

Warning: file_get_contents(http://vimeo.com/api/oembed.json?url=https%3A%2F%2Fyoutu.be%2Fa6BxZK6mNAQ): failed to open stream: HTTP request failed! HTTP/1.]

It flashes it on the temporary page that is quickly displayed after one posts. I fixed the display of the error text by removing soundcloud and vimeo from the array in settings php. All the error text that shows up probably freaks out posters and they wonder what it says. Thanks

I found a bug- when one enters a youtube video, after accepting it it quickly flashes this warning before returning to the page [Warning: file_get_contents(http://soundcloud.com/oembed?format=json&url=https%3A%2F%2Fyoutu.be%2Fa6BxZK6mNAQ): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /var/www/html/s1/inc/functions.php on line 594 Warning: file_get_contents(http://vimeo.com/api/oembed.json?url=https%3A%2F%2Fyoutu.be%2Fa6BxZK6mNAQ): failed to open stream: HTTP request failed! HTTP/1.] It flashes it on the temporary page that is quickly displayed after one posts. I fixed the display of the error text by removing soundcloud and vimeo from the array in settings php. All the error text that shows up probably freaks out posters and they wonder what it says. Thanks
tslocum commented 2019-09-08 12:39:14 +00:00 (Migrated from gitlab.com)

closed via commit 3ee1805ae3

closed via commit 3ee1805ae390251222677be9eb98327244d36f0e
tslocum commented 2019-09-08 12:40:09 +00:00 (Migrated from gitlab.com)

Thanks, I believe this was caused by the oEmbed URLs defaulting to http:// rather than https://

Please let me know if you still encounter this after changing your embed URLs to https://

Thanks, I believe this was caused by the oEmbed URLs defaulting to http:// rather than https:// Please let me know if you still encounter this after changing your embed URLs to https://
tslocum commented 2019-09-08 12:53:26 +00:00 (Migrated from gitlab.com)
mentioned in commit SchwabischesBauernbrot/tinyib@3ee1805ae390251222677be9eb98327244d36f0e
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/tinyib#85
There is no content yet.