MozillaZine


how to change media player page

Discussion of general topics about Seamonkey
Justinh
 
Posts: 324
Joined: November 13th, 2004, 7:03 pm
Location: Alabama

Post Posted March 4th, 2021, 5:25 pm

I'd like to change a CSS rule on the built-in media player page. Is this possible?

morat
 
Posts: 4674
Joined: February 3rd, 2009, 6:29 pm

Post Posted March 5th, 2021, 10:08 am

Are you talking about the video controls?

HTML5 Video
http://www.w3schools.com/html/html5_video.asp

You would need the CSS applied as an agent sheet.

Reference
view-source:chrome://global/skin/media/videocontrols.css

Similar thread: viewtopic.php?f=8&t=3024570

Justinh
 
Posts: 324
Joined: November 13th, 2004, 7:03 pm
Location: Alabama

Post Posted March 5th, 2021, 6:01 pm

Exactly. I can't find the CSS that the sheet uses.

morat
 
Posts: 4674
Joined: February 3rd, 2009, 6:29 pm

Post Posted March 5th, 2021, 10:49 pm

I don't know how to apply CSS as an agent sheet in SeaMonkey.

I can apply CSS as an agent sheet using an autoconfig hack in Firefox.

userChrome.js hacks
http://forums.mozillazine.org/viewtopic.php?p=14854175#p14854175

* <profile directory>\chrome\styles.as.css

Code: Select all
.controlBar {
  background-color: orange !important;
  color: red !important;
}

The style works for me in Firefox.

Reference
http://searchfox.org/mozilla-esr60/search?q=videocontrols.css
http://searchfox.org/mozilla-esr60/source/browser/config/version.txt

Justinh
 
Posts: 324
Joined: November 13th, 2004, 7:03 pm
Location: Alabama

Post Posted March 6th, 2021, 7:32 am

Thanks.

Return to SeaMonkey General


Who is online

Users browsing this forum: No registered users and 2 guests