mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
H1 tags
This commit is contained in:
parent
ec8723a6f8
commit
d599af08d9
5 changed files with 7 additions and 8 deletions
|
@ -178,7 +178,7 @@ $liveInfo = Live::getInfo($livet['key'], Live::getLiveServersIdRequest());
|
|||
?>
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<h2 itemprop="name">
|
||||
<h1 itemprop="name">
|
||||
<?php
|
||||
if ($lt->isAPrivateLive()) {
|
||||
?>
|
||||
|
@ -195,7 +195,7 @@ $liveInfo = Live::getInfo($livet['key'], Live::getLiveServersIdRequest());
|
|||
echo $liveInfo['displayTime'];
|
||||
?>
|
||||
</small>
|
||||
</h2>
|
||||
</h1>
|
||||
<div class="col-xs-12 col-sm-12 col-lg-12"><?php echo $video['creator']; ?></div>
|
||||
<p><?php echo nl2br(textToLink($liveDescription)); ?></p>
|
||||
<div class="row">
|
||||
|
|
|
@ -169,7 +169,7 @@ if (isHTMLEmpty($sideAd)) {
|
|||
?>
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<h2 itemprop="name"><i class="fas fa-video"></i> <?php echo getSEOTitle($t['title']); ?></h2>
|
||||
<h1 itemprop="name"><i class="fas fa-video"></i> <?php echo getSEOTitle($t['title']); ?></h1>
|
||||
<div class="col-xs-12 col-sm-12 col-lg-12"><?php echo $video['creator']; ?></div>
|
||||
<p><?php echo nl2br(textToLink($t['description'])); ?></p>
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
<?php
|
||||
global $global;
|
||||
if (isBot() || !empty($global['doNotIncludeSocketFooter'])) {
|
||||
if (isBot()) {
|
||||
echo '<!-- isBot socket_info_container -->';
|
||||
return false;
|
||||
}
|
||||
$global['doNotIncludeSocketFooter'] = 1;
|
||||
$refl = new ReflectionClass('SocketMessageType');
|
||||
$obj = AVideoPlugin::getDataObjectIfEnabled('YPTSocket');
|
||||
if (!empty($obj->debugAllUsersSocket) || (User::isAdmin() && !empty($obj->debugSocket))) {
|
||||
|
|
|
@ -331,7 +331,7 @@ $(function () {
|
|||
AutoUpdateOnHTMLTimer();
|
||||
});
|
||||
var _startSocketTimeout;
|
||||
function startSocket() {
|
||||
async function startSocket() {
|
||||
clearTimeout(_startSocketTimeout);
|
||||
if (!isOnline() || typeof webSiteRootURL == 'undefined') {
|
||||
console.log('startSocket: Not Online');
|
||||
|
|
|
@ -59,11 +59,11 @@ $description = getSEODescription(emptyHTML($video['description']) ? $video['titl
|
|||
<span itemprop="description" content="<?php echo $description; ?>"></span>
|
||||
</div>
|
||||
<div class="col-xs-8 col-sm-8 col-md-8">
|
||||
<h2 itemprop="name">
|
||||
<h1 itemprop="name">
|
||||
<?php
|
||||
echo getSEOTitle($video['title'], 65);
|
||||
?>
|
||||
</h2>
|
||||
</h1>
|
||||
<?php
|
||||
if (!empty($video['id']) && Video::showYoutubeModeOptions() && Video::canEdit($video['id'])) {
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue