Skip to content

Commit 83f0c84

Browse files
committed
Trying to support video better
1 parent 8a467be commit 83f0c84

File tree

6 files changed

+17
-22
lines changed

6 files changed

+17
-22
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ios_app_id : 618783545
55

66
appstore_link : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
77
playstore_link : # Enter Google Play Store URL.
8-
presskit_download_link : # Enter a link to downloadable file or (e.g. public dropbox link to a .zip file). Or upload your press kit file to assets and set path accordingly (e.g. "assets/your_press_kit.zip").
8+
presskit_download_link : # Enter a link to downloadable file or (e.g. public Dropbox link to a .zip file). Or upload your press kit file to assets and set path accordingly (e.g. "assets/your_press_kit.zip").
99

1010
app_name : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
1111
app_price : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.

_includes/head.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
<meta name="viewport" content="width=device-width, initial-scale=1.0">
55
<base target="_blank">
66

7-
<title>{% if site.title %}{{ site.title }}{% else %}{{ site.app_name }}{% endif %}</title>
8-
<meta name="description" content="{{ site.description }}">
7+
<title>{{ site.app_name }}</title>
8+
<meta name="description" content="{{ site.app_description }}">
99

1010
<!-- Favicon -->
11-
{% if site.app.favicon %}
11+
{% if site.favicon %}
1212
<link rel="shortcut icon" href="{{ site.app_icon }}">
1313
{% endif %}
14-
<link rel="apple-touch-icon-precomposed" href="apple-icon-precomposed.png">
1514

1615
<!-- Smart App Banner -->
1716
{% if site.enable_smart_app_banner %}

_layouts/default.html

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,21 @@
1616
</clipPath>
1717
</svg>
1818

19-
<!--
20-
{% if site.app_video %}
19+
{% if site.app_video_mov or site.app_video_ogg %}
2120
<div class="videoContainer">
2221
<video autoplay="autoplay" controls="controls">
23-
<source src="{{ site.app_video }}" type="video/mp4">
24-
<source src="{{ site.app_video }}" type="video/mp4">
22+
<source src="{{ site.app_video_mov }}" type="video/mp4">
23+
<source src="{{ site.app_video_ogg }}" type="video/mp4">
2524
</video>
2625
</div>
27-
26+
2827
{% else %}
29-
<img class="iphoneScreen" src="{{ site.app_screenshot }}">
28+
{% for image in site.static_files %}
29+
{% if image.path contains 'assets/screenshot' %}
30+
<img class="iphoneScreen" src="{{ image.path }}" alt="">
31+
{% endif %}
32+
{% endfor %}
3033
{% endif %}
31-
-->
32-
33-
{% for image in site.static_files %}
34-
{% if image.path contains 'assets/screenshot' %}
35-
<img class="iphoneScreen" src="{{ image.path }}" alt="">
36-
{% endif %}
37-
{% endfor %}
3834

3935
</div>
4036
<div class="appInfo">

assets/screen.svg

Lines changed: 4 additions & 4 deletions
Loading

assets/screenshot/yourscreenshot.png

-28.7 KB
Loading

assets/yourscreenshot.png

-81.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)