mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +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();
|
||||
}
|
||||
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");
|
||||
} else if (typeof e.data.aVideoMeetStartRecording !== 'undefined') {
|
||||
console.log("YPTMeetScript aVideoMeetStartRecording");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue