Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const magic = $('<div>');
- magic.css({
- position: 'absolute',
- top: 0,
- left: 0,
- width: '400px',
- height: '400px'
- });
- magic.on('click', () => {
- if($('.sessionVideo video').css('position') === 'fixed') {
- $('.sessionVideo video').css({
- position: 'static',
- zIndex: 0
- });
- } else {
- $('.sessionVideo video').css({
- position: 'fixed',
- zIndex: 999
- });
- }
- $('.fullscreenButton, .desktopNotificationReminderView .dismiss, .roomVisibilityPopup .closeButton').click();
- });
- $('body').append(magic);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement