Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/8731#issuecomment-1861499607
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Dec 19, 2023
1 parent 937f0a8 commit 60a091d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions locale/function.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

function includeLangFile() {
global $t, $global;
if(empty($_SESSION)){
_session_start();
}
$_SESSION['language'] = str_replace('../', '', $_SESSION['language']);
setSiteLang();
@include_once "{$global['systemRootPath']}locale/{$_SESSION['language']}.php";
Expand Down
2 changes: 1 addition & 1 deletion objects/playlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ public static function showPlayListSelector($playListArray)
return false;
}

public static function getAll($status = '', $playlists_id = 0)
public static function getAll($status = '', $playlists_id = 0, $users_id = 0)
{
global $global;
if (!static::isTableInstalled()) {
Expand Down
2 changes: 1 addition & 1 deletion plugin/Cache/Objects/CachesInDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public static function set_innodb_lock_wait_timeout($timeout = 2)
*/
return $global['mysqli']->query($sql);
}

public static function _deleteCacheStartingWith($name)
{
global $global;
Expand Down
6 changes: 3 additions & 3 deletions plugin/Gallery/view/BigVideoLive.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
return '';
}
}
$url = "{$global['webSiteRootURL']}liveNow?muted=1&GalleryType=";
$url = addQueryStringParameter($url, 'muted', 1);
$urlLiveNow = "{$global['webSiteRootURL']}liveNow?muted=1&GalleryType=";
$urlLiveNow = addQueryStringParameter($urlLiveNow, 'muted', 1);
?>
<style>
#BigVideoLive {
Expand Down Expand Up @@ -75,7 +75,7 @@
</style>
<div class="container-fluid" id="BigVideoLive">
<div id="BigVideoLiveOverlay"></div>
<iframe id="BigVideoLiveIFrame" class="embed-responsive-item" scrolling="no" style="border: none;" <?php echo Video::$iframeAllowAttributes; ?> src="<?php echo $url; ?>"></iframe>
<iframe id="BigVideoLiveIFrame" class="embed-responsive-item" scrolling="no" style="border: none;" <?php echo Video::$iframeAllowAttributes; ?> src="<?php echo $urlLiveNow; ?>"></iframe>
<div id="BigVideoLiveClose">
<button type="button" class="btn btn-default btn-circle" onclick="BigVideoLiveFullscreen(false);" style="padding: 3px 0;">
<i class="fas fa-times fa-2x"></i>
Expand Down

0 comments on commit 60a091d

Please sign in to comment.