Browse Source

show video's publish date

master
filesite 1 year ago
parent
commit
e5980d487d
  1. 4
      themes/tajian/views/site/index.php

4
themes/tajian/views/site/index.php

@ -74,6 +74,8 @@ eof;
$platform = Html::getShareVideosPlatform($file['shortcut']['url']); $platform = Html::getShareVideosPlatform($file['shortcut']['url']);
$pubDate = date('m/d', $file['fstat']['ctime']);
echo <<<eof echo <<<eof
<a href="{$file['shortcut']['url']}" class="img-item img-preview" target="_blank"> <a href="{$file['shortcut']['url']}" class="img-item img-preview" target="_blank">
<span class="img-con video-js vjs-big-play-centered"> <span class="img-con video-js vjs-big-play-centered">
@ -84,7 +86,7 @@ eof;
<span class="vjs-control-text" aria-live="polite">Play Video</span> <span class="vjs-control-text" aria-live="polite">Play Video</span>
</button> </button>
</span> </span>
<strong>{$title}</strong> <strong>{$pubDate},{$title}</strong>
</a> </a>
eof; eof;
} }

Loading…
Cancel
Save