Skip to content

Instantly share code, notes, and snippets.

View jermspeaks's full-sized avatar
🐧

Jeremy Wong jermspeaks

🐧
View GitHub Profile
@jermspeaks
jermspeaks / .block
Created October 15, 2017 00:08
Flight Paths Edge Bundling
license: gpl-3.0
height: 500
border: no
@jermspeaks
jermspeaks / isAutoplaySupported.js
Created October 5, 2017 18:37 — forked from nathansearles/isAutoplaySupported.js
Test if HTML5 video autoplay is supported
// isAutoplaySupported(callback);
// Test if HTML5 video autoplay is supported
isAutoplaySupported = function(callback) {
// Is the callback a function?
if (typeof callback !== 'function') {
console.log('isAutoplaySupported: Callback must be a function!');
return false;
}
// Check if sessionStorage exist for autoplaySupported,
// if so we don't need to check for support again
@jermspeaks
jermspeaks / safari-autoplay.md
Last active October 4, 2017 20:49
List of websites where Safari blocks or enables video autoplay

Safari Autoplay

Website Autoplay Enabled With Sound
youtube.com true
hulu.com true
vimeo.com true
netflix.com true
crackle.com true
vudu.com true
@jermspeaks
jermspeaks / 1fg3js.js
Last active September 21, 2017 18:40 — forked from anonymous/1fg3js.js
var IV = (function(SCOPE) {
SCOPE.baseData = {};
SCOPE.baseData.app_data = {
"isPreroll": true,
"video": {
"url": "",
"width": 1920,
"height": 1080,
"duration": 15.061,
"renditions": {
@jermspeaks
jermspeaks / .block
Created October 17, 2016 20:26
a-frame + d3 test
license: mit
@jermspeaks
jermspeaks / .block
Last active October 17, 2016 18:59
square-to-hexagon-transition
license: mit
@jermspeaks
jermspeaks / .block
Last active October 17, 2016 18:40
square-transition
license: mit
@jermspeaks
jermspeaks / .block
Last active October 17, 2016 18:28
stroke-dash-array
license: mit
@jermspeaks
jermspeaks / .block
Last active October 7, 2016 03:44
Gun Pictogram
license: mit
@jermspeaks
jermspeaks / .block
Created October 1, 2016 16:51
Voronoi binning
license: gpl-3.0