Don't use embed video on community page #5159
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before this PR:
![image](https://private-user-images.githubusercontent.com/78101139/406793584-31b0b536-6495-441a-80ad-4fe1a5e61d2f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODA3MjIsIm5iZiI6MTczOTI4MDQyMiwicGF0aCI6Ii83ODEwMTEzOS80MDY3OTM1ODQtMzFiMGI1MzYtNjQ5NS00NDFhLTgwYWQtNGZlMWE1ZTYxZDJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEzMjcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3NWE0ZWYxNzc1YWIxMWM5MmUxYzY3ZTgwZTY4MzZhN2U5NmUyMDYzNWRlZTA3YjkxZTI3MWJmNDE5ZTA2MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yD6_asiX56a7QKVcvqYeB8qJ8meH1QUrPXKfPU32_4A)
video attachments for community posts would load an embedded video page (fetching video data, streaming links, etc.) and allowed playing the video within the community page. I imagine this could cause some rate limit issues (especially if there's multiple videos on the community page being loaded)
After this PR:
![image](https://private-user-images.githubusercontent.com/78101139/406795326-c9dd0d81-1d91-47b9-bb65-ae7a3e6a3f06.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODA3MjIsIm5iZiI6MTczOTI4MDQyMiwicGF0aCI6Ii83ODEwMTEzOS80MDY3OTUzMjYtYzlkZDBkODEtMWQ5MS00N2I5LWJiNjUtYWU3YTNlNmEzZjA2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEzMjcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRkOWIxYjIxMzM5ZWZjMDBlMjNjODExMzY1ZTUxZGYyMGMyYThmNWE0NTZhNDEyYzI5Mjc1YzczMDc4YTQ4ZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.96WxQxeB9pMpP8xm_2aW2T9Rdwpijrufj8vRKtD_-gw)
Thumbnail and some video data is shown as a link to the video page. Channel is also shown since I believe it's possible for channels to attach a video from channels that aren't there own.