youtube icon indicating copy to clipboard operation
youtube copied to clipboard

View shorts videos as regular videos.

Open MagnificentRay opened this issue 2 years ago • 23 comments

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.

MagnificentRay avatar Feb 19 '22 18:02 MagnificentRay

Hi @MagnificentRay
Agree. Does the shorts player do anything better? vertical videos are bigger?

ImprovedTube avatar Feb 20 '22 03:02 ImprovedTube

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.

MagnificentRay avatar Feb 21 '22 01:02 MagnificentRay

~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

  • should we combine both of these features in one taxonomy? ( vs Hide YoutubeShorts Links)

ImprovedTube avatar Feb 21 '22 22:02 ImprovedTube

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.

MagnificentRay avatar Feb 23 '22 07:02 MagnificentRay

what about only editing the "Share" button?

lokzz avatar Feb 23 '22 15:02 lokzz

I saw a 2014 vertical video that was converted to short

kotenok2000 avatar Feb 23 '22 20:02 kotenok2000

Hi @kotenok2000, lets put such example in this thread

@jacklolidk what do you mean?

ImprovedTube avatar Feb 24 '22 06:02 ImprovedTube

Youtube makes videos that have 1080x1080 resolution and shorter than one minute Shorts https://www.youtube.com/shorts/696P3XYoR5I

kotenok2000 avatar Feb 26 '22 16:02 kotenok2000

I have found 2016 video that was made into short. https://www.youtube.com/shorts/CZg4faMi7RA https://www.youtube.com/watch?v=CZg4faMi7RA

kotenok2000 avatar Apr 26 '22 00:04 kotenok2000

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);
      };

allanlaal avatar May 30 '22 02:05 allanlaal

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

kotenok2000 avatar Jun 16 '22 15:06 kotenok2000

I definitely agree with this. The default player is far better on desktops than the shorts reel which is entirely mobile centric design.

oooooooooooooooo avatar Aug 02 '22 19:08 oooooooooooooooo

Hello,

Since the normal player natively can play a short, the Redirector extension can be used to redirect the latter to the former :

Screenshot from 2022-08-25 17-57-14

No need for ImprovedTube nor any other extension or userscript to implement it.

KaKi87 avatar Aug 25 '22 16:08 KaKi87

@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.

sarim avatar Aug 25 '22 16:08 sarim

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.

KaKi87 avatar Aug 25 '22 16:08 KaKi87

I just opted out of redesign at https://www.reddit.com/settings/

kotenok2000 avatar Aug 25 '22 17:08 kotenok2000

This setting sometimes stops working, but it's just an example anyway.

KaKi87 avatar Aug 25 '22 17:08 KaKi87

  1. https://github.com/doma-itachi/Youtube-shorts-block MIT license & 50 000+ users👍
    @doma-itachi join us?😳☀️

#1383 #1146 (#1168 #1389 #1391)


  1. hiding shorts everywhere: https://github.com/ProbablyRaging/hide-youtube-shorts
    (store version requires browser history access...?)

  2. hiding shorts on the homepage: https://chrome.google.com/webstore/detail/no-youtube-shorts/hjfkenebldkfgibelglepinlabpjfbll

ImprovedTube avatar Jan 20 '23 11:01 ImprovedTube

  1. https://github.com/doma-itachi/Youtube-shorts-block MIT license & 50 000+ users👍 @doma-itachi join us?😳☀️

#1383 #1146 (#1168 #1389 #1391)

  1. hiding shorts everywhere: https://github.com/ProbablyRaging/hide-youtube-shorts (store version requires browser history access...?)
  2. 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?

ikki4 avatar Feb 11 '23 17:02 ikki4

Hiding shorts, though, would be relevant for ImprovedTube to offer.

KaKi87 avatar Feb 11 '23 20:02 KaKi87

@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)

ImprovedTube avatar Feb 21 '23 04:02 ImprovedTube

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=')
      })

raszpl avatar May 02 '23 03:05 raszpl

bump

ImprovedTube avatar Feb 10 '24 01:02 ImprovedTube

#1701

ImprovedTube avatar Mar 06 '24 15:03 ImprovedTube

@ImprovedTube I read that you completed this issue "View shorts as regular videos." How can I enable this feature please?

schackbrian2012 avatar Mar 16 '24 15:03 schackbrian2012

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 avatar Mar 19 '24 15:03 raszpl

@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?

schackbrian2012 avatar Mar 19 '24 19:03 schackbrian2012

There is no "close as duplicate" option available to pick. Maybe its configurable somewheer in github.

raszpl avatar Mar 20 '24 00:03 raszpl

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)

ImprovedTube avatar Mar 20 '24 11:03 ImprovedTube

Wh6y do you iteratively edit this post? I get email notification for every edit.

kotenok2000 avatar Mar 20 '24 11:03 kotenok2000