Remove or modify timestamp on event video

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
User avatar
TangetMan
Posts: 2
Joined: Mon Apr 08, 2019 5:03 pm

Remove or modify timestamp on event video

Post by TangetMan » Mon Apr 08, 2019 5:19 pm

Is there a way to remove or modify the yellow timestamp and bar when viewing an even video?

Image?

I have searched everywhere and cannot find the setting or hack.

kitkat
Posts: 88
Joined: Sun Jan 27, 2019 5:17 pm

Re: Remove or modify timestamp on event video

Post by kitkat » Tue Apr 09, 2019 5:05 pm

To hide it on the Classic skin, open this file in a text editor:

Code: Select all

/usr/share/zoneminder/www/skins/classic/js/video-js.css
Find this block of text:

Code: Select all

/* Text Track Styles */
/* Overall track holder for both captions and subtitles */
.video-js .vjs-text-track-display {
  text-align: center;
  position: absolute;
  bottom: 4em;
  /* Leave padding on left and right */
  left: 1em;
  right: 1em;
}
Add this on a new line just before the closing curly-brace:

Code: Select all

display: none;
Which will make the block look like this:

Code: Select all

* Text Track Styles */
/* Overall track holder for both captions and subtitles */
.video-js .vjs-text-track-display {
  text-align: center;
  position: absolute;
  bottom: 4em;
  /* Leave padding on left and right */
  left: 1em;
  right: 1em;
  display: none;
}
Save the file and exit the editor.

You'll probably need to do a full-reload of the page in your browser (Ctrl+F5) for the change to take effect; there may be consequences elsewhere if the style is used in other places; and you may need to edit a different CSS file for skins other than Classic.

You could also play with the style to change the look instead of hiding it, if that's what you prefer.

User avatar
TangetMan
Posts: 2
Joined: Mon Apr 08, 2019 5:03 pm

Re: Remove or modify timestamp on event video

Post by TangetMan » Wed Apr 10, 2019 6:51 pm

That's perfect. My cams already have the date and time so getting rid of this one is what I want. Thank you very much!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests