mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Fix zoom
This commit is contained in:
parent
0f7d2a38d1
commit
c1541f9edf
3 changed files with 12 additions and 2 deletions
|
@ -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
9
plugin/Meet/meet.css
Normal 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;
|
||||
}
|
|
@ -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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue