Skip to content

Commit

Permalink
replace gif file
Browse files Browse the repository at this point in the history
  • Loading branch information
BoAi01 committed May 7, 2024
1 parent 7b9aa80 commit 186edfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ keywords: robotics, machine learning, AI # add your own keywords or leave empty
lang: en # the language of your site (for example: en, fr, cn, ru, etc.)
icon: ucsd-logo.png # the emoji used as the favicon (alternatively, provide image name in /assets/img/)

url: https://albertboai.com/ # the base hostname & protocol for your site
url: https://albertboai.com # the base hostname & protocol for your site
baseurl: /al-folio # the subpath of your site, e.g. /blog/. Leave blank for root
last_updated: false # set to true if you want to display last updated in the footer
impressum_path: # set to path to include impressum link in the footer, use the same path as permalink in a page, helps to conform with EU GDPR
Expand Down
7 changes: 4 additions & 3 deletions _layouts/bib.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
{% else %}
{% assign entry_path = entry.preview | prepend: '/assets/img/publication_preview/' %}
{% if entry.preview contains '.mp4' %}
<video controls muted loop class="preview z-depth-1 rounded" width="200px">
<source src="{{ entry.preview }}" type="video/mp4">
{% comment %} TODO: fix this. It doesn't really work{% endcomment %}
<video controls muted loop class="preview z-depth-1 rounded" width="200px">
<source src="{{ entry_path }}" type="video/mp4">
Your browser does not support the video tag.
</video>
</video>
{% else %}
{% assign entry_path = entry.preview | prepend: '/assets/img/publication_preview/' %}
{%
Expand Down

0 comments on commit 186edfb

Please sign in to comment.