Ontime v1 - old
  • ontime
  • Feature list
  • Main Concepts
    • Application shortcuts
    • Interface
      • Settings Menu
      • Event List
      • Timer Control
      • Display Messages
      • Info
    • Event Types (Blocks)
      • ⚙️Settings
        • App Settings
        • Event Data Settings
        • URL Aliases Settings
        • Cuesheet Settings
        • OSC Settings
  • Views
    • Network views (Intro)
    • Stage Timer
    • Minimal Timer
    • Backstage Info
    • Public Info
    • Lower Thirds
    • PiP
    • Studio Clock
    • Cuesheet
    • Countdown
    • Clock
  • Control and feedback
    • OSC
    • HTTP API
  • Features
    • Smart Time Entry
    • The delay workflow
    • Roll
    • Import events from Excel
    • URL Aliases
    • Edit Anywhere
    • Headless Mode (Docker)
    • Note: Lower thirds in OBS
    • User fields
    • Custom Styling
    • Make your own viewer
    • Count to anything
  • ❤️Additional Notes
    • Control Ontime from vMix
    • Sync: Poll ontime status
    • Use in Raspberry Pi
Powered by GitBook
On this page

Was this helpful?

  1. Views

Clock

Just a big fat clock, nothing else.

PreviousCountdownNextOSC

Last updated 2 years ago

Was this helpful?

Sometimes you just need to know the time. This is it.

URL Modifiers

Also sometime you need to customise that timer. This is also it.

See below the customisable features, your URL would end up looking like

Parameter
Options
URL
Action

Key

00FF00

/clock?key=00ff00

Background colour in hexadecimal

Text Colour

FF00FF

/clock?text=ff00ff

Text colour in hexadecimal

Text Background

000000a

/clock?textbg=000000a

Colour of text background in hexadecimal

Font

Arial

/clock?font=Arial

Font family, will use the fonts available in the system

Text Size

0.0 - n

/clock?size=1.5

Scales the current style (0.5 = 50% 1 = 100% 2 = 200%)

Align Horizontal

start | center | end

/clock?alignx=start

Moves the horizontally in page to start = left | center | end = right

Offset Horizontal

number

/clock?offsetx=100

Offsets the timer horizontal position by a given amount in pixels

Align Vertical

start | center | end

/clock?aligny=end

Moves the vertically in page to start = left | center | end = right

Offset Vertical

number

/clock?offsety=-100

Offsets the timer vertical position by a given amount in pixels

Hide Nav

true | false

/clock?hidenav=true

Whether to hide the nav logo in the right corner

12 / 24 hour timer

12 | 24

/clock?format=12

Whether to show the time in 12 or 24 hour mode. Overrides the global setting from preferences

With the clock view, you can use the URL parameters the quickly customise the appearance of that clock. This pairs great with the

aliases feature
http://127.0.0.1:4001/clock?key=f00&text=0ff&font=arial&size=1.2&alignx=start&offsetx=100&aligny=end&offsety=-100
Just the current time