mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 10:49:36 +02:00
Fix zoom
This commit is contained in:
parent
ffc3e10b68
commit
a4dfaf1d86
3 changed files with 19 additions and 12 deletions
|
@ -60,7 +60,13 @@ if (empty($meet_schedule_id)) {
|
||||||
event_on_meetReady();
|
event_on_meetReady();
|
||||||
}
|
}
|
||||||
aVideoMeetCreateButtons();
|
aVideoMeetCreateButtons();
|
||||||
aVideoMeetAppendElement("head", <?php echo json_encode('<style>'.file_get_contents($global['systemRootPath'] . 'plugin/Meet/meet.css').'</style>'); ?>);
|
<?php
|
||||||
|
$css = file_get_contents($global['systemRootPath'] . 'plugin/Meet/meet.mobile.css');
|
||||||
|
if(!isMobile()){
|
||||||
|
$css = "@media (max-width: 767px) {{$css}}";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
aVideoMeetAppendElement("head", <?php echo json_encode("<style>{$css}</style>"); ?>);
|
||||||
console.log("YPTMeetScript conference is ready");
|
console.log("YPTMeetScript conference is ready");
|
||||||
} else if (typeof e.data.aVideoMeetStartRecording !== 'undefined') {
|
} else if (typeof e.data.aVideoMeetStartRecording !== 'undefined') {
|
||||||
console.log("YPTMeetScript aVideoMeetStartRecording");
|
console.log("YPTMeetScript aVideoMeetStartRecording");
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
@media (max-width: 767px) {
|
|
||||||
.new-toolbox, .sideToolbarContainer, .subject{
|
|
||||||
zoom:2;
|
|
||||||
-moz-transform: scale(2);
|
|
||||||
-moz-transform-origin: 0 0;
|
|
||||||
}
|
|
||||||
.filmstrip{
|
|
||||||
min-width:25%;
|
|
||||||
max-width: 300px;
|
|
||||||
}
|
|
||||||
}
|
|
12
plugin/Meet/meet.mobile.css
Normal file
12
plugin/Meet/meet.mobile.css
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
.new-toolbox, .sideToolbarContainer, .subject{
|
||||||
|
zoom:2;
|
||||||
|
-moz-transform: scale(2);
|
||||||
|
-moz-transform-origin: 0 0;
|
||||||
|
}
|
||||||
|
.filmstrip{
|
||||||
|
min-width:25%;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
.leftwatermark{
|
||||||
|
width: 200px;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue