Browse Source

vié privée, passer les embeds youtube en mode nocookie par défaut

report de 790254d9dc
master
brunob 3 weeks ago
parent
commit
f4c9561319
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      stubs.php

+ 4
- 4
stubs.php View File

@ -42,17 +42,17 @@ $AutoEmbed_stubs = array(
'embed-width' => '480',
'embed-height' => '270',
'image-src' => 'https://img.youtube.com/vi/$3/0.jpg',
'iframe-player' => 'https://www.youtube.com/embed/videoseries?list=$2&autoplay=1',
'iframe-player' => 'https://www.youtube-nocookie.com/embed/videoseries?list=$2&autoplay=1',
),
array(
'title' => 'YouTube',
'website' => 'https://www.youtube.com',
'url-match' => 'http://(?:video\.google\.(?:com|com\.au|co\.uk|de|es|fr|it|nl|pl|ca|cn)/(?:[^"]*?))?(?:(?:www|au|br|ca|es|fr|de|hk|ie|in|il|it|jp|kr|mx|nl|nz|pl|ru|tw|uk)\.)?youtube\.com(?:[^"]*?)?(?:&|&|/|\?|;|\%3F|\%2F)(?:video_id=|v(?:/|=|\%3D|\%2F))([0-9a-z-_]{11})',
'embed-src' => 'https://www.youtube.com/v/$2&rel=0&fs=1&hd=1',
'embed-src' => 'https://www.youtube-nocookie.com/v/$2&rel=0&fs=1&hd=1',
'embed-width' => '480',
'embed-height' => '270',
'image-src' => 'https://img.youtube.com/vi/$2/0.jpg',
'iframe-player' => 'https://www.youtube.com/embed/$2?autoplay=1',
'iframe-player' => 'https://www.youtube-nocookie.com/embed/$2?autoplay=1',
),
array(
'title' => 'YouTube',
@ -62,7 +62,7 @@ $AutoEmbed_stubs = array(
'embed-width' => '480',
'embed-height' => '270',
'image-src' => 'http://img.youtube.com/vi/$2/0.jpg',
'iframe-player' => 'https://www.youtube.com/embed/$2?autoplay=1',
'iframe-player' => 'https://www.youtube-nocookie.com/embed/$2?autoplay=1',
),
array(
'title' => 'Dailymotion',


Loading…
Cancel
Save