diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn index d2f7e606168..8e40179a144 100644 --- a/toolkit/content/jar.mn +++ b/toolkit/content/jar.mn @@ -72,6 +72,7 @@ toolkit.jar: *+ content/global/bindings/toolbarbutton.xml (widgets/toolbarbutton.xml) *+ content/global/bindings/tree.xml (widgets/tree.xml) *+ content/global/bindings/videocontrols.xml (widgets/videocontrols.xml) +*+ content/global/bindings/videocontrols.css (widgets/videocontrols.css) *+ content/global/bindings/wizard.xml (widgets/wizard.xml) #ifdef XP_MACOSX * content/global/macWindowMenu.js (macWindowMenu.js) diff --git a/toolkit/content/widgets/videocontrols.css b/toolkit/content/widgets/videocontrols.css new file mode 100644 index 00000000000..75778a0bccd --- /dev/null +++ b/toolkit/content/widgets/videocontrols.css @@ -0,0 +1,7 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* Bug 449358: hide controlbar by default, so we don't show broken controls when script is disabled */ +.controlBar { + visibility: hidden; + opacity: 0.0; +} diff --git a/toolkit/content/widgets/videocontrols.xml b/toolkit/content/widgets/videocontrols.xml index 7122fd0d031..618d8f38e95 100644 --- a/toolkit/content/widgets/videocontrols.xml +++ b/toolkit/content/widgets/videocontrols.xml @@ -9,6 +9,7 @@ + @@ -84,10 +85,12 @@ FADE_TIME_STEP : 30, // ms fadeTime : 0, // duration of active fade animation - fadingIn: true, // are we fading in, or fading out? + fadingIn: false, // are we fading in, or fading out? fadeTimer : null, controlsVisible : false, + firstFrameShown : false, + get dynamicControls() { // Don't fade controls for