Verified Commit 05838794 authored by Geoff Pado's avatar Geoff Pado
Browse files

Refactor replay include to support empty video IDs

parent ba2511dd
{% if include.video %}
Watch this session <a href="https://youtu.be/{{include.video}}">on YouTube</a>: Watch this session <a href="https://youtu.be/{{include.video}}">on YouTube</a>:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{include.video}}" frameborder="0" allow="autoplay; encrypted-media; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{include.video}}" frameborder="0" allow="autoplay; encrypted-media; picture-in-picture" allowfullscreen></iframe>
\ No newline at end of file {% else %}
Coming soon.
{% endif %}
\ No newline at end of file
...@@ -45,4 +45,4 @@ Two of the tickets I took on during this session had to do with different photo ...@@ -45,4 +45,4 @@ Two of the tickets I took on during this session had to do with different photo
## Replay ## Replay
Coming soon. {% include replay.html %}
...@@ -50,4 +50,4 @@ The [third ticket](https://git.pado.name/highlighter/app/issues/22) was more str ...@@ -50,4 +50,4 @@ The [third ticket](https://git.pado.name/highlighter/app/issues/22) was more str
## Replay ## Replay
Coming soon. {% include replay.html %}
...@@ -43,4 +43,4 @@ That's the way developing apps is sometimes: bang your head against a seemingly- ...@@ -43,4 +43,4 @@ That's the way developing apps is sometimes: bang your head against a seemingly-
## Replay ## Replay
Coming soon. {% include replay.html %}
...@@ -39,4 +39,4 @@ None. ...@@ -39,4 +39,4 @@ None.
## Replay ## Replay
Coming soon. {% include replay.html %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment