Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Twitch.tv Full HTML5 Player
- // @version 1.2.1
- // @description Twitch.tv Full HTML5 Player
- // @author Devrim
- // @match http://twitch.tv/*
- // @match http://*.twitch.tv/*
- // @run-at document-end
- // @grant none
- // ==/UserScript==
- setTimeout(function() {
- $(".js-player").html(
- $("<iframe>").attr({
- "src": "http://player.twitch.tv/?branding=false&html5&showInfo=false&channel=" + $(location).attr('pathname'),
- "width": "100%",
- "height": "100%",
- "allowfullscreen": true,
- "webkitallowfullscreen": true,
- "mozallowfullscreen": true
- }).css(
- "border", 0
- )
- );
- $(".player-overlay").hide();
- $(".player-loading").hide();
- },5000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement