sufi

lala
from Andy B https://www.xf2addons.com/ $35 gets you his whole bundle, maybe other useful goodies there
but it won't stop the linkrot
we need to get the title of the videos listed in text in posts.
i asked chatgpt:

To scrape metadata from YouTube using PHP, you can use the YouTube Data API provided by Google. Here's a basic script to retrieve metadata (title, description, and thumbnail) for a YouTube video:

php

Code:
<?php

// Replace with your own API key
$api_key = 'YOUR_API_KEY';

// Replace with the video ID you want to retrieve metadata for
$video_id = 'VIDEO_ID';

// Build the API URL
$url = 'https://www.googleapis.com/youtube/v3/videos?id=' . $video_id . '&key=' . $api_key . '&part=snippet';

// Make a GET request to the API and parse the response
$response = file_get_contents($url);
$json = json_decode($response, true);

// Extract the metadata
$title = $json['items'][0]['snippet']['title'];
$description = $json['items'][0]['snippet']['description'];
$thumbnail = $json['items'][0]['snippet']['thumbnails']['medium']['url'];

// Output the metadata
echo 'Title: ' . $title . '<br>';
echo 'Description: ' . $description . '<br>';
echo 'Thumbnail: <img src="' . $thumbnail . '">';

?>

Note that you need to obtain an API key from the Google Cloud Console and enable the YouTube Data API for your project. Also, this script only retrieves metadata for one video at a time. If you want to scrape metadata for multiple videos, you need to use the API's search or playlist endpoints and loop through the results.
so we'd just need to somehow convert that to a plugin for this type of forum and bob's your uncle, maybe i'll ask ANdy B
 

sufi

lala
but it won't stop the linkrot
we need to get the title of the videos listed in text in posts.
i asked chatgpt:


so we'd just need to somehow convert that to a plugin for this type of forum and bob's your uncle, maybe i'll ask ANdy B
Andy seems a nice guy!
he helped out with something i was stuck on a couple of years ago iirc

sorry to derail

he reckons that it would not be worth coding the yt titles into the forum database - so the title would stay after the video was deleted :(
 

Mr. Tea

Let's Talk About Ceps
You could see this in action when some people worried about fascists enjoying The Northman unless the film made a point of explicitly telling them it's bad to behave like a viking warrior.
Reminds of what Padraid said to Zhao years ago:

I stick by all of what i said two years ago. it's only a propagandist film to those for whom every film on the war must be, ironically, a piece of propaganda that adheres to their POV. if this was 1986 you'd be saying Platoon subtly furthered the cause of U.S. imperialism by failing to have someone stand on a table + shout "VIETNAM WAR BAD" for two straight hours.
 
Top