view the rest of the comments
Technology
This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.
Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.
Rules:
1: All Lemmy rules apply
2: Do not post low effort posts
3: NEVER post naziped*gore stuff
4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.
5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)
6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist
7: crypto related posts, unless essential, are disallowed
I doubt viewing the ad on YouTube would give you a virus. You’d have to click on the ad, leave YouTube, and at that point google would wash their hands of it and say it’s your fault.
Google has literally deployed crypomining malware through adsence. They don't check ad code before deploying it.
that's a lot different than just running a video clip.
Some people prefer to mine in the background than watch ads
If YouTube takes files from 3rd parties and simply displays them, then viruses are possible. This is more true of ads placed via ad-broker on other websites. To get ad revenue a webmaster provides a space where the ad is inserted. The ad is provided by a 3rd party who pays the ad broker for placement. Neither the webmaster nor the ad broker have any visibility into the content of the ad, which could even contain code (ads which move or present UI elements have code to make those things work)