Hello !
Im using the Ceevee skeleton and I’d like to replace all the photo in the portfolio part with YouTube video. I clearly cant do it with some help and I tried with multiples plugin but nothing work…
Thank for your help
Hello !
Im using the Ceevee skeleton and I’d like to replace all the photo in the portfolio part with YouTube video. I clearly cant do it with some help and I tried with multiples plugin but nothing work…
Thank for your help
@saku, Have had a look at CeeVee skeleton and created a simple example for showing videos. The look and feel might not be what you want, but at least it shows videos…
Here are the steps needed:
$ bin/gpm install devtools
$ bin/plugin devtools newtheme
pages:
theme: mytheme
{# <a href="#modal-{{ loop.index }}" title="">
...
</a> #}
{# {% for item in page.header.portfolio %}
...
{% endfor %} #}
<video controls="" width="250">
<source src="{{ page.media[item.video].url}}" type="video/webm">
Sorry, your browser doesn't support embedded videos.
</video>
Note: type="video/webm"
must match the extension of your videosportfolio:
- video: flower.webm