Skip to content

Instantly share code, notes, and snippets.

@nonsensery
Created January 15, 2016 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nonsensery/3bde7c32bfbcab7be66e to your computer and use it in GitHub Desktop.
Save nonsensery/3bde7c32bfbcab7be66e to your computer and use it in GitHub Desktop.
Better group hangouts
/*
Sometimes in a group hangout, it's nicer to see everyone all the time,
rather than just the person who is currently "speaking".
The solution is to click on your own thumbnail (so that you are always
the "speaker"), and then zoom and pan the page content so that the
thumbnails fill the whole width of the window. This can be done pretty
easily by applying `translate` and `scale` `transform`s to the body
element.
--
This gist will probably evolve, but for now I'm capturing JS snippets
that I can use to do this in specific situations. As I collect more
datapoints, it may be possible to extract some generalized patterns.
Maybe even a [series of] bookmarklet[s]?
*/
// Go back to normal:
document.body.style.transform = '';
// Five (5) other people on a 15-inch MBP (full screen width):
document.body.style.transform = 'translate(-53%, -147%) scale(2.8)';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment