Difference between revisions of "Drawing Plugin"

From MSX - Wiki
Jump to navigation Jump to search
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{benchmark}}
 
{{benchmark}}
The plugin can be used with version '''0.1.123''' or higher.
+
The plugin can be used with version '''0.1.144''' or higher.
  
 
== Example ==
 
== Example ==
Line 26: Line 26:
 
                     },
 
                     },
 
                     "properties": {
 
                     "properties": {
 +
                        "control:return": "silent",
 +
                        "control:action": "player:button:content:execute",
 
                         "progress:type": "fix:",
 
                         "progress:type": "fix:",
 
                         "button:restart:enable": false,
 
                         "button:restart:enable": false,
Line 34: Line 36:
 
                         "button:content:focus": true,
 
                         "button:content:focus": true,
 
                         "button:content:icon": "palette",
 
                         "button:content:icon": "palette",
                         "button:content:action": "player:restart",
+
                         "button:content:action": "player:auto:restart",
 
                         "label:position": "Select {ico:msx-white:palette} to perform drawing actions",
 
                         "label:position": "Select {ico:msx-white:palette} to perform drawing actions",
                         "trigger:back": "player:stop"
+
                        "label:duration": "Alternatively, press {txt:msx-white:OK} while drawing is in foreground",
 +
                         "trigger:back": "player:stop",
 +
                        "trigger:stop": "close:drawing"
 
                     }
 
                     }
 
                 }]
 
                 }]

Revision as of 13:32, 12 January 2022

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.144 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",
                        "trigger:stop": "close:drawing"
                    }
                }]
        }]
}

Demo[edit]

See also[edit]