uPin

uPin is for pinning a YouTube video while the rest of the page scrolls - like when you are looking through the videos list on the right and you can hear but not see the main video - this uPin fixes that by making the video stay put where it is originally..

https://chrome.google.com/webstore/detail/milkbfdjncjmafjflcjpodieeabiidak/
http://electricitymachine.com/upin/upin.zip
https://chrome.google.com/webstore/search/uPin

file:///C:/Users/<USER NAME>/AppData/Local/Google/Chrome/User%20Data/Default/Extensions/milkbfdjncjmafjflcjpodieeabiidak/
C:\Users\<USER NAME>\AppData\Local\Google\Chrome\User Data\Default\Extensions\milkbfdjncjmafjflcjpodieeabiidak


uPin 0.0.0.5 upin.css:

#placeholder-player {margin-bottom:38px !important;background:transparent;}
.player-api.player-width.player-height {background:transparent;top:38px;}
#player {position: -webkit-sticky !important;position: sticky !important;z-index:50;}
#watch-header {position:relative;}
#theater-background {display: none;}

uPin 0.0.0.5 manifest.json:

{
"name": "uPin",
"homepage_url": "http://electricitymachine.com/upin/",
"description": "Pin a YouTube video while the rest of the page scrolls.",
"version": "0.0.0.5",
"manifest_version": 2,
"permissions": ["tabs", "*://*/*" ],
"browser_action": {
"default_icon": "19x19.png",
"default_popup": "upin.html",
"default_title": "uPin"
},

"content_scripts": [{
"matches": [ "http://www.youtube.com/watch?v=*", "https://www.youtube.com/watch?v=*" ],
"exclude_matches": [ "*://*/*results*", "*://*/*search_query*" ],
"include_globs": [ "*youtube.com/watch?v=???????????*" ],
"exclude_globs": [ "*&list=*", "*watch?list=*", "*watch?v=*&list=*", "*results*", "*search_query=*" ],

"css": ["upin.css"],
"run_at": "document_start"
}],
"web_accessible_resources": ["upin.css"],
"icons": {
"32": "32x32.png",
"128": "128x128.png",
"48": "48x48.png",
"38": "38x38.png",
"19": "19x19.png",
"16": "16x16.png"
}
}