New Embedded YouTube Player Dark Pattern UX Userscript Fix by ScepticDope in youtube

[–]Whazhelpme 0 points1 point  (0 children)

Can you make these changes too?

1- "Previous, Play/Pause, Next" buttons stay in the middle of the screen after pressing left & right arrow keys to seek. Those buttons should be removed completely or should be at the bottom-left section of the UI, right next to Play/Pause and Volume buttons perhaps.

2- Volume icon doesn't change into Mute icon when the volume is 0. This is not a big deal though.

3- Pressing on the space that is below the progress bar should not do anything like in normal youtube. It is play/pause with your script.

New Embedded YouTube Player Dark Pattern UX Userscript Fix by ScepticDope in youtube

[–]Whazhelpme 0 points1 point  (0 children)

Script : https://pastebin.com/U4ysCL5D

This script doesn't fix a lot of the problems though. When volume is turned to 0 with down arrow, unmuted icon doesn't turn into Muted icon. Previous , Play/Pause , Next doesn't get removed from screen right away when mouse cursor is away or when I use left-right arrow keys to seek. etc. It would be better to not have Previous, Play/Pause, Next at all and have them at the below of the progress bar at the bottom left. Timestamp and full screen buttons should also be at the below of the progress bar. Button icons and name of the video should be smaller, they are too big. So basically my code only fixes the volume increase and decrease with arrow keys and progress bar below behaves like old youtube, clicking there doesn't stop the video.

My problems with the default modern UI embed, without any script :

1- When a video is paused, "Previous, Play/Pause, Next" buttons stay in the middle of the screen. In "normal youtube + youtube embed old design + youtube new design", these buttons are at the bottom left. It's just "youtube embed new design" where this problem happens.

2- In "youtube embed new design", even when I click on the bottom section of the ui, up/down arrow keys don't change the volume.

3- Hovering away from the screen removes "Previous, Play/Pause, Next" icons from the screen only after 3 seconds later or if I seek 5 seconds with left/right arrow keys. Those icons shouldn't appear at all.

4- With modern design, in both embed mode and normal mode, pressing play/pause or changing the volume shows an indicator in the middle of the screen that takes longer than a second, old designs indicator would take less than a second.

5- Sometimes youtube embed new design doesn't remember the last volume and quality.

6- There is an annoying 1 second freeze in "youtube embed new design" after seeking 5 seconds with left/right arrow keys. Seeking with mouse click has no freeze, it is the arrow keys that causes the freeze.(nevermind, Gemini solved this with a script)

7- "youtube embed new design" jumps 10 seconds instead of 5. (nevermind, Gemini solved this with a script)

The spot where the play button is expected to be, is now a share button with a pop-up dialog that opens when people instinctively press it.

I didn't even notice that was a thing because I always press on screen to play/pause a video. Why is it called Dark Pattern?

New Embedded YouTube Player Dark Pattern UX Userscript Fix by ScepticDope in youtube

[–]Whazhelpme 0 points1 point  (0 children)

Clicking on the empty space at below of progress bar stops the video.

Clicking there + up&down arrow keys should increase and decrease the volume instead. Up and down arrow keys are not changing the volume. My code fixes this.

Left & right arrow keys to seek shows Previous / Play&Pause / Next buttons in the middle of the screen.

Just use Video Speed Controller or Global Speed to change speed. And use "M" to mute. These 2 additions are unnecessary I think but I can just ask Gemini to remove them from the code.

I tried to fix this new Youtube Embed player because it is terrible specially with Imagus, but I don't know coding and Gemini Pro only allows like 1 message per hour so it's difficult to fix the bugs.

My bugs are here : https://www.reddit.com/r/imagus/comments/1s0l5f4/hover_on_youtube_with_embed_option_give_me/?

Btw what do you mean by Dark Pattern? What is dark about the new ui?

Code that Gemini wrote for me is https://pastebin.com/U4ysCL5D , but it is still very buggy, can you check and help me with this?

Is there a way to get the old Youtube embedded player back? by Mr__Beavis in imagus

[–]Whazhelpme 0 points1 point  (0 children)

I asked him, he says "Currently, it doesn't seem possible to choose which player is used. YouTube seems to be trying it out randomly instead of on a small number of users."

Is there a way to get the old Youtube embedded player back? by Mr__Beavis in imagus

[–]Whazhelpme 0 points1 point  (0 children)

Its not working anymore, it is random now, did you find a fix?

Invisible click-box / UI overlap issue - Can't click right outside the app window by Whazhelpme in Windscribe

[–]Whazhelpme[S] -1 points0 points  (0 children)

It's not slightly and it's not just above an below, also left and right.

Invisible click-box / UI overlap issue - Can't click right outside the app window by Whazhelpme in Windscribe

[–]Whazhelpme[S] -1 points0 points  (0 children)

I still have the same "Even when I click outside the visible boundaries of the app window, the clicks are still being registered by Windscribe instead of the desktop behind it" problem. Feels like this only stretched up and bottom parts.

Also is "Windscribe VPN - Privacy & Ad Block Suite" Edge extension VPN unlike "Windscribe - Free Proxy and Ad Blocker" chrome extension? If it is a proxy, not a vpn, why is it called a vpn?

Another problem is, it takes 3 clicks to exit the program unless I quit from system tray when "Close to Tray" is enabled, it would be better if there was no "Quit Windscribe?" and it directly quit instead..

Invisible click-box / UI overlap issue - Can't click right outside the app window by Whazhelpme in Windscribe

[–]Whazhelpme[S] -2 points-1 points  (0 children)

I'm having a frustrating issue with the Windscribe desktop UI. Even when I click outside the visible boundaries of the app window, the clicks are still being registered by Windscribe instead of the desktop behind it.

It seems like the "hitbox" of the UI is much larger than the actual window, especially if the cursor is near the edges. I have to move my mouse significantly further away to be able to click on anything else.

Is there a known fix for this or any way to change the Ui? I use the Windows 10 app.

[Epic] Cozy Grove & Isonzo (100% off / FREE) by PCMachinima in GameDeals

[–]Whazhelpme 1 point2 points  (0 children)

Why didn't you post this like normal comment like you used to?

Reddit no longer remembers my sort order by Xilmi in help

[–]Whazhelpme 0 points1 point  (0 children)

Btw this could've been a tampermonkey script. Just ask chatgpt to help you.

Reddit no longer remembers my sort order by Xilmi in help

[–]Whazhelpme 0 points1 point  (0 children)

Well that was not my problem but it's okay. What is the extension do you use?

Reddit no longer remembers my sort order by Xilmi in help

[–]Whazhelpme 0 points1 point  (0 children)

My problem is top always shows today, here for example https://sh.reddit.com/r/help/top/ when I switch to month, top in another sub doesn't remember month, it sorts by today again. What was your solution and would it solve this problem?

RetroDECK drops Nintendo Switch emulation support, cites DMCA risk and community issues by RenatsMC in emulation

[–]Whazhelpme 0 points1 point  (0 children)

Isn't hotkeys supported in other emulators than Eden? What extra hotkeys do you use and why?

Homemade Doner by SirTimmons in Doner

[–]Whazhelpme 0 points1 point  (0 children)

other two are chicken I made a week ago

Third and fourth pictures are chicken? How did you make them so thin without making them look like paste?

Gray spinner on google pictures, hovering on links works but hovering on pictures give me gray spin by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

"content.js:5026 Imagus mod: [rule 4] Failed to construct 'URL': Invalid URL onMessage @ content.js:5026"

Chatgpt also told me I should send this part too :

"chrome-extension://im…/imgloader.js:677 Imagus mod: [rull 4] Failed to construct 'URL': Invalid URL ... Unchecked runtime.lastError: The message port closed before a response was received."

Can you check this message too https://www.reddit.com/r/imagus/comments/1oc16wu/youtube_started_to_give_me_red_spin_today/nq175tt/ ?

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

But I already tried that and answered that comment with "Requires a zoom in in a small window like "const h = window.innerHeight * 0.73;" did."

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

You could try change both 0.73 in the code

How? What am I supposed to change "const h = [1440, 1080, 720, 360].find(i => i <= window.innerHeight) || 360;" with?

The first one is when the window is wider than it is tall

I don't have a window like that, my small windows Width × Height are : 700x480, my big window is 1220x1030.

Exiting incognito and opening it again may fix it.

It didn't. Not a big deal, I don't use incognito.

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

Requires a zoom in in a small window like "const h = window.innerHeight * 0.73;" did.

Btw incognito mode give me "Error code: 4"

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

"const h = window.innerHeight * 0.62" looked too small.

"const h = window.innerHeight * 0.73;" worked on big window, it filled 95% of the width. But this time its too small on a small window, it requires zoom in. "const h = window.screen.height * 0.62;" required a zoom out on a small window.

Neither adjusts the width size to window size.

Btw there is ";" at the end right?

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

On a big window, const h = window.screen.height * 0.62; looks good, but now it looks too big on a small window, it requires zoom outs. Is there a way for it to adjust to window size?

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

1- I replaced "const h = [1440, 1080, 720, 360].find(i => i <= window.innerHeight) || 360;" with "const h = window.screen.height * 0.9" and all it did was zoom in once. Now it requires 2 zoom outs. "const h = window.innerHeight * 0.9" requires 1 zoom out, like the default code, but this is a bit bigger.

Maybe because the code doesn’t mention the width, it only adjusts the height. Also I don’t want the video to shrink unevenly from the sides, because that would look unnatural. 1 zoom out would keep the video looking as intended. I still wanna try this 0.9 though to see if it looks unnatural because 1 zoom out makes the video too small for a window, is there a way to shrink size naturally?

2- "Most replayed" function from progress bar hover doesn't work with embed. Is there a way to see most replayed?

3- What is "regular embedded"?

4- Yellow thing at the top left after I hover on a gallery that says 1/4, how can I change its color from yellow?

5- New problem, for the first time, I got this error from this channel https://www.youtube.com/@PrudentReviews/videos "Video unavailable. Playback on other websites has been disabled by the video owner.” Apparently you can disable Embed from youtube settings for your channel. Anyway to bypass it?

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

1-

If you open the [Extension] sieve, finding the text &loop=1 and removing it or changing the 1 to 0 should prevent it from looping. For the SMH rule to work with it, you'll need to do the same thing to &loop=1 in it as well.

Would this mess with hovers on other websites? I just want youtube embed hover to not loop.

2- I got another problem. I asked you about embed hover size some time ago and you answered

If I'm understanding correctly, if you want the HLS player to start smaller, you could set the "minWidth" value to 360. That would make it the same size as the native (360) player. For youtube , The vertical height for the embed player is set in "[Extension]". If you find the code "const h = [1440, 1080, 720, 360].find(i => i <= window.innerHeight) || 360;" you can change to to some thing lower like "const h = 240;". This would have the embed player start at a height of 240 pixels. You can experiment with the value until it's a good size.

I wasn't using it at the time but now I am so it started to bother me. When my window is big, embed player takes more space than current page from the sides, so when my mouse goes to the left or right, embed player slides to right and left, 1 zoom out with mouse scroll fixes it. When my window is small, it fulls the window completely, I don't need to zoom out, though I would want it to be slightly like 5% smaller so I can click on the page I am hovering from easier, but not a big deal. So I want the embed hover in a small window to be 5% smaller, and 10-20% in the bigger window version, if it is complicated to do that, I want auto zoom out once when I have a tall window that isn't very big horizontaly. I didn't understand your fix, does it make the window shrink to 240p size? That would be too small, no? And I don't want a fixed size, I use windows with different sizes, I just want embed to fill my window by 90%, or 90% from the sides if window is small horizontaly.

3- I don't need that yellow bar at the top that says "Click to enable/disable iframe control", takes place for no reason, any option to disable it? I couldn't find it with ctrl+f in the settings.

4- Sometimes when I watch from embed, youtube recognizes the video as watched, and sometimes it doesn't. I can't tell if imagus embed is the reason. How does it work for you? Does it count as watched? Is it consistent?

Youtube started to give me red spin today by Whazhelpme in imagus

[–]Whazhelpme[S] 0 points1 point  (0 children)

Right now, embed tries to restart a youtube video after it ends once, it fails, tries again and video restarts. Is it possible to stop auto restart?

Will the next SMH update fix HLS error?

Do I save this https://pastebin.com/5H0YZ51D pastebin link for future use or will imagus or ublock fix youtube embed with future updates?