Skip to content

Instantly share code, notes, and snippets.

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 norio-nomura/772430 to your computer and use it in GitHub Desktop.
Save norio-nomura/772430 to your computer and use it in GitHub Desktop.
simple bookmarklet which send Ustream to AirFlick
javascript:(function(){
var w=window,enc=encodeURIComponent;
if (w.ustream && w.ustream.vars.liveHttpUrl) {
var u='airflick://play-media?MediaLocation='+enc(w.ustream.vars.liveHttpUrl),
a=function(){w.location=u;};
if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);
else a();
} else {
alert('this ustream is not compatible with Apple TV!');
}
})();
@norio-nomura
Copy link
Author

Chrome or Safari 向けにブラウザエクステンションを作りました。
http://norio-nomura.github.com/SendUstreamToAirFlick/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment