-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13ee45e
commit f97053d
Showing
121 changed files
with
16,673 additions
and
5,075 deletions.
There are no files selected for viewing
4,456 changes: 3,237 additions & 1,219 deletions
4,456
Sources/ContentScopeScripts/dist/pages/duckplayer/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
693 changes: 693 additions & 0 deletions
693
Sources/ContentScopeScripts/dist/pages/duckplayer/js/index.css
Large diffs are not rendered by default.
Oops, something went wrong.
3,387 changes: 2,498 additions & 889 deletions
3,387
Sources/ContentScopeScripts/dist/pages/duckplayer/js/index.js
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
Sources/ContentScopeScripts/dist/pages/duckplayer/js/inline.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"use strict"; | ||
(() => { | ||
// pages/duckplayer/src/js/inline.js | ||
var param = new URLSearchParams(window.location.search).get("platform"); | ||
if (isAllowed(param)) { | ||
document.documentElement.dataset.platform = String(param); | ||
} else { | ||
document.documentElement.dataset.platform = "apple"; | ||
} | ||
function isAllowed(input) { | ||
const allowed = ["windows", "apple", "integration"]; | ||
return allowed.includes(input); | ||
} | ||
})(); |
Binary file added
BIN
+7.52 KB
Sources/ContentScopeScripts/dist/pages/duckplayer/js/mobile-bg-GCRU67TC.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.58 KB
Sources/ContentScopeScripts/dist/pages/duckplayer/js/player-bg-F7QLKTXS.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
Sources/ContentScopeScripts/dist/pages/duckplayer/locales/en/duckplayer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"smartling": { | ||
"string_format": "icu", | ||
"translate_paths": [ | ||
{ | ||
"path": "*/title", | ||
"key": "{*}/title", | ||
"instruction": "*/note" | ||
} | ||
] | ||
}, | ||
"alwaysWatchHere": { | ||
"title": "Always open YouTube videos here", | ||
"note": "label text for a checkbox that enables this feature for all videos, not just the current one" | ||
}, | ||
"keepEnabled": { | ||
"title": "Keep Duck Player turned on", | ||
"note": "label text for a checkbox that enables this feature for all videos, not just the current one" | ||
}, | ||
"openInfoButton": { | ||
"title": "Open Info", | ||
"note": "aria label text on a button, to indicate there's more information to be shown if clicked" | ||
}, | ||
"openSettingsButton": { | ||
"title": "Open Settings", | ||
"note": "aria label text on a button, opens a screen where the user can change settings" | ||
}, | ||
"watchOnYoutube": { | ||
"title": "Watch on YouTube", | ||
"note": "text on a link that takes the user from the current page back onto YouTube.com" | ||
}, | ||
"invalidIdError": { | ||
"title": "<b>ERROR:</b> Invalid video id", | ||
"note": "Shown when the page URL doesn't match a known video ID. Note for translators: The <b> tag makes the word 'ERROR:' bold. Depending on the grammar of the target language, you might need to move it so that the correct word is emphasized." | ||
} | ||
} |
52 changes: 28 additions & 24 deletions
52
Sources/ContentScopeScripts/dist/pages/onboarding/js/index.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.