Improve Twitter config help

pull/612/head
Chocobozzz 2018-05-31 11:04:34 +02:00
parent 8e53163fbd
commit 351d5225d6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 4 additions and 4 deletions

View File

@ -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>
<input
type="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>

View File

@ -105,7 +105,7 @@ instance:
services:
# Cards configuration to format video in Twitter
twitter:
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 whitelisted

View File

@ -119,7 +119,7 @@ instance:
services:
# Cards configuration to format video in Twitter
twitter:
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