Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F13209920
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/plugin/Live/view/videoEmbededV2.php b/plugin/Live/view/videoEmbededV2.php
index 676271b23..e24fba0a7 100644
--- a/plugin/Live/view/videoEmbededV2.php
+++ b/plugin/Live/view/videoEmbededV2.php
@@ -1,73 +1,80 @@
<?php
require_once '../../videos/configuration.php';
/**
* this was made to mask the main URL
*/
if (!empty($_GET['webSiteRootURL'])) {
$global['webSiteRootURL'] = $_GET['webSiteRootURL'];
}
require_once $global['systemRootPath'] . 'plugin/Live/Objects/LiveTransmition.php';
$t = LiveTransmition::getFromDbByUserName($_GET['u']);
$uuid = $t['key'];
$p = YouPHPTubePlugin::loadPlugin("Live");
?>
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="img/favicon.ico">
<title><?php echo $config->getWebSiteTitle(); ?> :: <?php echo $video['title']; ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>css/player.css" rel="stylesheet" type="text/css"/>
<script src="<?php echo $global['webSiteRootURL']; ?>js/jquery-3.2.0.min.js" type="text/javascript"></script>
<script src="<?php echo $global['webSiteRootURL']; ?>js/video.js/video.js" type="text/javascript"></script>
<script src="<?php echo $global['webSiteRootURL']; ?>js/videojs-rotatezoom/videojs.zoomrotate.js" type="text/javascript"></script>
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/Live/view/videojs-contrib-hls.min.js" type="text/javascript"></script>
<style>
#chatOnline {
width: 25vw !important;
position: relative !important;
margin: 0;
padding: 0;
}
.container-fluid {
padding-right: 0 !important;
padding-left: 0 !important;
}
+ .liveChat .messages{
+ -webkit-transition: all 1s ease; /* Safari */
+ transition: all 1s ease;
+ }
</style>
</head>
<body style="background-color: black; overflow: hidden;">
<div class="container-fluid">
- <div class="col-md-9" style="margin: 0; padding: 0;" id="embedVideo-content">
+ <div class="col-md-9 col-sm-9 col-xs-9" style="margin: 0; padding: 0;" id="embedVideo-content">
<?php
echo $config->getAdsense();
?>
<div class="embed-responsive embed-responsive-16by9" >
<video poster="<?php echo $global['webSiteRootURL']; ?>img/youphptubeLiveStreaming.jpg" controls crossorigin autoplay="autoplay"
class="embed-responsive-item video-js vjs-default-skin vjs-big-play-centered"
id="mainVideo" data-setup='{ "aspectRatio": "16:9", "techorder" : ["flash", "html5"] }'>
<source src="<?php echo $p->getPlayerServer(); ?>/<?php echo $uuid; ?>/index.m3u8" type='application/x-mpegURL'>
</video>
</div>
<?php
echo $config->getAdsense();
?>
</div>
- <div class="col-md-3" style="margin: 0; padding: 0;">
+ <div class="col-md-3 col-sm-3 col-xs-3" style="margin: 0; padding: 0;">
<?php
$p->getChat($uuid);
?>
</div>
</div>
<script>
$(function () {
$('.liveChat .messages').css({"height": ($('#embedVideo-content').height() - 128) + "px"});
+ window.addEventListener('resize', function () {
+ $('.liveChat .messages').css({"height": ($('#embedVideo-content').height() - 128) + "px"});
+ })
});
</script>
</body>
</html>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Apr 22, 14:57 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1862820
Default Alt Text
(4 KB)
Attached To
Mode
R58 TurboFlop
Attached
Detach File
Event Timeline
Log In to Comment