Skip to content

Commit

Permalink
Merge pull request #363 from bsinno/feature/360_embedVideo
Browse files Browse the repository at this point in the history
Included Vorto introduction video in website homepage. Fixes #360.
  • Loading branch information
aedelmann authored Jul 25, 2016
2 parents 54a15d2 + b7a457e commit dc14b5e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
5 changes: 1 addition & 4 deletions website/Avorto.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ title : "What is Vorto"
series : "homepagetop"
sequence: "1"
order : "1"
imagename : "WhatIsVorto.jpg"
videourl: "https://youtu.be/PKwoMmxZdPU&width=1500&height=1000"
videotitle : "Introduction to Vorto"
animatestyle: "slideInRight"
style: "thumb5"
fadeduration: "4"
playvideo: "yes"
---

<b>Vorto</b> is an open source tool that allows to create and manage technology agnostic, abstract device descriptions, so called information models. Information models <b>describe</b> the attributes and the capabilities of real world devices. These information models can be managed and <b>shared</b> within the Vorto Information Model Repository. Code Generators for Information Models let you <b>integrate</b> devices into different platforms.
3 changes: 2 additions & 1 deletion website/Cshare.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ videourl: "https://youtu.be/sFyGF7n_gbE&width=1500&height=1000"
videotitle : "Share and Reuse Information model"
animatestyle: "slideInRight"
style: "thumb5"
playvideo: "no"
---

{% include base.html %}
Expand All @@ -18,4 +19,4 @@ With the Information Model Repository, **Platform vendors** are able to manage,

<a href="http://vorto.eclipse.org/repo" target="_blank">Information Model Repository</a>

<a href ="{{base}}/documentation/vorto-repository/web-interface/share-web.html"> Find out more on how to Share Information Models
<a href ="{{base}}/documentation/vorto-repository/web-interface/share-web.html"> Find out more on how to Share Information Models
19 changes: 14 additions & 5 deletions website/_includes/homepagetop.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@
{% capture thecycle %}{% cycle 'odd', 'even' %}{% endcapture %}
<div class="box">
{% if thecycle == 'odd' %}
<img class="box-img img-responsive pull-right wow {{ main.animatestyle}} zoom1" src="{{ base }}/img/{{ main.imagename}}">
{% if main.playvideo == 'yes' %}
<video class="box-img img-responsive pull-right wow {{ main.animatestyle}}" width="500" height="500" controls autoplay><source src="{{base}}/video/vortointro.webm" type="video/webm"></video>
{% endif %}
{% if main.playvideo == 'no' %}
<img class="box-img img-responsive pull-right wow {{ main.animatestyle}} zoom1" src="{{ base }}/img/{{ main.imagename}}">
{% endif %}

{% if main.videourl %}
<div class="{{ main.style }}">
<a title="{{main.videotitle}}" data-rel="prettyPhoto" href="{{main.videourl}}" rel="prettyPhoto" >
<a title="{{main.videotitle}}" data-rel="prettyPhoto" href="{{main.videourl}}" rel="prettyPhoto" >
<i class="fa fa-play-circle fa-5 play-icon"></i>
</a>
</a>
<!-- {% if main.playvideo== 'yes' %}
<video width="500" height="500" controls autoplay><source src="{{base}}/video/mov_bbb.mp4" type="video/mp4"></video>
{% endif %} -->
</div>

{% endif %}

{% else %}
Expand All @@ -29,7 +38,7 @@
{% else %}
<div class="wow {{ main.fadestyle}}">

{% endif %}
{% endif %}
<h2 class="box-headline" id="header{{main.sequence}}">{{ main.title}}</h2>
<p>{{ main.content }}</p>
</div>
Expand Down
Binary file added website/video/vortointro.webm
Binary file not shown.

0 comments on commit dc14b5e

Please sign in to comment.