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">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<h2 itemprop="name">
|
<h1 itemprop="name">
|
||||||
<?php
|
<?php
|
||||||
if ($lt->isAPrivateLive()) {
|
if ($lt->isAPrivateLive()) {
|
||||||
?>
|
?>
|
||||||
|
@ -195,7 +195,7 @@ $liveInfo = Live::getInfo($livet['key'], Live::getLiveServersIdRequest());
|
||||||
echo $liveInfo['displayTime'];
|
echo $liveInfo['displayTime'];
|
||||||
?>
|
?>
|
||||||
</small>
|
</small>
|
||||||
</h2>
|
</h1>
|
||||||
<div class="col-xs-12 col-sm-12 col-lg-12"><?php echo $video['creator']; ?></div>
|
<div class="col-xs-12 col-sm-12 col-lg-12"><?php echo $video['creator']; ?></div>
|
||||||
<p><?php echo nl2br(textToLink($liveDescription)); ?></p>
|
<p><?php echo nl2br(textToLink($liveDescription)); ?></p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -169,7 +169,7 @@ if (isHTMLEmpty($sideAd)) {
|
||||||
?>
|
?>
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="panel-body">
|
<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>
|
<div class="col-xs-12 col-sm-12 col-lg-12"><?php echo $video['creator']; ?></div>
|
||||||
<p><?php echo nl2br(textToLink($t['description'])); ?></p>
|
<p><?php echo nl2br(textToLink($t['description'])); ?></p>
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
global $global;
|
global $global;
|
||||||
if (isBot() || !empty($global['doNotIncludeSocketFooter'])) {
|
if (isBot()) {
|
||||||
echo '<!-- isBot socket_info_container -->';
|
echo '<!-- isBot socket_info_container -->';
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$global['doNotIncludeSocketFooter'] = 1;
|
|
||||||
$refl = new ReflectionClass('SocketMessageType');
|
$refl = new ReflectionClass('SocketMessageType');
|
||||||
$obj = AVideoPlugin::getDataObjectIfEnabled('YPTSocket');
|
$obj = AVideoPlugin::getDataObjectIfEnabled('YPTSocket');
|
||||||
if (!empty($obj->debugAllUsersSocket) || (User::isAdmin() && !empty($obj->debugSocket))) {
|
if (!empty($obj->debugAllUsersSocket) || (User::isAdmin() && !empty($obj->debugSocket))) {
|
||||||
|
|
|
@ -331,7 +331,7 @@ $(function () {
|
||||||
AutoUpdateOnHTMLTimer();
|
AutoUpdateOnHTMLTimer();
|
||||||
});
|
});
|
||||||
var _startSocketTimeout;
|
var _startSocketTimeout;
|
||||||
function startSocket() {
|
async function startSocket() {
|
||||||
clearTimeout(_startSocketTimeout);
|
clearTimeout(_startSocketTimeout);
|
||||||
if (!isOnline() || typeof webSiteRootURL == 'undefined') {
|
if (!isOnline() || typeof webSiteRootURL == 'undefined') {
|
||||||
console.log('startSocket: Not Online');
|
console.log('startSocket: Not Online');
|
||||||
|
|
|
@ -59,11 +59,11 @@ $description = getSEODescription(emptyHTML($video['description']) ? $video['titl
|
||||||
<span itemprop="description" content="<?php echo $description; ?>"></span>
|
<span itemprop="description" content="<?php echo $description; ?>"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-8 col-sm-8 col-md-8">
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
||||||
<h2 itemprop="name">
|
<h1 itemprop="name">
|
||||||
<?php
|
<?php
|
||||||
echo getSEOTitle($video['title'], 65);
|
echo getSEOTitle($video['title'], 65);
|
||||||
?>
|
?>
|
||||||
</h2>
|
</h1>
|
||||||
<?php
|
<?php
|
||||||
if (!empty($video['id']) && Video::showYoutubeModeOptions() && Video::canEdit($video['id'])) {
|
if (!empty($video['id']) && Video::showYoutubeModeOptions() && Video::canEdit($video['id'])) {
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue