Sony Pixel Power calrec Sony

Video Platform Observability using Agama AWE SDK - Part 2: Layout & Style

25/05/2022

25 May, 2022

Blog

By Anders Svensson

In our previous article Par1 of this series, we presented the Agama AWE SDK, the requirements needed to create a simple application to provide real use for Agama customers and the configuration of the project.

In the second part of the series, we're diving into how to create the layout and styling, and also elaborate on the application logic.

We have created a boilerplate application and defined the configuration parameters that shall be possible for the users to adapt. It is now time to start creating the actual functionality of the application. An important part of that is the actual layout and structure of the presentation, which for these applications is controlled by standard HTML, CSS, and JavaScript. In the application index.html below, we have modified the boilerplate HTML structure and instead defined a set of div:s used as placeholders for the configured test name and a div for the status indicator.

The ADE will automatically update the UI while editing and saving HTML so the structural changes will be shown immediately. The result is not interesting right now as we have not yet populated the div:s with any content and styling, so the result is still just an empty screen.

The Application logic To start populating the application with the configured content, test logic and the test status results, we need to start adding JavaScript code.

The main application entry point that is called by the Agama application framework is the onUpdate function. This function has two parameters, state and reason. The state parameter is an object that contains the configuration of the application. So, all the parameters that we defined in the JSON returned in the onConfiguration function, will be available in this object. The reason parameter is an integer stating why the function is being called; it allows us to implement different handling and behavior depending on this. In our application we must handle the create and configuration change reason. In the code above one can see how easily and obviously we can access and use the different configuration parameters that we have defined.

The program logic needed to implement the functionality is quite simple. When the application is created, we set up a timer that ensures that our test function update() is called at the user configured interval. The update() function in turn calls the defined REST API and checks the result codes against the configured, and depending on the result adding either a fail or ok CSS class to the status div.

The current result is now as above. We can now see the defined test name, in this case VoD system (which is the name we configured) but we do not see any status symbol. That is correct and it is because we have not yet added the styling for the status div.

Styling Adding CSS styling for the application is the last step in getting the applications appearance and functionality in-place. We use the automatically created file css/style.css and add the following.

It is here where we define the fail to indicate with an orange background, and ok to indicate with a green background.

Yes, now it looks more promising!
LINK: https://agama.tv/video-platform-observability-using-agama-awe-sdk-seri...
See more stories from agama

Most recent headlines

05/01/2027

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be demoed at CES 2026

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...

06/09/2026

Dolby and MagentaTV Bring Fans Closer to the FIFA World Cup 2026 in Germany with Dolby Vision and Dolby Atmos

June 9 2026, 23:00 (PDT) Dolby and MagentaTV Bring Fans Closer to the FIFA Worl...

04/08/2026

Dalet Announces Commercial Availability of Dalia, Bringing Media-Aware Agentic AI to Enterprise Productions

Dalet, a leading technology and service provider for media-rich organizations, t...

07/07/2026

Open call: Apply for the Media Innovation Europe Validation Booster

Applications are now open for the Validation Booster, a six-month acceleration programme supporting journalists, media organisations, content creators, media in...

07/07/2026

HAND Issues Persistent Digital IDs to 50 Top 2026 MLB Draft Prospects

The Universal Talent Identifier (HAND) has issued HAND IDs to 50 top prospects ahead of the 2026 MLB Draft, including consensus top-ranked players Roch Cholowsk...

07/07/2026

Cisco and McLaren Mastercard Formula 1 Team Extend Technology Partnership

Cisco and the McLaren Mastercard Formula 1 Team have announced an extension of their partnership, expanding the scope from networking and communications to incl...

07/07/2026

LucidLink Announces Enhanced Integration with Adobe Frame.io

LucidLink has announced a workflow integration with Adobe Frame.io that gives production teams unified access to Frame.io projects alongside supporting producti...

07/07/2026

Chyron Appoints Ahmed Magd as Middle East Sales Director

Chyron has announced the appointment of Ahmed Magd as Sales Director for the Middle East. Magd joins from previous senior commercial roles at Riedel Communicati...

07/07/2026

Leader Electronics T&M Equipment Used in Live Broadcast of Pope Leo XIVs Visit to Sagrada Famlia

Leader Electronics of Europe has announced that its PHABRIX Qx rasterizer and Le...

07/07/2026

eCLUTCH Secures EMEA and MENA Broadcast Rights for Esports World Cup 2026

eCLUTCH has announced it has acquired broadcast rights to the Esports World Cup 2026 for EMEA and MENA, covering the Middle East, Africa, the Balkans, Sweden, a...

07/07/2026

Riedel and ARRI Support Cinematic Live Production at Eurovision Song Contest 2026

Riedel Communications and ARRI supported ORF's host broadcast of the Eurovis...

07/07/2026

ARRI Releases ALEXA 35 Live Xtreme With High-Frame-Rate SDI Output for Live Production

ARRI has announced the ALEXA 35 Live Xtreme, a camera that adds high frame rate ...

07/07/2026

IBC 2026: LiveU To Exhibit With LU900Q, Sony Integration, EcoSystem Expansion

LiveU will exhibit at IBC 2026 (Stand 7.C24), showcasing the LU900Q Intelligent Production Unit, expanded Sony collaboration, and additions to its open IP-video...

07/07/2026

Peacock Advances Spanish-Language World Cup Streaming With Visin de Campo, Dolby Vision, Real-Time Highlights

Telemundo's coverage is packaged with Multiview, Catch Up with Key Plays, in...

07/07/2026

Australian Rugby League Commission Secures $5.3 Billion Media Rights Deal with Foxtel, Nine, and Sky NZ

The Australian Rugby League Commission (ARLC) has announced a seven-year media r...

07/07/2026

BYUtv Partners With Big 12 for Football Media Days Production

Produced onsite at The Star in Frisco, TX, live coverage of the two-day event airs on ESPN platforms The season for Football Media Days is here, and the Big 12...

07/07/2026

Rogers To Become 100% Owner of Maple Leaf Sports & Entertainment

Rogers Communications Inc. has announced an agreement to acquire the remaining 25% ownership stake in Maple Leaf Sports and Entertainment (MLSE) from Kilmer Spo...

07/07/2026

Mobile TV Groups Nick Garvin on Success of MTVG Production Platform at New Mountain Media Center

End-to-end broadcast solution includes fleet of mobile units, Cloud Control, and...

07/07/2026

SVG Executive Perspectives 2026: Industry Leaders Discuss Biz and Tech Trends for the Year Ahead

Sports-production-tech experts sound off on the state of the industry...

07/07/2026

Mix Buddy instrument mixer from Heritage Audio

New mixer aimed squarely at instrument-level sources Heritage Audio have clearly been busy recently, as alongside their all-new Tubestrip, they've also ...

07/07/2026

Heritage Audio unveil the Tubestrip

New channel strip combines popular hardware designs The latest arrival to the Heritage Audio line-up brings together a selection of their praised hardware d...

07/07/2026

Clear-Com Powers Ross Production Services Mobile Productions

eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({ content_source:......

07/07/2026

New Nielsen data shows Kiwis' wellbeing is shaped by fitness, finance and mental health

New Kessler 10 data now available in Nielsen CMI gives brands a deeper view of h...

07/07/2026

Vitamin brands boost ad spend by 27% as 11.8 million Australians turn to supplements

New Nielsen Ad Intel and CMV data reveals rising competition in Australia's ...

07/07/2026

DAS Disputes Wiegels 3.0 EAS Limitations

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

LiveU to Showcase Q Era Innovations at 2026 IBC Show

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

LucidLink Unifies Adobe Frame.io, Enterprise Storage

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

ARRI Introduces ALEXA 35 Live Xtreme Camera

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

Riedel and ARRI Bring Cinematic Live Production to the Eu...

Riedel Communications and ARRI played a key role in one of the most technically ambitious Eurovision Song Contest productions to date. For the first time in the...

07/07/2026

Berklee Valencia Honors Eric Whitacre at the 2026 Commencement Ceremony

Berklee Valencia Honors Eric Whitacre at the 2026 Commencement Ceremony The Grammy-winning composer was celebrated alongside this years cohort of masters degr...

07/07/2026

Disagreements Abound Over the Adequacy of C-Band Replacements

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

Cameras Become More Connected to Production Workflows

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

NFL on TV: Time to Move the Regulatory Goal Posts?

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

Building a Future-Ready Facility for Tomorrow's Broadcasters

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

Rewriting the Control Room: How Broadcasters Are Going Remote

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

Fincons Group appoints Andrea Fravega as Global BU Media...

The appointment will drive growth and innovation across the Media Business Unit Fincons Group, a leading IT business consultancy and systems integrator company...

07/07/2026

Big Blue Marble debuts next-gen ultra low latency MoQ str...

International broadcast and streaming expert Big Blue Marble has announced a multi-month Proof of Concept (PoC) for Media over QUIC (MoQ) during a major interna...

07/07/2026

Leader provides Test and Measurement for global broadcast...

Test & measurement innovator, Leader Electronics of Europe, is proud to announce that two of its leading products, the PHABRIX Qx rasterizer and LeaderPhabrix L...

07/07/2026

Clear-Com Powers Ross Production Services Mobile Producti...

Clear-Com announced that Ross Production Services (RPS), a leading provider of mobile production solutions for live events and broadcasts, has standardized on ...

07/07/2026

Q Era Innovations Take Center Stage for LiveU at IBC2026

LiveU redefined live newsgathering with the invention of cellular bonding. At IBC2026, Stand 7.C24, the company will show how that foundation is evolving into t...

07/07/2026

Camera to Cloud Meets Camera to Timeline LucidLink Unifi...

LucidLink, a leader in cloud-based file services for content creators, today announced an enhanced workflow integration between LucidLink and Adobe Frame.io tha...

07/07/2026

Comcast's Sky to Acquire ITV Media and Entertainment

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

Digital Alert Systems Details ATSC 3.0 EAS Capabilities to FCC

Share Copy link Facebook X Linkedin Bluesky Email...

07/07/2026

New appointments to Screen Australia board

New appointments to Screen Australia board 7 July 2026 The Albanese Labor Government has made new appointments to the Screen Australia board. Dr Tania Chamber...

07/07/2026

The right team. The right time.' How The Killings at Parrish Station stuck to their creative guns.

The right team. The right time.' How The Killings at Parrish Station stuck t...

07/07/2026

Toby Regbo, Harry Gilby and Jessica Barden lead cast for The Cadburys - the true story of the Cadbury family - with filming now underway in Birmingham

UKTV commission with BritBox and Sony Pictures Television and inspired by Deborah Cadbury's book, Chocolate Wars The six-part series is produced by Fable P...

07/07/2026

Record audiences tune into the ICC Womens T20 World Cup 2026 on Sky Sports

Tuesday 7 July 2026 Record audiences tune into the ICC Women's T20 World Cup 2026 on Sky Sports The ICC Women's T20 World Cup 2026 was the most watche...

07/07/2026

Official trailer released for Fightland, a revenge drama from executive producer Curtis 50 Cent Jackson coming August to Sky and NOW

Tuesday 7 July 2026 Official trailer released for Fightland, a revenge drama fr...

07/07/2026

Riedel and ARRI Bring Cinematic Live Production to the Eurovision Song Contest

Wuppertal July 7, 2026 Riedel and ARRI Bring Cinematic Live Production to the Eurovision Song ContestRiedel Communications and ARRI played a key role in one o...