1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-06-03 09:17:17 -03:00
parent a9f42fce5e
commit 6e25e624f3
5 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View file

@ -101,3 +101,4 @@ plugin/CustomizeUser/getMyAccount.php
/plugin/Search/
plugin/Vdatait/
plugin/VideoPlaylistScheduler/
install/bulkCreateUser.php

View file

@ -1331,7 +1331,7 @@ function getSources($fileName, $returnArray = false, $try = 0)
if ($returnArray) {
$return = array_merge($videoSources, $audioTracks, $subtitleTracks, $captionsTracks);
} else {
$return = $videoSources . $audioTracks . $subtitleTracks.$captionsTracks;
$return = $videoSources . $audioTracks . PHP_EOL . $subtitleTracks . PHP_EOL . $captionsTracks;
}
$obj = new stdClass();

View file

@ -145,6 +145,7 @@ class PlayerSkins extends PluginAbstract
class="embed-responsive-item video-js vjs-default-skin vjs-big-play-centered vjs-16-9" id="mainVideo">';
if ($video['type'] == Video::$videoTypeVideo) {
$sources = getSources($video['filename']);
//var_dump($video['filename'], $sources);exit;
$htmlMediaTag .= "<!-- Video title={$video['title']} {$video['filename']} -->" . $sources; //var_dump($sources);exit;
} else { // video link
$url = AVideoPlugin::modifyURL($video['videoLink'], $video['id']);

View file

@ -113,7 +113,7 @@ unset($_POST['current']);
$startC = microtime(true);
$countSuccess++;
?>
<!-- channelPlaylistItems -->
<div class="panel panel-default" playListId="<?php echo $playlist['id']; ?>">
<div class="panel-heading clearfix">
<div class="pull-left">

View file

@ -96,6 +96,7 @@ $_page->setExtraStyles(
}
?>
<br>
<!-- channelProgram -->
<div class="panel panel-default program" playListId="<?php echo $program['id']; ?>">
<div class="panel-heading clearfix" style="padding-left: 10px;">
<span class="badge pull-right"><?php echo $totalVideos; ?> <?php echo __('Videos'); ?></span>