1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00
This commit is contained in:
Daniel 2021-07-01 10:25:34 -03:00
parent ffc3e10b68
commit a4dfaf1d86
3 changed files with 19 additions and 12 deletions

View file

@ -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");