From ee54267cb0da13ba184576764aede48d5ac228c7 Mon Sep 17 00:00:00 2001 From: Christopher Af Bjur Date: Tue, 3 Mar 2020 16:40:37 +0100 Subject: [PATCH 1/5] Updated XCDYouTubeKit version --- plugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 93f21b2..473e721 100755 --- a/plugin.xml +++ b/plugin.xml @@ -57,7 +57,7 @@ - + From 6c6d024ab2eec7605ce917d4dea8f39b563d8c45 Mon Sep 17 00:00:00 2001 From: Christopher Af Bjur Date: Tue, 3 Mar 2020 17:08:47 +0100 Subject: [PATCH 2/5] Update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2bdb51d..bf7e38c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-youtube-video-player", - "version": "2.4.0", + "version": "2.4.1", "description": "**Play Youtube Videos in a native Video Player on Android & iOS.**", "main": "index.js", "scripts": { From 5910f1b026b6c0b379009c0f257a179c31c1f144 Mon Sep 17 00:00:00 2001 From: Christopher Af Bjur Date: Mon, 9 Nov 2020 13:53:53 +0100 Subject: [PATCH 3/5] Replaced youtube url with youtube-nocookie --- .../src/com/bunkerpalace/cordova/YoutubeVideoPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/android/src/com/bunkerpalace/cordova/YoutubeVideoPlayer.java b/platforms/android/src/com/bunkerpalace/cordova/YoutubeVideoPlayer.java index de5a1d0..ec8688f 100644 --- a/platforms/android/src/com/bunkerpalace/cordova/YoutubeVideoPlayer.java +++ b/platforms/android/src/com/bunkerpalace/cordova/YoutubeVideoPlayer.java @@ -57,7 +57,7 @@ private Intent createYoutubeIntent(String videoId) { if(YouTubeIntents.canResolvePlayVideoIntentWithOptions(cordovaContext)){ intent = YouTubeIntents.createPlayVideoIntentWithOptions(cordovaContext, videoId, true, true); } else { - intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=" + videoId), cordovaContext, YouTubeActivity.class); + intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.youtube-nocookie.com/embed/" + videoId), cordovaContext, YouTubeActivity.class); intent.putExtra("videoId", videoId); ConfigXmlParser parser = new ConfigXmlParser(); parser.parse(cordovaContext); From 0a91e0f60dda605e4f9c05d18d24e652fc567383 Mon Sep 17 00:00:00 2001 From: Christopher Af Bjur Date: Mon, 14 Jun 2021 13:00:52 +0200 Subject: [PATCH 4/5] Update XCDYoutubeKit 2.12 -> 2.15.2 --- package.json | 2 +- plugin.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bf7e38c..f89a208 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-youtube-video-player", - "version": "2.4.1", + "version": "2.4.2", "description": "**Play Youtube Videos in a native Video Player on Android & iOS.**", "main": "index.js", "scripts": { diff --git a/plugin.xml b/plugin.xml index 473e721..ffddcc0 100755 --- a/plugin.xml +++ b/plugin.xml @@ -57,7 +57,7 @@ - + From 36369af48d5aca135c5f228fe6f71008438a0ecd Mon Sep 17 00:00:00 2001 From: Christopher Af Bjur Date: Mon, 14 Jun 2021 14:14:34 +0200 Subject: [PATCH 5/5] Correction, version bump of plugins.xml aswell --- plugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index ffddcc0..d0e6461 100755 --- a/plugin.xml +++ b/plugin.xml @@ -1,6 +1,6 @@ - + CordovaYoutubeVideoPlayer