Skip to content

Commit

Permalink
fix default events template example
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Sep 29, 2020
1 parent 4726dcd commit 35d34cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ejs_templates/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Default EJS Template for Events Overlay

<% if (event) { %>
<% if (event.thumbnail) { %>
<% if (isVideo) { %>
<% if (event.isVideo) { %>
<video
src="<%= event.thumbnail %>"
autoPlay
loop
/>
></video>
<% } else { %>
<img src="<%= event.thumbnail %>" />
<% } %>
Expand Down

0 comments on commit 35d34cd

Please sign in to comment.