Enable Youtube Annotations: can I (and how)?

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Fanrail
Moongazer
Moongazer
Posts: 12
Joined: 2024-06-17, 04:12

Enable Youtube Annotations: can I (and how)?

Unread post by Fanrail » 2024-06-18, 19:36

Operating system: Windows 10
Browser version: 33.2.0
32-bit or 64-bit browser?: 64-bit
Problem URL: https://www.youtube.com/watch?v=GbXFoAlsUvY&t=0s
Browser theme (if not default):
Installed add-ons: Old VK design 61.18; Flashify 1.0; Greasemonkey for Pale Moon 3.31.4; Modify HTTP Response 1.3.8; Pale Moon Locale Switcher 3.1; Tab Mix Plus 0.5.8.4; ThemeTool 6.2.0; uBlock Origin 1.16.6b1; YouTubeNonStop 1.0.10; Adblock Latitude 5.0.9 (disabled)
Installed plugins: (about:plugins): Adobe Acrobat 22.3.20322.0; Adobe Flash 34.0.0.315

If possible, please include the output of help->troubleshooting information (as text):
**PASTE troubleshooting information here**
Long story short, according to the video's author's comment under the video, one of the annotations should activate on the time mark of 0:22, but doesn't since annotations are disabled on YouTube in general. I know there is an extension to enable them on Firefox, but is there such one for Pale Moon?
Also, not so critical but still: does anybody know a working way to disable autoplay for YouTube on Pale Moon? I tried one script, but it didn't work, so I deleted it and forgot its name.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5103
Joined: 2015-12-09, 15:45
Contact:

Re: Enable Youtube Annotations: can I (and how)?

Unread post by moonbat » 2024-06-18, 23:28

Fanrail wrote:
2024-06-18, 19:36
does anybody know a working way to disable autoplay for YouTube on Pale Moon?
You can do that from Youtube's own preferences, there's no need for any extension.

User avatar
Fanrail
Moongazer
Moongazer
Posts: 12
Joined: 2024-06-17, 04:12

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Fanrail » 2024-06-19, 19:06

moonbat wrote:
2024-06-18, 23:28
Fanrail wrote:
2024-06-18, 19:36
does anybody know a working way to disable autoplay for YouTube on Pale Moon?
You can do that from Youtube's own preferences, there's no need for any extension.
And how? I went to the settings tab, yet didn't find it there.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5103
Joined: 2015-12-09, 15:45
Contact:

Re: Enable Youtube Annotations: can I (and how)?

Unread post by moonbat » 2024-06-19, 23:35

My bad, I thought I saw the option but it was only on the mobile app.

Daikun
Lunatic
Lunatic
Posts: 451
Joined: 2013-12-13, 20:54
Location: California

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Daikun » 2024-06-19, 23:58

Fanrail wrote:
2024-06-18, 19:36
Also, not so critical but still: does anybody know a working way to disable autoplay for YouTube on Pale Moon? I tried one script, but it didn't work, so I deleted it and forgot its name.
No scripts or extensions needed. Just click this button on any YouTube video:

Image

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5103
Joined: 2015-12-09, 15:45
Contact:

Re: Enable Youtube Annotations: can I (and how)?

Unread post by moonbat » 2024-06-20, 00:13

Ah yes, that was it. I'd turned it off years ago and forgot how :D

User avatar
Fanrail
Moongazer
Moongazer
Posts: 12
Joined: 2024-06-17, 04:12

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Fanrail » 2024-06-21, 14:19

Daikun wrote:
2024-06-19, 23:58
Fanrail wrote:
2024-06-18, 19:36
Also, not so critical but still: does anybody know a working way to disable autoplay for YouTube on Pale Moon? I tried one script, but it didn't work, so I deleted it and forgot its name.
No scripts or extensions needed. Just click this button on any YouTube video:

Image
Thanks, but I meant this: you know how you click on a video on youtube, you get to the page with the video and then it automatically starts playing? On firefox, I can disable this in the permissions section, so that when I click on a video, I get to the page with the video, but then I have to click on the video once again for it to start playing (this may be helpful when I don't want audio to play before the video starts moving). But I couldn't find this option in Pale Moon's permissions section. So, can you please help me out on this one?

User avatar
Kerebron
Fanatic
Fanatic
Posts: 114
Joined: 2016-12-04, 22:01

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Kerebron » 2024-06-21, 15:24

Fanrail wrote:
2024-06-21, 14:19
can you please help me out on this one?
Go to about:config and change media.autoplay.enabled and media.autoplay.allowscripted to false.

User avatar
Fanrail
Moongazer
Moongazer
Posts: 12
Joined: 2024-06-17, 04:12

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Fanrail » 2024-06-21, 21:22

Kerebron wrote:
2024-06-21, 15:24
Fanrail wrote:
2024-06-21, 14:19
can you please help me out on this one?
Go to about:config and change media.autoplay.enabled and media.autoplay.allowscripted to false.
Did that, now videos are endlessly loading until I click on them to pause and then again to play. And then they don't play, so I have to press the right arrow to skip 5 seconds forward, and then video plays, so I have to press left arrow twice to go back in 10 seconds to get to the start of the video. This is not what is supposed to happen, I'm sure.

User avatar
Kerebron
Fanatic
Fanatic
Posts: 114
Joined: 2016-12-04, 22:01

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Kerebron » 2024-06-21, 23:10

Fanrail wrote:
2024-06-21, 21:22
This is not what is supposed to happen, I'm sure.
Surely not. :) I have these settings set to false since they existed (I hate autoplay) and nothing like that happens. My guess is that there's some kind of conflict with one of your add-ons. From those you mentioned in your OP, I only use Adblock Latitude, so I can't say which one might be the culprit (if any).

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36041
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Moonchild » 2024-06-22, 07:06

After changing those settings, you may have to force refresh youtube with Ctrl+F5 to make sure the lingering scripting isn't in a weird state.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5220
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Night Wing » 2024-06-22, 13:18

Off-topic:
@ Moonchild

This might be slightly "off topic" for this topic thread so I will make this post as OT.

I visit YouTube everyday. I dislike autoplay too whether it be in YouTube or anything else which automatically starts playing videos. The coding below:

"Go to about:config and change media.autoplay.enabled and media.autoplay.allowscripted to false".

As a request, would you consider making the above coding as a default for Pale Moon in future versions?

I know it is easy going into "about:config", but I've got eight (8) hard drives loaded with three linux distros (Mint, MX Linux, Debian) and using linux Pale Moon in them so I always have to go into "about:config" and make these changes for Pale Moon along with other coding I use in "about:config" as well.

It would save a lot of time for people like me who also make other changes than those above in "about:config". Just a suggestion.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36041
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Moonchild » 2024-06-22, 14:33

Off-topic:
Night Wing wrote:
2024-06-22, 13:18
As a request, would you consider making the above coding as a default for Pale Moon in future versions?
No.
The vast majority of people expect videos to play when they load. It's long-established behaviour in just about every browser and I really don't want to change that.

User avatar
Fanrail
Moongazer
Moongazer
Posts: 12
Joined: 2024-06-17, 04:12

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Fanrail » 2024-06-22, 23:52

Moonchild wrote:
2024-06-22, 07:06
After changing those settings, you may have to force refresh youtube with Ctrl+F5 to make sure the lingering scripting isn't in a weird state.
That didn't help. You know how when you turn off youtube autoplay in firefox, there is a youtube icon on the video instead of eternal loading? I want the same for Pale Moon.

gabrgv
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2023-10-28, 18:59

Re: Enable Youtube Annotations: can I (and how)?

Unread post by gabrgv » 2024-07-06, 19:37

Fanrail wrote:
2024-06-21, 21:22
now videos are endlessly loading until I click on them to pause and then again to play. And then they don't play
I too have autoplay set to false in about:config, and for me it shows the (endlessly) loading animation when I open a video in YouTube, and it doesn’t play until I click once to pause and again to play, and then it plays.
Fanrail wrote:
2024-06-18, 19:36
annotations are disabled on YouTube in general. I know there is an extension to enable them on Firefox, but is there such one for Pale Moon?
I couldn’t find any for Pale Moon™/Basilisk; I think that’s because YouTube decided to discontinue video annotations around 2019, when Firefox was already using WebExtensions. But I found a userscript for YouTube¹ that restores them. It aims to recreate the YouTube layout of ~2013. It also increases the YouTube performance greatly. It’s called VORAPIS (or just V3):

https://vorapis.pages.dev/

To use in Pale Moon™/Basilisk you have to download de .zip file available in the site, extract the “Vorapis.user.js” and import it through Greasemonkey for Pale Moon².



Off-topic:
1. I’ve tested the following YouTube userscripts:
Youtube polymer engine fixes, which doesn’t fix for most part the ugliness, and I couldn’t notice any increase in performance.
YouTube Classic, idem.
7ktTube, which doesn’t fix for most part the ugliness, and I couldn’t notice any increase in performance (and videos are not playing?).
Cosmic Cat, which is not working anymore (dead).

2. Maybe Tampermonkey > Greasemoneky?

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1329
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Nigaikaze » 2024-07-06, 20:30

Off-topic:
gabrgv wrote:
2024-07-06, 19:37
Pale Moon™/Basilisk
If you are going to take the time to use the ™ trademark symbol for Pale Moon, you should also do so for Basilisk, since the Basilisk name is trademarked too.
Nichi nichi kore ko jitsu = Every day is a good day.

Walter Dnes
Astronaut
Astronaut
Posts: 664
Joined: 2015-07-30, 20:29
Location: Vaughan, ON, Canada

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Walter Dnes » 2024-07-08, 06:38

Fanrail wrote:
2024-06-18, 19:36
Long story short, according to the video's author's comment under the video, one of the annotations should activate on the time mark of 0:22, but doesn't since annotations are disabled on YouTube in general. I know there is an extension to enable them on Firefox, but is there such one for Pale Moon?
This is a Youtube issue, and should not rely on browser extensions. It looks like annotations have been disabled ON THIS SPECIFIC VIDEO. See comparison with another video, where the "Gear" is selected on both videos...
Attachments
x1.png
x2.png
There's a right way
There's a wrong way
And then there's my way

gabrgv
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2023-10-28, 18:59

Re: Enable Youtube Annotations: can I (and how)?

Unread post by gabrgv » 2024-07-09, 03:55

Walter Dnes wrote:
2024-07-08, 06:38
This is a Youtube issue
Weird… See if you can enable annotations for this video: https://www.youtube.com/watch?v=T-D1KVIuvjA
Attachments
YouTube without userscripts.
YouTube without userscripts.
YouTube with V3 userscript.
YouTube with V3 userscript.

Walter Dnes
Astronaut
Astronaut
Posts: 664
Joined: 2015-07-30, 20:29
Location: Vaughan, ON, Canada

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Walter Dnes » 2024-07-09, 07:46

This is getting "curiouser and curiouser". If Youtube buffers at the start with "If playback doesn't begin shortly, try restarting your device," my "palemoon" profile (not logged in to Youtube) shows 5 items from the "gear" menu, namely "Stable Volume", "Annotations", "Subtitles", "Playback Speed", and "Quality". However, if the video starts smoothly, the "Annotations" item is missing :wtf: This is insane.
Attachments
x1.png
x2.png
There's a right way
There's a wrong way
And then there's my way

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36041
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Enable Youtube Annotations: can I (and how)?

Unread post by Moonchild » 2024-07-09, 10:37

Walter Dnes wrote:
2024-07-09, 07:46
This is getting "curiouser and curiouser". If Youtube buffers at the start with "If playback doesn't begin shortly, try restarting your device," my "palemoon" profile (not logged in to Youtube) shows 5 items from the "gear" menu, namely "Stable Volume", "Annotations", "Subtitles", "Playback Speed", and "Quality". However, if the video starts smoothly, the "Annotations" item is missing :wtf: This is insane.
This is expected. It will default to showing the annotations option. If you're having trouble starting the video then it will not have received the metadata for that video yet which would include a per-video setting for annotations, so it makes perfect sense that the default is shown when you can't get this data, but being removed from the player once it knows it should not show it for this video.
"Just because you are offended doesn't mean you are right." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Post Reply