Skip to content

Commit 135e822

Browse files
committed
Use youtube-nocookie.com for YouTube previews
1 parent d2fca32 commit 135e822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/thunderdog/challegram/data/EmbeddedService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private static String buildYouTubeEmbedUrl (Uri uri, String videoId, boolean all
177177
String time = uri.getQueryParameter("t");
178178
Uri.Builder b = new Uri.Builder()
179179
.scheme("https")
180-
.authority("www.youtube.com")
180+
.authority("www.youtube-nocookie.com")
181181
.path("embed/" + videoId);
182182
if (allowAutoplay) {
183183
b.appendQueryParameter("autoplay", "1");

0 commit comments

Comments
 (0)