From dd66db046bd5e19cd0ff2866198b5cc2c8b5a88b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=B3=E9=A9=B9=20=E4=B8=87?= Date: Thu, 14 Dec 2023 09:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=87=AA=E5=AE=9A=E4=B9=89=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=94=AF=E6=8C=81=E4=BA=8C=E7=BA=A7=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JsAccess.md | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/JsAccess.md b/JsAccess.md index 2889a17..1204231 100644 --- a/JsAccess.md +++ b/JsAccess.md @@ -270,13 +270,42 @@ defaultConfig = { gov_player_protocol_error: "协议错误,请确认流格式是否正确", loading_page_wait_video: "等待视频...", loading_page_wait_search_record: "等待搜索录像", + menu_stop: "停止", + menu_screen_full: "全屏", + menu_stretch: "伸缩", + menu_capture: "截图", + menu_rotate: "视频旋转", + menu_mirrorinver: "镜面反转", + control_tip_refresh: "刷新", + control_tip_play: "播放", + control_tip_stop: "停止", + control_tip_sound: "声音", + control_tip_screen_full: "全屏", + control_tip_capture: "截图", + control_tip_record: "录像", + control_tip_stretch: "伸缩", }, //添加菜单 - /*addMenu:[ - { title: "567", onClicked: function (index) { console.log("clicked 567-" + index) } }, - { title: "123", onClicked: function (index) { console.log("clicked 123-" + index) } }, - ],*/ - + //addMenu:[ + // { + // title: "测试1", child: + // [ + // { title: "111", onClicked: function (index) { console.log("clicked 111-" + index) } }, + // { title: "222", onClicked: function (index) { console.log("clicked 222-" + index) } }, + // { title: "333", onClicked: function (index) { console.log("clicked 333-" + index) } } + // ] + // }, + // { + // title: "测试2", onClicked: function (index) { console.log("clicked 测试2-" + index) } + // }, + // { + // title: "测试3", child: + // [ + // { title: "555", onClicked: function (index) { console.log("clicked 555-" + index) } }, + // ] + // }, + //], + //添加按钮 需在class中指定按钮图标和位置 /*addButtons:[ { title: "add1", class: "addbuton-1", onClicked: function (index) { console.log("addbuton-1-" + index) } },