ActivityPub-federated video streaming platform using P2P directly in your web browser
Improve Twitter config help
Chocobozzz351d5225d6a4
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.htmlindex 252d43c8f8..8a1e33c566 100644--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html@@ -136,7 +136,7 @@<div class="form-group"><label for="signupLimit">Your Twitter username</label>- <my-help helpType="custom" customHtml="The Twitter @username the cards (created by PeerTube video shares) should be attributed to."></my-help>+ <my-help helpType="custom" customHtml="Indicates the Twitter account for the website or platform on which the content was published."></my-help><inputtype="text" id="servicesTwitterUsername"formControlName="servicesTwitterUsername" [ngClass]="{ 'input-error': formErrors['servicesTwitterUsername'] }"@@ -153,7 +153,7 @@<label for="servicesTwitterWhitelisted">Instance whitelisted by Twitter</label><my-help helpType="custom" customHtml="If your instance is whitelisted by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.<br />If the instance is not whitelisted, we use an image link card that will redirect on your PeerTube instance.<br /><br />-Check this checkbox, save the configuration and test on <a target='_blank' rel='noopener noreferrer' href='https://cards-dev.twitter.com/validator'>https://cards-dev.twitter.com/validator</a> to see if you instance is whitelisted."></my-help>+Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on <a target='_blank' rel='noopener noreferrer' href='https://cards-dev.twitter.com/validator'>https://cards-dev.twitter.com/validator</a> to see if you instance is whitelisted."></my-help></div></tab>diff --git a/config/default.yaml b/config/default.yamlindex b5ad0a8f2a..5868ba0025 100644--- a/config/default.yaml+++ b/config/default.yaml@@ -105,7 +105,7 @@ instance:services:# Cards configuration to format video in Twittertwitter:- username: '@Chocobozzz' # The Twitter @username the card should be attributed to+ username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published# If true, a video player will be embedded in the Twitter feed on PeerTube video share# If false, we use an image link card that will redirect on your PeerTube instance# Change it to "true", and then test on https://cards-dev.twitter.com/validator to see if you are whitelisteddiff --git a/config/production.yaml.example b/config/production.yaml.exampleindex a11f0a1d6f..8012134cc0 100644--- a/config/production.yaml.example+++ b/config/production.yaml.example@@ -119,7 +119,7 @@ instance:services:# Cards configuration to format video in Twittertwitter:- username: '@Chocobozzz' # The Twitter @username the card should be attributed to+ username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published# If true, a video player will be embedded in the Twitter feed on PeerTube video share# If false, we use an image link card that will redirect on your PeerTube instance# Test on https://cards-dev.twitter.com/validator to see if you are whitelisted