• Rolando@lemmy.world
    link
    fedilink
    English
    arrow-up
    193
    ·
    5 months ago

    some people still recommend using a VPN and IP address from a country where YouTube ads are prohibited, such as Myanmar, Albania, or Uzbekistan.

    Wait, you can just prohibit YouTube ads at a national level? That’s somehow awesome and terrifying at the same time.

      • deranger@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        60
        ·
        5 months ago

        Yeah, I don’t see what’s terrifying. Countries can make laws, if YouTube wants to operate in that market it has to follow the laws there.

        • Dark Arc@social.packetloss.gg
          link
          fedilink
          English
          arrow-up
          13
          ·
          edit-2
          5 months ago

          There seems to be an abundance of the false notion that large corporations are somehow above governments on Lemmy … and that’s simply not true, at least for corporations that want have legitimate business within the country.

          EDIT: So as to say … perhaps the commenter (at least in the moment) was a bit awestruck seeing laws apply to tech (which often seems to feel as though it’s above the law in some way).

          • Halosheep@lemm.ee
            link
            fedilink
            English
            arrow-up
            9
            ·
            edit-2
            5 months ago

            Myanmar, as a country, has a GDP of 62.26 billion usd.

            Google has a market cap of 2.17 Trillion usd and made a profit of $305 billion usd last year.

            Google makes more money in profit than moves through Myanmar in a year by nearly 5 times. If Google chooses not to operate in their country because of some law they don’t like, what’s to stop them?

            Google definitely has national government level influence, especially considering the pervasiveness of their product suite. Implying that they’re above the law might be too far, but they for sure influence it.

            If the most extreme happens and Google decided that some EU law was too much to deal with compared to the gains, a lot of Europeans could find themselves in a position where Google doesn’t operate in their country. Imagine every Android device becoming unable to use the majority of the service they operate on, or the most common browser, search engine, email service, and video streaming services simultaneously being disabled. I can’t imagine the people will be very happy about that.

          • edric@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            5 months ago

            It kinda depends where. GDPR in the EU is certainly an example of governments imposing their will on corporations. In the US, not so much, as corporations dump tons of money on lobbying that allow to them influence how they are regulated.

    • Confused_Emus@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      5 months ago

      Are these countries even safe to host a VPN server in?

      Edit: Just checked my VPN (Proton) and it has options to connect to Myanmar and Albania. Nifty.

  • ours@lemmy.world
    link
    fedilink
    English
    arrow-up
    118
    ·
    5 months ago

    This must cost YouTube a fortune doing additional processing and reduced flexibility. They are going to hurt themselves and blockers will find a way.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      English
      arrow-up
      41
      ·
      5 months ago

      Not really. They can precompute those and inject it in an MP4 file so long as the settings match and it’s inserted right before an i-frame so that it doesn’t corrupt b-frames. They already reencode everything with their preferred settings, so they only need to encode the ads for those same settings they already do. Just needs to be spliced seamlessly.

      But YouTube uses DASH anyway, it’s like HLS, the stream is served in individual small chunks so it’s even easier because they just need to add chunks of ads where they can add mismatched video formats, for the same reason it’s able to seamlessly adjust the quality without any audio glitches.

      Ad blockers will find a way.

      • ours@lemmy.world
        link
        fedilink
        English
        arrow-up
        14
        ·
        5 months ago

        Re-encoding is one thing, but ads are more or less supposed to be dynamic based on user location and likely some other data to target them.

        Offloading that to the client made a lot of sense but now they have to do this server-side, they have very smart people working on making this as efficient as possible using tricks you’ve mentioned and more but it is still more effort than before. All for something that will likely be circumvented eventually.

        • 4am@lemm.ee
          link
          fedilink
          English
          arrow-up
          8
          ·
          5 months ago

          All of that targeting data lives on Google’s servers already. Your computer isn’t trying to figure out who you are and what you like each ad play, Google already knows who you are when your browser makes a request for a video. Everything you are talking about is already server-side.

          • ours@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 months ago

            The data is but the client gets the specific bits from a CDN. Now they need a server to stitch these server side and stream it to you.

    • scarabic@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Every bit of effort and resourcing they spend on this returns revenue directly. Which is more than they can probably say for a lot of things they do. And they’re smart enough to know that they can’t eliminate blocking, just make it harder and harder so that fewer and fewer people do it.

  • gressen@lemm.ee
    link
    fedilink
    English
    arrow-up
    114
    ·
    5 months ago

    YouTube’s next move might make it virtually impossible to watch YouTube

    • adarza@lemmy.ca
      link
      fedilink
      English
      arrow-up
      9
      ·
      5 months ago

      you’re actually helping by lowering the amount of revenue they have to shuffle offshore and hide from the feds.

  • Rinox@feddit.it
    link
    fedilink
    English
    arrow-up
    90
    ·
    edit-2
    5 months ago

    How it works is that once you start getting these Server Side Ads (SSA), Youtube will create a sort of queue of videos in place of your usual video, with the first few being ads that can’t be skipped and have a red bar (not yellow) and in the end you’ll get your video. They are not literally part of the original video stream, they are separate streams that get injected as if they were the original video. It’s called SSAP, and I’ve been experiencing it from the last weekend. In the meantime, they’ve pretty much broken their player to implement this.

    Ublock Origin has released a temporary fix yesterday here

    Alternatively, you can use this extension to redirect from YouTube videos to piped.video I used it, it works very well, can’t guarantee for much more.

    edit: fixed wording

      • Tyfud@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        5 months ago

        Yeah, there’s ways around this. It’s just that most of the ublock origin blocking specific code, isn’t reusable here and the team will need to start over to deal with this new tactic/approach from Google.

        The cure might eventually be worse than the disease though. If not now, or tomorrow, then the next day.

        • shani66@ani.social
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          5 months ago

          I’ll let the ublock team carve demonic sigils into me and sacrifice my grandma if that’s what it escalates to, I’d sooner lose YouTube entirely than sit through those ads

    • QuadratureSurfer@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      You could also use something like GrayJay, I’ve been using it for a while now and haven’t had any issues with it.

  • UltraGiGaGigantic@lemm.ee
    link
    fedilink
    English
    arrow-up
    82
    ·
    5 months ago

    People are taking the piss out of you everyday. They butt into your life, take a cheap shot at you and then disappear. They leer at you from tall buildings and make you feel small. They make flippant comments from buses that imply you’re not sexy enough and that all the fun is happening somewhere else. They are on TV making your girlfriend feel inadequate. They have access to the most sophisticated technology the world has ever seen and they bully you with it. They are The Advertisers and they are laughing at you.

    You, however, are forbidden to touch them. Trademarks, intellectual property rights and copyright law mean advertisers can say what they like wherever they like with total impunity.

    Fuck that. Any advert in a public space that gives you no choice whether you see it or not is yours. It’s yours to take, re-arrange and re-use. You can do whatever you like with it. Asking for permission is like asking to keep a rock someone just threw at your head.

    You owe the companies nothing. Less than nothing, you especially don’t owe them any courtesy. They owe you. They have re-arranged the world to put themselves in front of you. They never asked for your permission, don’t even start asking for theirs.

    – Banksy

  • cRazi_man@lemm.ee
    link
    fedilink
    English
    arrow-up
    75
    ·
    5 months ago

    Good. This is how YouTube dies. This is how Google dies. This is how competitors/alternatives are born. Stop fighting to make Google services useable against every effort of theirs. Let them drive people away to make (or discover) alternatives.

    • A_Random_Idiot@lemmy.world
      link
      fedilink
      English
      arrow-up
      48
      ·
      edit-2
      5 months ago

      Do you have any idea how many billions with a B it would take to even start a viable, proper competitor to youtube? and how quickly that capital B could end up becoming a Capital T?

      I hate people who keep screaming about let youtube die and alternatives will be born.

      Youtube has been shit for years. No ones made an alternative that is viable.

      Any an all alternatives are subscription based services, and tiny. Like Floatplane, Utreon and whatever the gunfocused one is that I cant remember off the top of my head, if it even still exists.

      Anyone that has that kinda money are probably already in bed with googles capitalistic hellscape ideals for hte internet and not interested in going against them.

      Creating competitors for things like Reddit and Facebook are relatively easy. Creating a competitor for something that probably accumulates hundreds of terabytes, if not more, per hour? That takes insane amounts of storage, and bandwidth, and overhead, and everything else that costs more than any regular person could ever have a hope of even having a wet dream over.

      • Semi-Hemi-Lemmygod@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        ·
        5 months ago

        If you tried to create a centralized one? Yeah, it would take a lot. Would a decentralized one be as expensive? I’m not sure.

        I think the best goal would be to try to create a platform for creators that has a low barrier to entry - both in terms of cost and skill - that gives them the ability to easily and quickly set up a “channel” to “broadcast” from and earn some revenue somehow.

        Why build one competitor to YouTube when we could build a billion of them?

        • A_Random_Idiot@lemmy.world
          link
          fedilink
          English
          arrow-up
          19
          ·
          edit-2
          5 months ago

          Why build one competitor to YouTube when we could build a billion of them?

          Because thats the very reason why people hate current streaming services, and you’re arguing to not only make it worse than that, but to make the end users eat the costs of storage and bandwidth.

          • Semi-Hemi-Lemmygod@lemmy.world
            link
            fedilink
            English
            arrow-up
            9
            ·
            5 months ago

            If they shared the same protocol, or at least reasonably compatible versions of it, you could have one app that does all of them.

            • joshhsoj1902@lemmy.ca
              link
              fedilink
              English
              arrow-up
              7
              ·
              5 months ago

              The protocol isn’t the hard part. It’s the monetizing that is. Creators aren’t looking to provide content for free, especially if they are also now paying for hosting costs.

              Ad spots (like Google does) work well because they can inject an up to date ad into an old video. In something like the fedeverse today a creators only option would be ads baked into the video, but they would only get paid for that up front which isn’t ideal…

              • alsimoneau@lemmy.ca
                link
                fedilink
                English
                arrow-up
                3
                ·
                5 months ago

                Sponsors pay much more than views. So does patrons.

                The true issue is discoverability in my opinion.

                • joshhsoj1902@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  edit-2
                  5 months ago

                  Sponsors pay more upfront. If creators are only using sponsors than their whole back catalogue is basically valueless. If it costs a creator 2-10 cents a month to host a video (based off S3 pricing), but they only made 1000$ on it upfront when the video was made, overtime the back catalogue becomes a pretty significant financial burden if it’s not being monetized

                  Also it’s worth keeping in mind that many people are also using tools to autoskip sponsor spots, and the only leverage creators have for being paid by sponsors are viewership numbers.

                  Patreon is irrelevant, that’s just like Nebula, floatplane etc, it’s essentially a subscription based alternative to YouTube.

                  Discoverability is pointless if the people discovering you aren’t going to financial contribute. It’s the age old “why don’t you work for me for free, the exposure I provide will make it worth your time”, that hasn’t been true before and likely isn’t here. Creators aren’t looking to work for free (at least not the ones creating the high quality content we’re used to today)

        • rwhitisissle@lemmy.world
          link
          fedilink
          English
          arrow-up
          9
          ·
          5 months ago

          Boy howdy, users sure would love to pivot to a peer distributed content system that randomly downloads chunks of a video file as they become available with speeds of anywhere between 2 bytes and 2 megabytes a second (which one you’ll get depends on who you’re getting the chunks from) with literally no guarantee of being able to even complete said download because the people they’re downloading it from may not all have the entire file’s worth of combined data across their respective computers, and they have to download the entire video before watching it to determine whether or not they even want to watch it in the first place. Also, there’s no capacity for monetization without literally doing what Google is trying to do and injecting advertisements directly into the video, so there’s no incentive for any content producers to use this system to distribute said content, meaning it would be a ghost town of a service from the start.

          Yep, that would be a great system. /s

          • A_Random_Idiot@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            5 months ago

            Exactly.

            I’m feeling like this whole “distrubuted youtube!” argument is nothing but a variant of the blockchain fantasy. Seeing a lot of the same style of arguments and ignorance.

            • Balder@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 months ago

              It’s a common trap for certain types of people to assume technology can fix problems that are inventive or socially driven.

              • A_Random_Idiot@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                5 months ago

                Its also a common trap for idiots to grasp hold of a fraction of a fragment of an idea and think it gives them complete and total understanding, and then go around proselytizing their absolute incompetence as if its techno-gospel.

                Which I think is why this distributed youtube bull follows the same general argument trend as the mythical and holy blockchain. That does nothing, but somehow can magically solve all problems.

            • rwhitisissle@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              ·
              5 months ago

              A service people want to use is typically one with redundancy and high availability. Your laptop could overheat, have a drive failure, spontaneously lose its wifi connection, or a million other things. It’s fundamentally unreliable.

              only reason we need a scalable system, is to handle high demand

              Scalability isn’t just about distribution. It’s about reliability and convenience - two things your system as described lacks by design. A video file that no one but you has ever seen has the same exact degree of accessibility as one served to millions.

              We could EASILY EASILY EASILY done it ourselves.

              This is the copium talking. If it had been easy to do and monetizable, it would have already been done. That’s the other part of the problem here. There is no incentive for anyone to use this system to consume or distribute content other than to decouple from Google. Opposition to an existing service is not enough of a motivator for people to use a system. It has to provide some comparative benefit that outweighs the cost incurred by continuing to use the other service. The big thing that Youtube has is, obviously, content. Exabytes of it. Your new service would have…nothing. We have left the age of services starting up and gaining massive movements of people behind them. We are now in an age of the internet in which the inertia of existing services will carry them decades into the future. Youtube is now too big to fail, and too big to be replaced.

                • Schmeckinger@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  5 months ago

                  I want to see how you can serve thousands or millions of people with a Chromebook in your closet. And if you say p2p, that doesn’t deal with spikes in demand and a lot of old content will just vanish even easier than on YouTube. Also it would rely on people being willing to seed.

                • rwhitisissle@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  edit-2
                  5 months ago

                  Blockbuster died because its business model was rendered obsolete by virtue of widespread adoption of the internet and the advent of streaming. And because it refused to shift its business model away from physical media distribution to digital. Let me know when they invent something that makes the internet obsolete, will you? Because that is what it will take to dethrone YouTube.

          • kalleboo@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            5 months ago

            To be fair, a LOT of people swear by Popcorn Time, which is exactly that. I was surprised it worked as well as it does, too.

        • A_Random_Idiot@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 months ago

          Your laptop would become suicidal the second it had to start serving streaming, 4k video to dozens of people, much less hundreds or thousands.

    • PlutoniumAcid@lemmy.world
      link
      fedilink
      English
      arrow-up
      29
      ·
      5 months ago

      It has been THE viteo platform for literally decades. There is so much content there; it would be a tremendous effort to direct that elsewhere.

      And that other site would quickly succumb to storage and bandwidth costs. What options could exist?

    • joshhsoj1902@lemmy.ca
      link
      fedilink
      English
      arrow-up
      21
      ·
      5 months ago

      I fail to follow how a competitor can pop up if the main users it’s attracting are ones that don’t want to view ads or pay for subscriptions.

    • UltraGiGaGigantic@lemm.ee
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      5 months ago

      The alternative should be libraries hosting the peoples internet.

      You may balk at the idea, much like you would have at the idea of free public libraries when originally conceived.

      • eodur@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        5 months ago

        I like this idea so much. Do the public libraries not have some kind of video service already? Seems like a network of library-powered PeerTube instances would serve that niche really well.

    • BruceTwarzen@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      I like youtube, i use it quite a lot. I wouldn’t use it at all without ad and sponsor block. I don’t know how so many people do it, it’s crazy to me.

  • Emerald@lemmy.world
    link
    fedilink
    English
    arrow-up
    72
    ·
    5 months ago

    Worse case scenario, we gotta make an extension that detects the ad UI and blanks the screen and mutes the audio until its over

  • danc4498@lemmy.world
    link
    fedilink
    English
    arrow-up
    67
    ·
    5 months ago

    And once everybody is watching ads and nobody is skipping them, YouTube will start making the commercials shorter and less invasive, right Anakin?

  • dalë@lemm.ee
    link
    fedilink
    English
    arrow-up
    64
    ·
    edit-2
    5 months ago

    I accidentally watched YouTube the other night without adblock, OMFG what an experience.

    If I can’t watch with adblock I’ll just stop using it, it’s only a rabit hole to waste time for me anyway.

    • pixeltree
      link
      fedilink
      English
      arrow-up
      19
      ·
      5 months ago

      Same, just like when reddit killed 3rd party apps

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      ·
      5 months ago

      Yup, and I’m not willing to pay for Youtube Premium because the app kinda sucks and I don’t like Google keeping track of what I watch. I’m willing to pay, but I’d really like to keep using the 3rd party apps I prefer (Grayjay and NewPipe).

      So like Reddit, I’ll drop Youtube if my 3rd party apps stop working. That’s my line in the sand. If Youtube wants to get money from me, it needs to be through an API disassociated from my identity.

  • MrSoup@lemmy.zip
    link
    fedilink
    English
    arrow-up
    60
    ·
    edit-2
    5 months ago

    I don’t see any technical specification in the article, but if they inject the ad at the start of the video, making it part of the video itself, would make possible to just skip it using video controls. To avoid user skippin ad thru video controls there should be client-side script blocking it, so an ad-blocker can use this to tell apart an ad from the video itself.

    Can anyone correct me on this?

    Also, would this affect piped and invidious too?

    • just_another_person@lemmy.world
      link
      fedilink
      English
      arrow-up
      23
      ·
      edit-2
      5 months ago

      I believe this describes them altering the ad host at load time for the page. DNS blocking of ad serving hosts only work if the hostname stays predictable, so just having dynamically named hosts that change in the loading of the page would make blocking more difficult.

      Example: 1234.youtube-ads.com is blocked by AdBlockerX. 5678.youtube-ads-xyz.com is not on the blocklist, so is let through. All they have to do is cycle host or domain names to beat DNS blocking for the most part.

      Previously, injecting hostnames live for EACH page load had two big issues:

      1. DNS propagation is SLOW. Creating a new host or domain and having it live globally on multiple root servers can take hours, sometimes days.

      2. Live form injection of something like this takes compute, and is normally set as part of a static template.

      They’re just banking on making more money from increased ad revenue to offset the technical challenges of doing this, and offsetting the extra cost of compute. They’re also betting that the free adblocking tools will not spend the extra effort to constantly update and ship blocklist changes with updated hosts. I guarantee some simple logic will be able to beat this with client-side blocklist updating though (ie: tool to read the page code and block ad hosts). It’ll be tricky, probably have some false positives here and there, but effective.

      • Natanael@slrpnk.net
        link
        fedilink
        English
        arrow-up
        12
        ·
        5 months ago

        As long as the naming pattern is distinct from important domains you can still block it based on pattern matching. They need to obfuscate ad domains and other hosting domains the same way.

        Creating subdomains is quite fast because the request goes right through when it’s unknown to caches, it’s updates when you reuse existing ones that causes trouble with lag.

      • iopq@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        I’ve tested making new subdomains, it’s literally minutes in real life. Sure, in some pathological case it might be hours, but it’s not actually going to happen realistically.

    • Rinox@feddit.it
      link
      fedilink
      English
      arrow-up
      17
      ·
      5 months ago

      It’s not literally part of the video, exactly because of what you describe. They are separate streams that get injected into the player before the normal video. You can’t skip them or interact with them in any way (pretty sure it also breaks any purchase links etc). Piped or Invidious don’t have them, ytdl also doesn’t download them.

      As of now, afaik, you won’t see them if your account wasn’t selected for the experiment, if you are in incognito mode (with uBO on) or if you have uBlock Origin (and other adblockers) off (you’ll see the normal ads and then the video).

      Otherwise, apply uBO new script if you get them

      • MrSoup@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        How does this actually works? Can you point me to technical documentation about this?

        I’ve only found info about SSAI, not about SSAP. Is it the same?

    • explore_broaden@midwest.social
      link
      fedilink
      English
      arrow-up
      14
      ·
      5 months ago

      That sounds correct for me. It is possible for them to switch to a system where everyone can manually skip past the ad in the video stream but adblockers are useless (by not sending and indication of the ad to the client), but I don’t see that happening since most people don’t use adblockers and letting all of them easily skip past every ad is probably bad for profits.

      • Natanael@slrpnk.net
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        There’s already addons that can recognize in-video sponsored content and skip, if youtube splices in ads into the video stream these addons will still work (although depending on how strict server side logic is, they may have to pause when the buffer runs out until the time of the ad length has passed)

    • kata1yst@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      Honestly it would be trivial for them to make the video controls server side too and simply not accept fast forward commands from the client during the ad.

      We might be in a “Download and edit to watch ad-free” world with this change.

      • MrSoup@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        5 months ago

        Seems too much, really. Even if they do such a terrible thing, would they not expose a “report ad” or “see the product” buttons? Video buffer is still locally downloaded.

      • iopq@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        I accept having to wait until the video downloads past the ad. Certainly not going to watch the ad.

  • AdaA
    link
    fedilink
    English
    arrow-up
    59
    ·
    5 months ago

    I mean, I’ll just continue to not use Youtube…

      • Einar@lemm.ee
        link
        fedilink
        English
        arrow-up
        35
        ·
        edit-2
        5 months ago

        I really wish this would gain some traction. As it is, there is just not enough content there to compete with YouTube in any reasonable way.

        • PrivateNoob@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          22
          ·
          5 months ago

          Well the problem here is that youtubers need some type of monetization too for compensation. Idk Peertube can solve this without ads.

          • PopOfAfrica@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            5 months ago

            Paid subscriptions per month, you watch the newest video for free. Have the youtuber host the server themselves for their own videos and federate that access.

            Would incentivize more evergreen content too.

  • my_hat_stinks@programming.dev
    link
    fedilink
    English
    arrow-up
    57
    ·
    5 months ago

    My gut reaction is that this won’t work long-term. Users on youtube often point to specific timestamps in a video in comments or link to specific timestamps when sharing videos, meaning there needs to be some way to identify the timestamp excluding ads. And if there’s a way to do that there’s a way to detect ads.

    Of course, there’s always the chance they just scrap these features despite how useful they are and how commonly they’re used; they’ve done similar before.

    • Lemminary@lemmy.world
      link
      fedilink
      English
      arrow-up
      28
      ·
      5 months ago

      Feedback across the Firefox and YouTube subreddits highlighted that it could break timestamped video links and chapter markers. However, YouTube knows the length of the ads it would inject, and can offset subsequent timestamps suitably.

      The move also adds a layer of unnecessary complexity in saving Premium viewers from these ads. If they are added server-side, the YouTube client would have to auto-skip them for Premium members, but that also means ad segment info will be relayed to the client, opening up a window of opportunity for ad blockers to use the same information meant for Premium subscribers and skip injected ads automatically.

      It sounds like there’s a silver lining after all.

      • 4am@lemm.ee
        link
        fedilink
        English
        arrow-up
        25
        ·
        5 months ago

        The ads won’t be baked in beforehand, they’ll be injected into the stream in real time. Videos are broken into chunks and sent over HTTP, they’ll just put ad chunks in during playback. There is no need to re-encode anything. If you deep link to a timestamp, the video just starts from that timestamp as normal. If you are a Premium user, the server just never injects the ads.

        But you are correct that the client needs to be aware that ads are happening, so they can be indicated on screen, and so click-throughs are activated.

        This is why Chrome went to Manifest v3 - so you can’t have any code looking for ad signals running on the page to try to counter it.

      • Tamo240@programming.dev
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        5 months ago

        Surely at the server side it knows the premium status of the user it is supplying the video to, so just wouldn’t insert the ads? I don’t see why that would need to be client side.

    • Admiral Patrick@dubvee.org
      link
      fedilink
      English
      arrow-up
      12
      ·
      5 months ago

      YT already scrapped (or broke) setting the start/end timestamps for embedded videos. That hasn’t worked for at least the last few weeks. Embed videos now always start at 0

        • Admiral Patrick@dubvee.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          5 months ago

          Did they change the params or something?

          I have YT embed support in Tesseract, and videos with timestamps broke a few weeks ago (they all start at 0 now). I’ve tried both t= and start= formats: neither worked.

          You can still link to the YT video directly with those, though, but I’ve been unable to get embeds to honor them.

          • Grimy@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            ‘t=’ works for me, but I’m just right clicking and getting it manually to put in docs.

            • Admiral Patrick@dubvee.org
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              5 months ago

              Hmm. Like a Word doc? Maybe it’s just embeds (with timestamps) on other websites that are broken?

              I tried using the embed URLs directly in a browser tab, and those refuse to play at all (they still work embedded, though).

              Definitely something that changed in the last few weeks. The test posts I had are from months ago and worked then.

              • Grimy@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                5 months ago

                Ya on second thought, I don’t think I’m using embedding in the best way and what I’m saying isn’t really related to that. I’m not actually embedding anything.

    • steersman2484@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 months ago

      I’m prette sure they have to send the metadata to the client where an ad starts and ends. Just to make the ad clickable.

      Timestamps can be calculated on the server, but maybe there will be an api endpoint that can be abused to search for the ads.