Skip to content

Commit

Permalink
fix: videos convert them all to use youtube
Browse files Browse the repository at this point in the history
  • Loading branch information
hmajid2301 committed Sep 30, 2024
1 parent c8a0c2f commit 041239f
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion content/talks/an-intro-to-pocketbase/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ShowWordCount: false
hideMeta: false
---

{{< invidious y5E1dox9ZEA >}}
{{< youtube y5E1dox9ZEA >}}

- [Abstract](https://www.meetup.com/londongophers/events/292486307/)
- [Related Code](https://gitlab.com/hmajid2301/talks/-/tree/main/an-intro-to-pocketbase)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ShowWordCount: false
hideMeta: false
---

{{< invidious JSSG4FqKaGI >}}
{{< youtube JSSG4FqKaGI >}}

- [Abstract](https://ep2022.europython.eu/session/my-journey-using-docker-as-a-development-tool)
- [Related Code](https://gitlab.com/hmajid2301/talks/-/tree/main/docker-as-a-dev-tool/example)
Expand Down
2 changes: 1 addition & 1 deletion content/talks/reproducible-envs-with-nix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ShowWordCount: false
hideMeta: false
---

{{< invidious HcNXlC1bjvI >}}
{{< youtube HcNXlC1bjvI >}}

- [Abstract](https://www.conf42.com/Golang_2024_Haseeb_Majid_using_nix_reproducible)
- [Example Project](https://gitlab.com/hmajid2301/optinix)
Expand Down
2 changes: 1 addition & 1 deletion content/videos/an-introduction-to-nix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ShowWordCount: false
hideMeta: false
---

{{< peertube vid.northbound.online vyNtGyt3zhiMgcYnqBkmF1 >}}
{{< youtube Api1yjIi4yw >}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions content/videos/banter-bus-dev-vlog-0/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Banter Bus: Dev Vlog 0"
canonicalURL: https://haseebmajid.dev/videos/banter-bus-dev-vlog-0/
date: 2024-10-02
cover:
image: images/cover.png
ShowToc: false
ShowReadingTime: false
ShowWordCount: false
hideMeta: false
---

{{< youtube vkacjBdFkyQ >}}
2 changes: 1 addition & 1 deletion content/videos/cli-tool-atuin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ShowWordCount: false
hideMeta: false
---

{{< peertube vid.northbound.online 2cm1MTtsMu43tUzBuBLT5o >}}
{{< youtube l0C0VxUeOaM >}}
2 changes: 1 addition & 1 deletion content/videos/cli-tool-zoxide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ShowWordCount: false
hideMeta: false
---

{{< peertube vid.northbound.online 2ewDEM6WRU5jpmhmf6osn1 >}}
{{< youtube 1g1DbFRLN1Y >}}
2 changes: 1 addition & 1 deletion content/videos/what-are-nix-flakes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ShowWordCount: false
hideMeta: false
---

{{< peertube vid.northbound.online 8yfPrPzBCTq35ty48Scfoj >}}
{{< youtube PikOKkkt42o >}}
2 changes: 1 addition & 1 deletion content/videos/what-is-nixos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ShowWordCount: false
hideMeta: false
---

{{< peertube vid.northbound.online bxVZGVm3BSaxUzRD43azjz >}}
{{< youtube T9ODcfmMbmI >}}
3 changes: 3 additions & 0 deletions layouts/shortcodes/youtube.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="embed-responsive embed-responsive-16by9">
<iframe src="https://www.youtube.com/embed/{{ .Get "id" }}?enablejsapi=1{{ with .Get "color" }}{{ if eq . "white" }}&color=white{{ end }}{{ end }}{{ with .Get "autoplay" }}{{ if eq . "true" }}&autoplay=1{{ end }}{{ end }}{{ if isset .Params "yt_start" }}&start={{ .Get "yt_start" }}{{ end }}{{ if isset .Params "yt_end" }}&end={{ .Get "yt_end" }}{{ end }}{{ with .Get "modestbranding" }}{{ if eq . "true" }}&modestbranding=1{{ end }}{{ end }}"{{ if .Get "class" }} class="{{ .Get "class" }}"{{ end }} allowfullscreen></iframe>
</div>

0 comments on commit 041239f

Please sign in to comment.