Skip to content

Instantly share code, notes, and snippets.

Ivo Lukacovic ilblog

  • Prague
Block or report user

Report or block ilblog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ilblog
ilblog / README.md
Last active May 5, 2019
Create mp4 video from set of images in the browser client side, using ffmpeg.js in worker thread
View README.md
@ilblog
ilblog / fullscreen_controller.js
Created Dec 20, 2017
Microscopic Javascript fullscreen controller
View fullscreen_controller.js
// Fullscreen controller used on www.windy.com
const d = document
, el = $('#fullscreen')
, isFullscreen = () => d.fullscreen || d.webkitIsFullScreen || d.mozFullScreen
, onFullChange = () => el.innerHTML = isFullscreen() ? '' : '-' // Change of icon
d.addEventListener('fullscreenchange', onFullChange )
d.addEventListener('webkitfullscreenchange',onFullChange )
d.addEventListener('webkitfullscreenchange',onFullChange )
d.addEventListener('mozfullscreenchange',onFullChange )
You can’t perform that action at this time.