We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760f521 commit 4f5e5e7Copy full SHA for 4f5e5e7
source-code/app/src/main/java/org/buildmlearn/toolkit/templates/VideoCollectionTemplate.java
@@ -154,7 +154,9 @@ public String getTitle() {
154
private String convertLink(String link) {
155
156
if (link.contains(YOUTUBE)) {
157
- if (!link.contains("www.")) {
+ if (link.contains("https://m." + YOUTUBE)) {
158
+ link = link.replace("https://m." + YOUTUBE, "https://www." + YOUTUBE);
159
+ } else if (!link.contains("www.")) {
160
link = "https://www." + link;
161
} else if (!(link.contains("http:") || link.contains("https:"))) {
162
link = "https://" + link;
0 commit comments