Skip to content

Change YouTube importer to post rich embed of youtube videos rather than

Ben requested to merge feat/youtube-rich-embeds-2197 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Changes YT importer feature so that it will now post new videos as rich embeds to a user's channel, rather than the previous functionality where it would pull and transcode videos from YouTube. The rationale behind this is that Google deprecated the endpoint we used which prevented the feature from working and also rate limits were quite excessive when it was functional.

Testing Considerations

Front-end

  1. Make a youtube channel for development
  2. Upload a small video - can be anything
  3. Connect your YT account following instructions at settings/other/youtube-migration - HOWEVER use the sandbox domain instead of minds.com in your bio.
  4. Test UI

Backend

Automatically

If you upload a video to the youtube channel, it should be posted to your channel after processing.

Manually

You can run this command video the CLI, inserting your own channel and video ID

php /var/www/Minds/engine/cli.php YouTubeImporter import --channel_id=121212 --video_id='404040'

After running the video should appear on your channel.

Regression Scope

Changes YouTube migrator feature which in currently turned off behind a feature flag.

Platform Affected (web, mobile, etc)

Front-end and engine runners.

Developer Testing Completed

Specs

Screenshots

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode
Edited by Ben

Merge request reports