Drawing Plugin

From MSX - Wiki
Revision as of 15:04, 11 August 2021 by Benzac (talk | contribs) (→‎Code)
Jump to navigation Jump to search

This is a special video plugin that has been developed to check the performance and capabilities of a TV device. You can use it to compare the performance/capabilities with other TV (or mobile/desktop) devices. The plugin can be used with version 0.1.123 or higher.

Example[edit]

Screenshot[edit]

Example Screenshot (Drawing Plugin)

Code[edit]

{
    "type": "pages",
    "headline": "Drawing Plugin",
    "pages": [{  
            "items": [{           
                    "type": "default",
                    "layout": "0,0,12,6",
                    "color": "msx-glass",
                    "icon": "msx-white-soft:color-lens",
                    "iconSize": "large",
                    "title": "Start Drawing",                    
                    "playerLabel": "Drawing",
                    "action": "video:plugin:http://msx.benzac.de/plugins/drawing.html",
                    "live": {
                        "type": "playback",                        
                        "action": "player:show"
                    },
                    "properties": {
                        "control:return": "silent",
                        "control:action": "player:button:content:execute",
                        "progress:type": "fix:",
                        "button:restart:enable": false,
                        "progress:marker:enable": false,
                        "button:forward:enable": false,
                        "button:rewind:enable": false,
                        "button:speed:enable": false,
                        "button:content:focus": true,
                        "button:content:icon": "palette",
                        "button:content:action": "player:auto:restart",
                        "label:position": "Select {ico:msx-white:palette} to perform drawing actions",
                        "label:duration": "Alternatively, press {txt:msx-white:OK} while drawing is in foreground",
                        "trigger:back": "player:stop"
                    }
                }]
        }]
}

Demo[edit]

See also[edit]