5 Chrome Extensions To Download Youtube Videos

0 views
Skip to first unread message

Angelique Syria

unread,
Aug 4, 2024, 2:15:20 PM8/4/24
to blogindoclo
Manysites now have auto-playing or automatically streaming videos: embedded in news pages, down side bars promoting other content, and some sites even have massive honking-great purely decorative videos in the background of a search page (e.g. AirBnB and Lastminute).

As well as the annoyance factor, these are a problem for me because I'm usually on a metered connection, and these things can waste hundreds of valuable MBs in seconds, on something I didn't even want to watch in the first place. There's almost always no way to stop the video downloading other than closing the page.


Is there any way I can prevent videos from loading at all in Chrome? I've already blocked Flash using Chrome's Content Settings for "Plug-ins". What I want is, a way such that any time Chrome sees a or , it just shows something like a grey box and doesn't even touch the linked video content. Maybe a "click to load video" button would be a nice feature, but it's not necessary.


First of all, what you ask may not completely be achieved as you please. If the case is that you want no video playing on websites because you are on metered connections, and regardless of using Google Chrome, I believe this can only be possible with Firefox and NoScript


Try to install Tampermonkey and search for a script that changes the 'preload' attribute of the tag from 'auto' to 'none'. However, changing this attribute would only stop auto-playing instead of blocking the element entirely, as NoScript does, which means Chrome may still buffer some small parts yet without playing them (BTW, Firefox has a feature to stop auto-play videos).


You can use AdBlockPlus to hide elements you don't prefer by user specific filters. Note you can use this option if you have few websites to block videos and after you discover the tags that hold them, e.g. the filter ##div.hero__background hides the background video on airbnb.com. Otherwise, you can hide every video tag on every website you visit by using the filter ##video.


I still say that you won't get something that block every video on every website. So AdBlockPlus sometimes fail to block with the filter ##video. However, if you visit a website frequently and you know it has videos, use ContentBlockHelper that will identify common elements, like images and video, as icons sorted by their URL sources. Block videos by clicking on the video icon as indicated below, and repeat with the other URL sources (on airbnb.com, videos may not load by default so the screenshot below may differ):


I repeat, this is not a global solution. But it does give you some control on websites you visit frequently until you switch to Firefox (honestly I'm not a fan of Firefox but it's the only browser that should provide a satisfying solution for you).


While none of the solutions on the 'net seemed to work for those increasingly annoying news sites that throw media in your face, I was overjoyed that chrome #61 finally allows us to control this - though it is a lab and will unceremoniously disappear on us one day.


Update: Doesn't work on some sites; and since switching to Vivaldi, this switch is not honored at all, so I use uBlock Origin instead, which seems to work well for most sites, except it doesn't block that darn subscribe to newsletter pop-ups which 75% of sites throw at your face.I hate HTML5 for the increased powers it has given these sites, instead of us.


The HTML element embeds a media player which supports video playback into the document. You can use for audio content as well, but the element may provide a more appropriate user experience.


The above example shows simple usage of the element. Similarly to the element, we include a path to the media we want to display inside the src attribute; we can include other attributes to specify information such as video width and height, whether we want it to autoplay and loop, or to show the browser's default video controls, etc.


Note: Modern browsers block audio (or videos with an unmuted audio track) from autoplaying, as sites that automatically play audio can be an unpleasant experience for users. See our autoplay guide for additional information about how to properly use autoplay.


The controlslist attribute, when specified, helps the browser select what controls to show for the video element whenever the browser shows its own set of controls (that is, when the controls attribute is specified).


Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the resource will be tainted, and its usage restricted.


Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the resource will be tainted and its usage restricted.


When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted use in elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information.


A Boolean attribute that indicates the default audio mute setting contained in the video. If set, the audio will be initially silenced. Its default value is false, meaning the audio will be played when the video is played.


A Boolean attribute indicating that the video is to be played "inline", that is, within the element's playback area. Note that the absence of this attribute does not imply that the video will always be played in fullscreen.


A URL for an image to be shown while the video is downloading. If this attribute isn't specified, nothing is displayed until the first frame is available, then the first frame is shown as the poster frame.


This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience regarding what content is loaded before the video is played. It may have one of the following values:


There are no special considerations for styling ; a common strategy is to give it a display value of block to make it easier to position, size, etc., and then provide styling and layout information as required. Video player styling basics provides some useful styling techniques.


Timed text tracks for subtitles, closed captions, chapter headings, and so on, can be added declaratively by nesting the element. The tracks are specified in Web Video Text Tracks File Format (WebVTT) (.vtt files).


You can detect when tracks are added to and removed from a element using the addtrack and removetrack events. However, these events aren't sent directly to the element itself. Instead, they're sent to the track list object within the element's HTMLMediaElement that corresponds to the type of track that was added to the element:


A TextTrackList containing all of the media element's text tracks (which are used for subtitles, closed captions, and so on). Add an addtrack listener to this object to be notified when text tracks are added to the element.


This code watches for audio tracks to be added to and removed from the element, and calls a hypothetical function on a track editor to register and remove the track from the editor's list of available tracks.


If you use Apache Web Server to serve WebM videos, you can fix this problem by adding the video file type extensions to the video/webm MIME type (the most common WebM file extension is .webm). To do this, edit the mime.types file in /etc/apache or use the AddType configuration directive in httpd.conf:


Videos should provide both captions and transcripts that accurately describe their content (see Adding captions and subtitles to HTML video for more information on how to implement these). Captions allow people who are experiencing hearing loss to understand a video's audio content as the video is being played, while transcripts allow people who need additional time to be able to review audio content at a pace and format that is comfortable for them.


It's worth noting that while you can caption audio-only media, you can only do so when playing audio in a element since the video region of the element is used to present the captions. This is one of the special scenarios in which it's useful to play audio in a video element.


Some media file types let you provide more specific information using the codecs parameter as part of the file's type string. A relatively simple example is video/webm; codecs="vp8, vorbis", which says that the file is a WebM video using VP8 for its video and Vorbis for audio.

3a8082e126
Reply all
Reply to author
Forward
0 new messages