Skip to content

Commit

Permalink
Remove use of ytkey (deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
remibetin committed Nov 18, 2024
1 parent a205dbe commit ee4b919
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 25 deletions.
2 changes: 0 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ kramwdown:
syntax_highlighter: rouge
highlighter: rouge

ytkey: AIzaSyCiZ9uToWu9jb7BTx47NtzCvmGGXKXp8nI

# remote_theme: w3c/wai-website-theme

collections:
Expand Down
7 changes: 0 additions & 7 deletions _includes/video-player-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<script src="{{ '/assets/ableplayer/build/ableplayer.min.js' | relative_url }}"></script>
<script>
var youTubeDataAPIKey = "{{ site.ytkey }}";
var googleApiReady = false;
function initGoogleClientApi() {
googleApiReady = true;
}
</script>
<script src="//apis.google.com/js/client.js?onload=initGoogleClientApi"></script>

<script>
Expand Down
8 changes: 0 additions & 8 deletions _includes/video-player.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<script src="{{ "/assets/ableplayer/build/ableplayer.min.js" | relative_url }}"></script>
<script>
var youTubeDataAPIKey = "{{site.ytkey}}";
var googleApiReady = false;
function initGoogleClientApi() {
googleApiReady = true;
}
</script>
<script src="//apis.google.com/js/client.js?onload=initGoogleClientApi"></script>

<script>
(function () {
Expand Down
8 changes: 0 additions & 8 deletions _includes/video-playlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,6 @@ <h2 id="transcript" tabindex="-1">Text Transcript with Descriptions of Visuals</
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<script src="{{ "/assets/ableplayer/build/ableplayer.min.js" | relative_url }}"></script>
<script>
var youTubeDataAPIKey = "{{site.ytkey}}";
var googleApiReady = false;
function initGoogleClientApi() {
googleApiReady = true;
}
</script>
<script src="//apis.google.com/js/client.js?onload=initGoogleClientApi"></script>

<script>
(function () {
Expand Down

0 comments on commit ee4b919

Please sign in to comment.