noscheme on all URL
This commit is contained in:
parent
4a2a795131
commit
7eef219128
8 changed files with 184 additions and 23 deletions
|
@ -17,6 +17,6 @@
|
|||
·
|
||||
</div>
|
||||
</footer>
|
||||
<script src="{base_url}/dist/main.js"></script>
|
||||
<script src="{base_url|noscheme}/dist/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,26 +4,21 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name=viewport content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
|
||||
<link rel="stylesheet" href="{base_url}/dist/main.css" />
|
||||
<link rel="stylesheet" href="{base_url|noscheme}/dist/main.css" />
|
||||
<link rel="author" href="https://plus.google.com/110403274854419000481?rel=author" />
|
||||
<link rel="author" href="https://plus.google.com/103696815796116179392?rel=author" />
|
||||
<link href="https://plus.google.com/108799967445657477255" rel="publisher" />
|
||||
<title itemprop="name">AllTube Download</title>
|
||||
<meta itemprop="url" content="{base_url}" />
|
||||
{if isset($smarty.server.HTTPS)}
|
||||
{$scheme = "https://"}
|
||||
{else}
|
||||
{$scheme = "http://"}
|
||||
{/if}
|
||||
<link rel="canonical" href="{$scheme|cat:$smarty.server.HTTP_HOST|cat:$smarty.server.REQUEST_URI|replace:{base_url}:'http://www.alltubedownload.net'}" />
|
||||
<link rel="icon" href="{base_url}/img/favicon.png" />
|
||||
<meta property="og:url" content="{base_url}" />
|
||||
<meta itemprop="url" content="{base_url|noscheme}" />
|
||||
<link rel="canonical" href="//{$smarty.server.HTTP_HOST|cat:$smarty.server.REQUEST_URI|replace:{base_url|noscheme}:'http://www.alltubedownload.net'}" />
|
||||
<link rel="icon" href="{base_url|noscheme}/img/favicon.png" />
|
||||
<meta property="og:url" content="{base_url|noscheme}" />
|
||||
<meta property="og:title" content="AllTube Download" />
|
||||
<meta property="og:description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
|
||||
<meta property="og:image" content="{base_url}/img/logo.png" />
|
||||
<meta property="og:image" content="{base_url|noscheme}/img/logo.png" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="AllTube Download" />
|
||||
<meta name="twitter:image" content="{base_url}/img/logo.png" />
|
||||
<meta name="twitter:image" content="{base_url|noscheme}/img/logo.png" />
|
||||
<meta name="twitter:creator" content="@Tael67" />
|
||||
<meta name="twitter:description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
|
||||
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="main">
|
||||
<div><img itemprop="image" class="logo" src="{base_url}/img/logo.png"
|
||||
<div><img itemprop="image" class="logo" src="{base_url|noscheme}/img/logo.png"
|
||||
alt="AllTube Download" width="328" height="284"></div>
|
||||
<form action="{path_for name="video"}">
|
||||
<label class="labelurl" for="url">
|
||||
|
@ -23,7 +23,7 @@
|
|||
<a class="combatiblelink" href="{path_for name="extractors"}">See all supported websites</a>
|
||||
<div id="bookmarklet">
|
||||
<p> Drag this to your bookmarks bar: </p>
|
||||
<a class="bookmarklet" href="javascript:window.location='{base_url}{path_for name='video'}?url='+encodeURIComponent(location.href);">Bookmarklet</a>
|
||||
<a class="bookmarklet" href="javascript:window.location='{base_url|noscheme}{path_for name='video'}?url='+encodeURIComponent(location.href);">Bookmarklet</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<h1 class="logobis">
|
||||
<a class="logocompatible" href="{base_url}">
|
||||
AllTube Download<span class="logocompatiblemask"><img src="{base_url}/img/logocompatiblemask.png" width="447" height="107" alt="" /></span>
|
||||
<a class="logocompatible" href="{base_url|noscheme}">
|
||||
AllTube Download<span class="logocompatiblemask"><img src="{base_url|noscheme}/img/logocompatiblemask.png" width="447" height="107" alt="" /></span>
|
||||
</a></h1>
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
href="{$video->webpage_url}">
|
||||
{$video->title}</a></i>.
|
||||
<img class="cast_icon" id="cast_disabled"
|
||||
src="{base_url}/img/ic_media_route_disabled_holo_light.png"
|
||||
src="{base_url|noscheme}/img/ic_media_route_disabled_holo_light.png"
|
||||
alt="Google Cast™ is disabled"
|
||||
title="Google Cast is not supported on this browser." />
|
||||
<img class="cast_btn cast_hidden cast_icon" id="cast_btn_launch"
|
||||
src="{base_url}/img/ic_media_route_off_holo_light.png"
|
||||
src="{base_url|noscheme}/img/ic_media_route_off_holo_light.png"
|
||||
title="Cast to ChromeCast" alt="Google Cast™" />
|
||||
<img src="{base_url}/img/ic_media_route_on_holo_light.png"
|
||||
<img src="{base_url|noscheme}/img/ic_media_route_on_holo_light.png"
|
||||
alt="Casting to ChromeCast…" title="Stop casting"
|
||||
id="cast_btn_stop" class="cast_btn cast_hidden cast_icon" /></p>
|
||||
{if isset($video->thumbnail)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue