Velocity Tools: Setup Guide For
Velocity Tools: Setup Guide For
Velocity Tools
Velocity 2
Setup Guide
Velocity provides a Velocity Tools area within the software for the creation of custom web control interfaces. Log into
the Velocity server to view and edit the tools.
1. Open a browser on the local computer and inter in Velocity’s IP address.
3. Locate the ≡ in the top left corner of the home page and left click to open the menu.
Velocity 3
Setup Guide
Examples have been provided to help with customization. Select the examples folder to open up a view of the
sample code.
NOTE: Atlona does not provide instructions for coding. The files will use HTML, CSS, and JavaScript. If
these languages are unknown, please do not try adjusting them.
Velocity 4
Setup Guide
Room Linking
The new custom web control look must be associated to a room before it will be come visible. Before linking a room,
it must be exported. This will provide a back up in case the room needs to be reverted back to the original Velocity UI
or switched to another custom UI.
1. Locate the ≡ in the top left corner of the home page and left click to open the menu.
3. Select All Rooms from the menu. A new screen will appear.
4. Select Export on the room the new control GUI will be used in.
5. Save the room in an easy to find spot on the local PC for later use.
5. Select the Room Controls Options button from the right side of the header bar inside the room controls. A new
screen will appear on the left side of the screen.
NOTE: This can also be done from the Edit Room Details screen. Both selections will have the same
options list.
Velocity 5
Setup Guide
7. Select the custom URL file name from the drop down list to associate the new look to the room.
IMPORTANT: DO NOT launch the control page UI until the correct UI has been selected from the drop
down list. Once a UI has been launched, the room MUST be deleted before another UI can be selected or
the room may become unstable.
8. Launch the control page to view the updated UI.
If another UI has been created or the room is to be reverted back to the original Velocity UI:
1. End any current conference calls or meetings.
5. Import the previously saved copy of the room. The room will have the original Velocity UI selected. If loading
a new UI, follow the steps for selecting the UI and launch the control page again to view.
Velocity 6
API
This sections will provide strings and commands needed for coding a new UI.
Room Inputs
When overriding the default Velocity template the http traffic will redirect to the new file and pass the following url
parameters.
roomId: string representing the room you are controlling.
version: string representing the current version of Velocity.
These parameters can be in javascript to perform queries by the room and also use the Velocity js library in the new
UI application.
POST
All API requests are routed through a single URI POST Request at the following URI:
http://{host}/api?path=API
For the most part GlobalMessageType and State fields will be used.
The differnet types of GlobalMessageTypes are the following:
“” The request was performed successfully.
“Warning” The request was performed successfully but indicates a warning.
“Error” The request failed and the GlobalMessage and Trace should be analyzed and handled.
To parse the State (Results) use the built in JSON.parse({string}) function in javascript. Example:
action : GetRoomMacros
state :
RoomId : string
JSON example:
State Response:
Velocity 7
API
{
Errors : {ErrorMessage : “”, HasError: false, ErrorCode:0},
RoomId : “59f0b387ac1a451743c21f6d”,
Macros : [{MacroId: “59f0b3f2ac1a451743c21fc4”, Name: “Macro 1”, Type:”Macro”}]
}
Execute Macros
Command:
action : ExecuteMacro
state :
MacroId : string
JSON example:
{
Errors : {ErrorMessage : “”, HasError: false, ErrorCode:0},
MacroId : “59f0b3f2ac1a451743c21fc4”
}
{
controller : string Default to “API”
action : string
state : object
callback : func Returns response object
}
Response:
State : object
GlobalMessage : string
Trace : string
GlobalMessageType : string
TransactionId : string
Velocity 8
API
Response:
Velocity provides an example of how to load the Velocity javascript js file and interact with the API commands using
the Velocity SDK. Link the room to the file located at /examples/roomMacrosExample.htm then open the control
page. For the example to work, the browser will need internet access because it will pull from a CDN server for a few
react libraries.
NOTE: In order to use the Velocity javascript library the library will load at runtime using the jQuery
$.getScript function because of the version. Load the DOM elements on the successful callback and NOT
onload of the page.
The version can also be hardcoded in the tradition js fetch & call and then updated on any firmware updates from
Atlona for Velocity.
Velocity 9
Toll free US International
atlona.com • 877.536.3976 • 41.43.508.4321
© 2020 Atlona Inc. All rights reserved. “Atlona” and the Atlona logo are registered trademarks of Atlona Inc. All other brand names and trademarks or registered trademarks are the property of their respective owners. Pricing, specifications and
availability subject to change without notice. Actual products, product images, and online product images may vary from images shown here.