1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
Daniel 2021-07-01 10:06:12 -03:00
parent 0f7d2a38d1
commit c1541f9edf
3 changed files with 12 additions and 2 deletions

View file

@ -62,7 +62,9 @@ if (empty($meet_schedule_id)) {
aVideoMeetCreateButtons();
<?php
if (isMobile()) {
echo 'aVideoMeetZoom(2);';
?>
aVideoMeetAppendElement("head", <?php echo json_encode('<style>'.file_get_contents($global['systemRootPath'] . 'plugin/Meet/meet.css').'</style>'); ?>);
<?php
}
?>
console.log("YPTMeetScript conference is ready");

9
plugin/Meet/meet.css Normal file
View file

@ -0,0 +1,9 @@
.new-toolbox, .sideToolbarContainer, .subject{
zoom:2;
-moz-transform: scale(2);
-moz-transform-origin: 0 0;
}
.filmstrip{
min-width:25%;
max-width: 300px;
}

View file

@ -88,7 +88,6 @@ function aVideoMeetStopRecording(dropURL) {
function aVideoMeetZoom(zoom) {
$('.new-toolbox, .sideToolbarContainer, .subject ').css({'zoom':zoom, '-moz-transform': 'scale('+zoom+')' , '-moz-transform-origin': '0 0' });
$('.filmstrip').css({'min-width':'25%', 'max-width': '300px' });
}
function fixHREF(){