チキン
このコミットが含まれているのは:
コミット
e050e773a0
|
@ -2,7 +2,6 @@
|
|||
<div class="margin-content">
|
||||
<div class="channels">
|
||||
@foreach ($res['channel']->data as $ch)
|
||||
<?php $fullchan = $ch->name.($ch->host != 'video.076.ne.jp' ? '@'.$ch->host : ''); ?>
|
||||
<div class="channel ng-star-inserted">
|
||||
@include('layout.component.a.channels.avatar')
|
||||
@include('layout.component.common.subscribe')
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<div class="channel-avatar-row">
|
||||
<my-actor-avatar title="この動画チャンネルを見る">
|
||||
<a title="この動画チャンネルを見る" href="/c/{{ $fullchan }}" class="ng-star-inserted">
|
||||
<a title="この動画チャンネルを見る" href="/c/{{ ptFullHandle($ch) }}" class="ng-star-inserted">
|
||||
<img class="avatar channelng ng-star-inserted" src="{{ ptAvatar($ch) }}" alt="チャンネルのアバター">
|
||||
</a>
|
||||
</my-actor-avatar>
|
||||
<h2>
|
||||
<a title="この動画チャンネルを見る" href="/c/{{ $fullchan }}"> {{ $ch->displayName }} </a>
|
||||
<a title="この動画チャンネルを見る" href="/c/{{ ptFullHandle($ch) }}"> {{ $ch->displayName }} </a>
|
||||
</h2>
|
||||
<div class="actor-counters">
|
||||
<div class="followers">{{ $ch->followersCount }}人登録者</div>・<span class="videos-count ng-star-inserted"> {{ $ch->video->total }}枚動画 </span>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="video-miniature">
|
||||
<my-video-thumbnail>
|
||||
<a class="video-thumbnail ng-star-inserted" href="/w/{{ $v->shortUUID }}">
|
||||
<img alt="" aria-label="{{ $v->name }}" src="https://video.076.ne.jp/{{ $v->thumbnailPath }}" class="ng-star-inserted">
|
||||
<img alt="" aria-label="{{ $v->name }}" src="{{ env('PEER_URI') }}{{ $v->thumbnailPath }}" class="ng-star-inserted">
|
||||
<div class="video-thumbnail-label-overlay warning ng-star-inserted"></div>
|
||||
<div class="video-thumbnail-label-overlay danger ng-star-inserted"></div>
|
||||
<div class="video-thumbnail-duration-overlay ng-star-inserted">{{ ptDuration($v->duration) }}</div>
|
||||
|
@ -42,6 +42,6 @@
|
|||
@endforeach
|
||||
|
||||
<div class="miniature-show-channel ng-star-inserted">
|
||||
<a href="/c/{{ $fullchan }}">このチャンネルを表示></a>
|
||||
<a href="/c/{{ ptFullHandle($ch) }}">このチャンネルを表示></a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
@endforeach
|
||||
</div>
|
||||
@include('layout.component.common.paginate', [
|
||||
'root' => '/a/'.$res['owner']->name.($res['owner']->host != 'video.076.ne.jp' ? '@'.$res['owner']->host : '').'/'.$res['cat']
|
||||
'root' => '/a/'.ptFullHandle($res['owner']).'/'.$res['cat']
|
||||
])
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@if (!is_null($res['channel']->banner))
|
||||
<div class="banner ng-star-inserted">
|
||||
<img alt="Channel banner" src="https://video.076.ne.jp{{ $res['channel']->banner->path }}">
|
||||
<img alt="Channel banner" src="{{ env('PEER_URI') }}{{ $res['channel']->banner->path }}">
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div class="miniature">
|
||||
<my-link class="miniature-thumbnail">
|
||||
<a tabindex="0" href="/w/p/{{ $v->shortUUID }}" class="ng-star-inserted">
|
||||
<img alt="" aria-labelledby="{{ $v->displayName }}" src="{{ !is_null($v->thumbnailPath) ? 'https://video.076.ne.jp'.$v->thumbnailPath : '/img/noicon.jpg' }}" class="ng-star-inserted">
|
||||
<img alt="" aria-labelledby="{{ $v->displayName }}" src="{{ !is_null($v->thumbnailPath) ? {{ env('PEER_URI') }}.$v->thumbnailPath : '/img/noicon.jpg' }}" class="ng-star-inserted" />
|
||||
<div class="miniature-playlist-info-overlay ng-star-inserted">動画数:{{ $v->videosLength }} </div>
|
||||
<div class="play-overlay ng-star-inserted">
|
||||
<div class="icon"></div>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
@endforeach
|
||||
</div>
|
||||
@include('layout.component.common.paginate', [
|
||||
'root' => '/c/'.$res['channel']->name.($res['channel']->host != 'video.076.ne.jp' ? '@'.$res['channel']->host : '').'/'.$res['cat']
|
||||
'root' => '/c/'.ptFullHandle($res['channel']).'/'.$res['cat']
|
||||
])
|
||||
</div>
|
||||
</my-videos-list>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="video-miniature">
|
||||
<my-video-thumbnail>
|
||||
<a class="video-thumbnail ng-star-inserted" href="/w/{{ $v->shortUUID }}">
|
||||
<img alt="" aria-label="{{ $v->name }}" src="https://video.076.ne.jp{{ $v->thumbnailPath }}" class="ng-star-inserted">
|
||||
<img alt="" aria-label="{{ $v->name }}" src="{{ env('PEER_URI') }}{{ $v->thumbnailPath }}" class="ng-star-inserted">
|
||||
<div class="video-thumbnail-actions-overlay ng-star-inserted">
|
||||
<div placement="left" container="body" class="video-thumbnail-watch-later-overlay ng-star-inserted">
|
||||
<my-global-icon iconname="clock" role="button" aria-label="「後で見る」に追加する">
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<meta name="theme-color" content="#fff">
|
||||
<meta property="og:platform" content="PeerTube">
|
||||
|
||||
<link rel="manifest" href="https://video.076.ne.jp/manifest.webmanifest?bb691a77622cbc0c1178f4dbf7d7e93daaecb079">
|
||||
<link rel="manifest" href="{{ env('PEER_URI') }}/manifest.webmanifest?bb691a77622cbc0c1178f4dbf7d7e93daaecb079">
|
||||
|
||||
<link rel="icon" type="image/png" href="/img/favicon.jpeg">
|
||||
<link rel="apple-touch-icon" href="/img/favicon.jpeg" sizes="144x144">
|
||||
|
|
|
@ -1,36 +1,64 @@
|
|||
<?php
|
||||
$name = '';
|
||||
$url = '/'.$res['page'];
|
||||
$image = '';
|
||||
|
||||
if (isset($res['page'])) {
|
||||
if ($res['page'] == 'watch') $name = $res['detail']->name;
|
||||
else if ($res['page'] == 'account') $name = $res['owner']->displayName.'さんのチャンネル一覧';
|
||||
else if ($res['page'] == 'channel') $name = $res['channel']->displayName.'さんのチャンネル';
|
||||
if ($res['page'] == 'watch') {
|
||||
$name = $res['detail']->name;
|
||||
$url = '/w/'.$res['detail']->shortUUID;
|
||||
$image = $res['detail']->previewPath;
|
||||
}
|
||||
else if ($res['page'] == 'account') {
|
||||
$name = $res['owner']->displayName.'さんのチャンネル一覧';
|
||||
$url = '/a/'.$res['owner']->name;
|
||||
$image = ptAvatar($res['owner']);
|
||||
}
|
||||
else if ($res['page'] == 'channel') {
|
||||
$name = $res['channel']->displayName.'さんのチャンネル';
|
||||
$url = '/c/'.$res['channel']->name;
|
||||
$image = ptAvatar($res['channel']);
|
||||
}
|
||||
else if ($res['page'] == 'home') $name = 'トップページ';
|
||||
else if ($res['page'] == 'overview') $name = 'ディスカバー';
|
||||
else if ($res['page'] == 'trending') $name = 'トレンド';
|
||||
else if ($res['page'] == 'recently-added') $name = '最近投稿された動画';
|
||||
else if ($res['page'] == 'overview') {
|
||||
$name = 'ディスカバー';
|
||||
$url = '/videos/'.$res['page'];
|
||||
}
|
||||
else if ($res['page'] == 'trending') {
|
||||
$name = 'トレンド';
|
||||
$url = '/videos/'.$res['page'];
|
||||
}
|
||||
else if ($res['page'] == 'recently-added') {
|
||||
$name = '最近投稿された動画';
|
||||
$url = '/videos/'.$res['page'];
|
||||
}
|
||||
else if ($res['page'] == 'local') $name = 'ローカル動画';
|
||||
else if ($res['page'] == 'about') $name = 'このアプリについて';
|
||||
else if ($res['page'] == 'notification') $name = '通知';
|
||||
else if ($res['page'] == 'notification') {
|
||||
$name = '通知';
|
||||
$url = '/my-account/'.$res['page'].'s';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<meta property="og:type" content="video" />
|
||||
<meta property="og:site_name" content="076動画" />
|
||||
<meta property="og:site_name" content="{{ $res['userinfo']['config']->instance->name }}" />
|
||||
<meta property="og:title" content="{{ $name }}" />
|
||||
<meta property="og:image" content="https://video.076.ne.jp/lazy-static/previews/8d97cbd1-50bb-4de3-9eb6-914027346996.jpg" />
|
||||
<meta property="og:url" content="{{ env('APP_URL') }}/w/b8oKB37kqyCdt7gBtPWeWV" />
|
||||
<meta property="og:image" content="{{ env('PEER_URI').$image }}" />
|
||||
<meta property="og:url" content="{{ env('APP_URL').$url }}" />
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:video:url" content="https://video.076.ne.jp/videos/embed/52039d41-8b56-4690-b6fa-25dedfedd5c5" />
|
||||
<meta property="og:video:secure_url" content="https://video.076.ne.jp/videos/embed/52039d41-8b56-4690-b6fa-25dedfedd5c5" />
|
||||
<meta property="og:video:type" content="text/html" />
|
||||
<meta property="og:video:width" content="560" />
|
||||
<meta property="og:video:height" content="315" />
|
||||
@if ($res['page'] == 'watch')
|
||||
<meta property="og:video:url" content="{{ env('PEER_URI') }}/videos/embed/{{ $res['detail']->uuid }}" />
|
||||
<meta property="og:video:secure_url" content="{{ env('PEER_URI') }}/videos/embed/{{ $res['detail']->uuid }}" />
|
||||
<meta property="og:video:type" content="text/html" />
|
||||
<meta property="og:video:width" content="560" />
|
||||
<meta property="og:video:height" content="315" />
|
||||
@endif
|
||||
<meta property="name" content="{{ $name }}" />
|
||||
<meta property="description" content="" />
|
||||
<meta property="image" content="https://video.076.ne.jp/lazy-static/previews/8d97cbd1-50bb-4de3-9eb6-914027346996.jpg" />
|
||||
<meta property="image" content="{{ env('PEER_URI').$image }}" />
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:site" content="@TechnicalSuwako" />
|
||||
<meta property="twitter:title" content="{{ $name }}" />
|
||||
<meta property="twitter:description" content="" />
|
||||
<meta property="twitter:image" content="https://video.076.ne.jp/lazy-static/previews/8d97cbd1-50bb-4de3-9eb6-914027346996.jpg" />
|
||||
<meta property="twitter:description" content="{{ $res['userinfo']['config']->instance->shortDescription }}" />
|
||||
<meta property="twitter:image" content="{{ env('PEER_URI').$image }}" />
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<form novalidate="" class="ng-untouched ng-pristine ng-invalid">
|
||||
<div class="avatar-and-textarea">
|
||||
<my-actor-avatar size="25">
|
||||
<img class="account avatar avatar-25 ng-star-inserted" src="https://video.076.ne.jp/lazy-static/avatars/aa9883c7-d4d0-48c3-8e3a-72a9f2d96784.png" alt="アカウントのアバター">
|
||||
<img class="account avatar avatar-25 ng-star-inserted" src="{{ env('PEER_URI') }}/lazy-static/avatars/aa9883c7-d4d0-48c3-8e3a-72a9f2d96784.png" alt="アカウントのアバター">
|
||||
</my-actor-avatar>
|
||||
<div class="form-group">
|
||||
<textarea placeholder="コメントを入力..." myautoresize="" formcontrolname="text" rows="1" class="ng-untouched ng-pristine ng-invalid" style="overflow: hidden; height: 32px;"></textarea>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<video
|
||||
playsinline="playsinline"
|
||||
tabindex="-1"
|
||||
poster="https://video.076.ne.jp{{ $res['detail']->previewPath }}"
|
||||
poster="{{ env('PEER_URI') }}{{ $res['detail']->previewPath }}"
|
||||
style="width: 100%; max-height: 720px;"
|
||||
controls=""
|
||||
>
|
||||
|
@ -27,4 +27,4 @@
|
|||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div class="video-miniature">
|
||||
<my-video-thumbnail>
|
||||
<a class="video-thumbnail ng-star-inserted" href="/w/{{ $v->shortUUID }}">
|
||||
<img alt="" aria-label="{{ $v->name }}" src="https://video.076.ne.jp{{ $v->thumbnailPath }}" class="ng-star-inserted">
|
||||
<img alt="" aria-label="{{ $v->name }}" src="{{ env('PEER_URI') }}{{ $v->thumbnailPath }}" class="ng-star-inserted">
|
||||
<div class="video-thumbnail-label-overlay warning ng-star-inserted"></div>
|
||||
<div class="video-thumbnail-label-overlay danger ng-star-inserted"></div>
|
||||
<div class="video-thumbnail-duration-overlay ng-star-inserted">{{ ptDuration($v->duration) }}</div>
|
||||
|
|
新しいイシューから参照