User talk:Richardpruen: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:


*For example, a video from YouTube use the 'youtube' service selector enter either the raw ID: {{#ev:youtube|pSsYTj9kCHE}}
*For example, a video from YouTube use the 'youtube' service selector enter either the raw ID: {{#ev:youtube|pSsYTj9kCHE}}
*Or the full URL: {{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE}}
*Or the full URL: <nowiki>{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE}}</nowiki>


=Example #2=
=Example #2=


*To display the same video as a right aligned large thumbnail with a description:
*To display the same video as a right aligned large thumbnail with a description:
*{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|1000|right|Let eet GO|frame}}
*<nowiki>{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|1000|right|Let eet GO|frame}}</nowiki>
*For YouTube to have the video start at a specific time code utilize the urlargs(URL arguments) parameter. Take the rest of the *URL arguments from the custom URL and place them into the urlargs. Please note that not all video services support extra URL *arguments or may have different keys for their URL arguments.
*For YouTube to have the video start at a specific time code utilize the urlargs(URL arguments) parameter. Take the rest of the *URL arguments from the custom URL and place them into the urlargs. Please note that not all video services support extra URL *arguments or may have different keys for their URL arguments.
*https://www.youtube.com/watch?v=pSsYTj9kCHE&start=76
*<nowiki>https://www.youtube.com/watch?v=pSsYTj9kCHE&start=76</nowiki>


*{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|||||start=76}}
<nowiki>*{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|||||start=76}}</nowiki>


=Example #3=
=Example #3=


*Creating a video list for Youtube. This allows you to queue a set of video in a temporary playlist. Use the 'youtubevideolist` *service selector:
*Creating a video list for Youtube. This allows you to queue a set of video in a temporary playlist. Use the 'youtubevideolist` *service selector:
*{{#ev:youtubevideolist|-D--GWwca0g|||||playlist=afpRzcAAZVM,gMEHZPZTAVc,lom_plwy9iA,BSWYMQEQhEo,EREaWhXj4_Q}}
*<nowiki>{{#ev:youtubevideolist|-D--GWwca0g|||||playlist=afpRzcAAZVM,gMEHZPZTAVc,lom_plwy9iA,BSWYMQEQhEo,EREaWhXj4_Q}}</nowiki>

Revision as of 18:15, 9 December 2020

Talk about the site admin

Site notes

  • Fixed: Thumbnail generator did not support .jpg images it now does
  • Fixed: Webserver in paranoid mode disables unknown links
  • Fixed: Email, it comes from pruen.co.uk but im fed up of mail server configs
  • Fixed: Upload of eg PDF files
  • Fixed: Licence options for uploaded files
  • Fixed: Email goes out to users when pages are edited, you can turn it off in settings if it bothers you
  • Fixed: Upload file size set to 50 Megabytes
  • Fixed: Email verification of account creators turned on
  • Fixed: Capchas added
  • Added: Embed Video extension
  • Added: Realtime Blackhole lists for spam xbl.spamhaus.org, dnsbl.tornevall.org
  • Fixed: Fixed (disabled) the visual editor as it seems the errors were putting people off

test Area

Test of embed video

Examples of embed video

Example #1

  • For example, a video from YouTube use the 'youtube' service selector enter either the raw ID:
    • Or the full URL: {{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE}}

    Example #2

    • To display the same video as a right aligned large thumbnail with a description:
    • {{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|1000|right|Let eet GO|frame}}
    • For YouTube to have the video start at a specific time code utilize the urlargs(URL arguments) parameter. Take the rest of the *URL arguments from the custom URL and place them into the urlargs. Please note that not all video services support extra URL *arguments or may have different keys for their URL arguments.
    • https://www.youtube.com/watch?v=pSsYTj9kCHE&start=76

    *{{#ev:youtube|https://www.youtube.com/watch?v=pSsYTj9kCHE|||||start=76}}

    Example #3

    • Creating a video list for Youtube. This allows you to queue a set of video in a temporary playlist. Use the 'youtubevideolist` *service selector:
    • {{#ev:youtubevideolist|-D--GWwca0g|||||playlist=afpRzcAAZVM,gMEHZPZTAVc,lom_plwy9iA,BSWYMQEQhEo,EREaWhXj4_Q}}