Sign up | Lost password? | Help

[ advanced search ]

[UserJS] Youtube Video Screen

Forums » Opera Community » General Opera topics » User JavaScript


Go to last post

Wednesday, 18. June 2008, 07:57:02

l815

avatar

Posts: 84

USA

[UserJS] Youtube Video Screen

I made this simple script which allows you to set a black screen behind youtube videos.
I don't think it's perfect, but I'm willing to improve it if people would like.

Features:
-Makes a copy of the video, and makes a new centered [width only] copy
-Hides and stops [to my knowledge] the default loaded video
-Black back screen with transparency set to 90% [Changeable]
-Only shows when Youtube is loaded
-Displays a 'Screen Off, Screen On' link at the top left of the screen

The latest version of this script can be found later in this thread


With Screen OFF:
off2.jpg

With Screen ON:
on.jpg

File:

ytS.js

PS: Don't mind the spelling errors in the code, it's late. I'll fix them tomorrow probably P:

Leave comments & Suggestions!
I hope you enjoy :smile:

Tuesday, 7. April 2009, 19:57:30

AxDna

avatar

Posts: 4

Brazil

My favorite script for You Tube. Thanks :yes:.

In new snapshot release (1413), on Turbo Mode enabled, this script don't work. After turn off Turbo, works fine. Turbo Mode bug?

Sorry for my english :down:

Wednesday, 22. April 2009, 04:19:33

l815

avatar

Posts: 84

USA

Hey everyone, I've been rather busy with college for the past couple of months, which explains my absence.

I'm glad to see this script has been updated (thanks developers :])

Tuesday, 26. May 2009, 22:29:48

Auto pause is not working ?
Expect auto pause its working very well .

Tuesday, 26. May 2009, 23:26:17

larskl

~ moderator ~

avatar

Posts: 18742

Germany

autopause works fine here. which url are you testing on?

Wednesday, 27. May 2009, 22:37:45

Its not working in any video ..
For example ;
http://www.youtube.com/watch?v=Tt1IF9QOIZw&feature=related&fmt=18
In the settings it looks fine ;
var AutoPause = 1;
What is the problem ?
I tried other youtube videos but it didnt work

Wednesday, 27. May 2009, 23:46:50

larskl

~ moderator ~

avatar

Posts: 18742

Germany

works fine here. no idea why it wouldn't work for you. are you using the latest version?

Thursday, 28. May 2009, 12:14:30

yes im using the latest version . before latest version i guess i was using 1.5 and auto pause was working fine .. i guess i will downgrade and try again .

Wednesday, 1. July 2009, 12:32:42

scatbin

avatar

Posts: 57

The username button is once again showing through. I wish youtube would stop messing around with their site....

Wednesday, 1. July 2009, 18:48:36

larskl

~ moderator ~

avatar

Posts: 18742

Germany

Updated to 1.54

Changelog:
* YouTube broke the Upload/Username button yet again...

Download: youtube_screen.js v1.54

Wednesday, 1. July 2009, 18:57:31

Barthezdeleted

avatar

Banned User

Works fine, thanks for the update larskl ! :up:

Wednesday, 1. July 2009, 23:32:20

scatbin

avatar

Posts: 57

As usual, brilliant work larski. Just a heads up though, somethings been changed that's stopped the opacity setting from operating. Set it to 1 or 90 and it's still black.

Sunday, 5. July 2009, 01:08:22

larskl

~ moderator ~

avatar

Posts: 18742

Germany

Originally posted by scatbin:

Just a heads up though, somethings been changed that's stopped the opacity setting from operating. Set it to 1 or 90 and it's still black.


works fine here. Note that opacity settings range from 0 to 1. Thus a valid value would be "0.5", not "50"

Thursday, 17. September 2009, 18:13:58 (edited)

DerInternet

avatar

Posts: 1

GREAT script but i cant watch High Definiton Videos :/


Edit: i can view SOME HD Videos but mostyl play in HQ Format !

Forums » Opera Community » General Opera topics » User JavaScript