mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Update
This commit is contained in:
parent
a9f42fce5e
commit
6e25e624f3
5 changed files with 5 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -101,3 +101,4 @@ plugin/CustomizeUser/getMyAccount.php
|
||||||
/plugin/Search/
|
/plugin/Search/
|
||||||
plugin/Vdatait/
|
plugin/Vdatait/
|
||||||
plugin/VideoPlaylistScheduler/
|
plugin/VideoPlaylistScheduler/
|
||||||
|
install/bulkCreateUser.php
|
||||||
|
|
|
@ -1331,7 +1331,7 @@ function getSources($fileName, $returnArray = false, $try = 0)
|
||||||
if ($returnArray) {
|
if ($returnArray) {
|
||||||
$return = array_merge($videoSources, $audioTracks, $subtitleTracks, $captionsTracks);
|
$return = array_merge($videoSources, $audioTracks, $subtitleTracks, $captionsTracks);
|
||||||
} else {
|
} else {
|
||||||
$return = $videoSources . $audioTracks . $subtitleTracks.$captionsTracks;
|
$return = $videoSources . $audioTracks . PHP_EOL . $subtitleTracks . PHP_EOL . $captionsTracks;
|
||||||
}
|
}
|
||||||
|
|
||||||
$obj = new stdClass();
|
$obj = new stdClass();
|
||||||
|
|
|
@ -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">';
|
class="embed-responsive-item video-js vjs-default-skin vjs-big-play-centered vjs-16-9" id="mainVideo">';
|
||||||
if ($video['type'] == Video::$videoTypeVideo) {
|
if ($video['type'] == Video::$videoTypeVideo) {
|
||||||
$sources = getSources($video['filename']);
|
$sources = getSources($video['filename']);
|
||||||
|
//var_dump($video['filename'], $sources);exit;
|
||||||
$htmlMediaTag .= "<!-- Video title={$video['title']} {$video['filename']} -->" . $sources; //var_dump($sources);exit;
|
$htmlMediaTag .= "<!-- Video title={$video['title']} {$video['filename']} -->" . $sources; //var_dump($sources);exit;
|
||||||
} else { // video link
|
} else { // video link
|
||||||
$url = AVideoPlugin::modifyURL($video['videoLink'], $video['id']);
|
$url = AVideoPlugin::modifyURL($video['videoLink'], $video['id']);
|
||||||
|
|
|
@ -113,7 +113,7 @@ unset($_POST['current']);
|
||||||
$startC = microtime(true);
|
$startC = microtime(true);
|
||||||
$countSuccess++;
|
$countSuccess++;
|
||||||
?>
|
?>
|
||||||
|
<!-- channelPlaylistItems -->
|
||||||
<div class="panel panel-default" playListId="<?php echo $playlist['id']; ?>">
|
<div class="panel panel-default" playListId="<?php echo $playlist['id']; ?>">
|
||||||
<div class="panel-heading clearfix">
|
<div class="panel-heading clearfix">
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
|
|
|
@ -96,6 +96,7 @@ $_page->setExtraStyles(
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<br>
|
<br>
|
||||||
|
<!-- channelProgram -->
|
||||||
<div class="panel panel-default program" playListId="<?php echo $program['id']; ?>">
|
<div class="panel panel-default program" playListId="<?php echo $program['id']; ?>">
|
||||||
<div class="panel-heading clearfix" style="padding-left: 10px;">
|
<div class="panel-heading clearfix" style="padding-left: 10px;">
|
||||||
<span class="badge pull-right"><?php echo $totalVideos; ?> <?php echo __('Videos'); ?></span>
|
<span class="badge pull-right"><?php echo $totalVideos; ?> <?php echo __('Videos'); ?></span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue