The Playback Plugin

Todo

Write documentation on playback.js.

playback.py - A plugin for Gate One that adds support for saving and playing back session recordings.

Note

Yes this only contains one function and it is exposed to clients through a WebSocket hook.

Hooks

This Python plugin file implements the following hooks:

hooks = {
    'WebSocket': {
        'playback_save_recording': save_recording,
    }
}

Docstrings

playback.save_recording(settings, tws)[source]

Handles uploads of session recordings and returns them to the client in a self-contained HTML file that will auto-start playback.

NOTE: The real crux of the code that handles this is in the template.

Table Of Contents

Previous topic

The Mobile Plugin

Next topic

The SSH Plugin

This Page