A simple bookmarklet to enable fullScreenMode in modern browsers.
- Copy
loader.js
code into a bookmark's location field. - Press
Ctrl+Enter
to toogle fullscreen mode
###* | |
* jQuery pluginName plugin v0.1 | |
* ========================== | |
* see http://docs.jquery.com/Plugins/Authoring | |
* | |
* plugin description goes here | |
* author your.name@email.com | |
### | |
(($) -> |
See also : 'lsyncd'
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="A Simple Video Instant Preview Demo" /> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<video id="video" controls></video> | |
<form> |
Here is the results of a few tests I ran on various "TV browsers" environments.
I wanted to know how those TV environements behaves regarding keyboard events. Is there a reliable standard way of handling remote controllers that we can work with?
The simple JS script I used to test keyCode behavior is available here : jsbin.com/OqAhIcA/13
Tested devices :
;(function($) { | |
/* | |
* jQuery Observer pattern | |
* inspired by @addyosmani 's code | |
* see: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#highlighter_506612 | |
*/ | |
var topics = []; | |
function getTopic(id) { | |
var callbacks; | |
topic = id && topics[id]; |
#!/bin/sh | |
# | |
# This pre-commit hook run `shellcheck` against your code when you go to commit. | |
# See: http://www.shellcheck.net/ | |
# | |
# To use this script copy it to .git/hooks/pre-commit and make it executable. | |
# Work out what to diff against, really HEAD will work for any established repository. | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then |