Closed MagnificentRay closed 8 months ago
Hi @MagnificentRay
Agree.
Does the shorts player do anything better? vertical videos are bigger?
Hi @ImprovedTube
I don't think it does anything better. The vertical video I tested looks smaller in the shorts player actually.
The only thing the shorts player has is the infinite scrolling like tiktok, but I don't like that.
The only reason I would say have it be an option to still see these would be in case someone likes the shorts player format its not just removed.
~On vertical screen/phone shorts was bigger=fullscreen. Yet it wont allow to play every other video ID. (So using it always wouldnt be an option)~
YouTube 'Shorts'
: 1. play in standard player
2. hide
Hide YoutubeShorts Links
)I'm a bit confused by what you are saying.
I checked a few videos and it seems like shorts videos can be converted to regular videos.
I did notice that regular videos cant be converted to shorts. Is that what you meant by "Yet it wont allow to play every other video ID."
I guess unfortunately for those who would want it youtube cant be told to only use the shorts player. So this feature would probably just convert shorts to regular videos and not the other way around.
I'm not sure what you mean combine with the other suggestion as they want to hide specific videos, and I want it so that if I click on a shorts video the link converts to the regular player but I can still see the videos to click on. So I think it should remain a separate feature from link hiding.
If you mean put them in a category together, then sure! as long as I can still see all the videos but they play on the regular player.
Thanks for looking into my suggestion btw.
what about only editing the "Share" button?
I saw a 2014 vertical video that was converted to short
Hi @kotenok2000, lets put such example in this thread
@jacklolidk what do you mean?
Youtube makes videos that have 1080x1080 resolution and shorter than one minute Shorts https://www.youtube.com/shorts/696P3XYoR5I
I have found 2016 video that was made into short. https://www.youtube.com/shorts/CZg4faMi7RA https://www.youtube.com/watch?v=CZg4faMi7RA
code:
// ==UserScript==
// @name Youtube shorts redirect
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Youtuebe shorts > watch redirect
// @author Fuim
// @match *://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?domain=youtube.com
// @grant none
// @run-at document-start
// @license GNU GPLv2
// ==/UserScript==
var oldHref = document.location.href;
if (window.location.href.indexOf('youtube.com/shorts') > -1) {
window.location.replace(window.location.toString().replace('/shorts/', '/watch?v='));
}
window.onload = function() {
var bodyList = document.querySelector("body")
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (oldHref != document.location.href) {
oldHref = document.location.href;
console.log('location changed!');
if (window.location.href.indexOf('youtube.com/shorts') > -1) {
window.location.replace(window.location.toString().replace('/shorts/', '/watch?v='));
}
}
});
});
var config = {
childList: true,
subtree: true
};
observer.observe(bodyList, config);
};
Hi @kotenok2000, lets put such example in this thread
@jacklolidk what do you mean?
Example 2013 video https://www.youtube.com/shorts/_WulUSZJ4zs https://www.youtube.com/watch?v=_WulUSZJ4zs
I definitely agree with this. The default player is far better on desktops than the shorts reel which is entirely mobile centric design.
Hello,
Since the normal player natively can play a short, the Redirector extension can be used to redirect the latter to the former :
No need for ImprovedTube nor any other extension or userscript to implement it.
@KaKi87 thats exactly what the userscript is doing :) Redirecting. I prefer to just add another script to already installed extension than to install another extension and give full access to it just for redirecting.
thats exactly what the userscript is doing
I know.
I prefer to just add another script to already installed extension than to install another extension and give full access to it just for redirecting
Actually, I was already using Redirector, to redirect reddit.com to old.reddit.com, Instagram to Bibliogram, etc.
I think this extension can be useful to many people on some occasions.
Plus, if you'd click my link, you'd see it's open source.
I just opted out of redesign at https://www.reddit.com/settings/
This setting sometimes stops working, but it's just an example anyway.
#1383 #1146 (#1168 #1389 #1391)
hiding shorts everywhere: https://github.com/ProbablyRaging/hide-youtube-shorts
(store version requires browser history access...?)
hiding shorts on the homepage: https://chrome.google.com/webstore/detail/no-youtube-shorts/hjfkenebldkfgibelglepinlabpjfbll
- https://github.com/doma-itachi/Youtube-shorts-block MIT license & 50 000+ users👍 @doma-itachi join us?😳☀️
#1383 #1146 (#1168 #1389 #1391)
- hiding shorts everywhere: https://github.com/ProbablyRaging/hide-youtube-shorts (store version requires browser history access...?)
- hiding shorts on the homepage: https://chrome.google.com/webstore/detail/no-youtube-shorts/hjfkenebldkfgibelglepinlabpjfbll
Does this comment mean that you guys won't develop a feature to block/hide shorts, and want us to use other extensions for that?
Hiding shorts, though, would be relevant for ImprovedTube to offer.
@ikki4 @KaKi87 yes, already set Priority A. simple feature even. (and MIT means code is allowed to be copied) we need to find more contributors and catch up.
only bugs are first. (and hypothetically/sometimes "Priority A+": features that nobody else implemented but equally relevant. Like this was 1 year ago)
I use something similar to what allanlaal posted. Fragment from my userscript:
document.addEventListener('DOMSubtreeModified', function (e){
.....
if (event.target.tagName && (event.target.tagName == 'YT-HORIZONTAL-LIST-RENDERER' || event.target.tagName == 'YTD-SECTION-LIST-RENDERER'
|| event.target.tagName == 'YTD-ITEM-SECTION-RENDERER' || event.target.tagName == 'YTD-THUMBNAIL')
&& event.target.querySelector('.ytd-thumbnail a[href^="/shorts/"], .ytd-reel-item-renderer a[href^="/shorts/"], .ytd-compact-video-renderer a[href^="/shorts/"], ytd-grid-video-renderer a[href^="/shorts/"]')) {
Array.from( event.target.querySelectorAll('a[href^="/shorts/"]')).forEach(el => {
el.href=el.href.replace('/shorts/','/watch?v=')
})
bump
@ImprovedTube I read that you completed this issue "View shorts as regular videos." How can I enable this feature please?
This isnt done, I think its just closed so all discussions happen in https://github.com/code-charity/youtube/issues/1701. Dont know why since this is the earlier lower number issue.
@raszpl If I understand correctly, then this issue "View shorts videos as regular videos" was closed as a duplicate of "Redirect shorts to default player." Although @ImprovedTube marked this issue as completed, neither issue is actually completed. Is this correct?
There is no "close as duplicate" option available to pick. Maybe its configurable somewheer in github.
mouse-over "not planned" for added (dis)satisfaction(?)
hi @schackbrian2012, Welcome to the highly neglected messy sweat-shop of immediately highly productive collaboration! While we are obviously still early adopters of science 2.0 (also called new-work or wiki) (, as indicated by the fact that a shockingly small amount of projects have surpassed even a 100 past contributors (and thus lies between us and the top like Bitcoin on Github or Star Wars in Wikipedia), of course even the development of this tool-set (Github) seems virtually inactive since serving the dream appetizer back in 2008 & following years. (~= please join us already. I trust you can close #1701 as completed in no time)
Dont know why since this is the earlier lower number issue.
might be based on current state & efficiency of content while newer issues also get newer attention.
Maybe its configurable somewheer in github.
mouse-over "not planned" for added (dis)satisfaction(?)
and discussions allow the exact reason @raszpl. More dynamically one could just keep everything "open" unlimited, like it should, adding tags #done and #duplicate. Then excluding these from issue searches by default (and contribute that to github/refined-github. (Unfortunately the issue search doesn't seem to accept logical OR | for labels, even if it does for is:open|is:issue)
Wh6y do you iteratively edit this post? I get email notification for every edit.
Greetings @kotenok2000! Sorry! Congratulations reading all your emails!
hi @schackbrian2012, Welcome to the highly neglected messy sweat-shop of immediately highly productive collaboration! While we are obviously still early adopters of science 2.0 (also called new-work or wiki) (, as indicated by the fact that a shockingly small amount of projects have surpassed even a 100 past contributors (and thus lies between us and the top like Bitcoin on Github or Star Wars in Wikipedia), of course even the development of this tool-set (Github) seems virtually inactive since serving the dream appetizer back in 2008 & following years. (~= please join us already. I trust you can close #1701 as completed in no time)
@ImprovedTube Is there any way to donate other than cryptocurrency?
I had an Idea for a feature that could be added.
I don't like the youtube shorts player, and I'm sure others don't aswell.
Would it be possible to add a feature that automatically replaces shorts urls "shorts/" to regular videos urls "watch?v=" so that all shorts videos are watched as regular videos?
I tested this on desktop by manually changing the url, so I can confirm it works.
For anyone who does like the shorts format this would be a toggleable feature so they can still watch videos in the shorts format.