Web
yunzhonghefei
这个作者很懒,什么都没留下…
展开
-
<video> 标签快进不生效
在H5项目中,使用<video>标签来播放视频,跳不过视频的快进播放,按照原生提供的方法,来进行如下监听设置:var vol = 0.1; //1代表100%音量,每次增减0.1var time = 2; //单位秒,每次增减10秒function listenKeyboard() { var videoElement = document.getElementById("video"); document.onkeyup = function (event) {原创 2021-12-02 16:17:02 · 1422 阅读 · 0 评论 -
web.xml 中配置元素错误提示 The content of element type “web-app“ must match “(icon?,display- name?...
配置xml.xml 文件,IDE提示错误信息如下:The content of element type "web-app" must match "(icon?,display- name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet- mapping*,session-config?,mime-mapping*,welcome-file-list?,e原创 2020-07-20 12:27:21 · 410 阅读 · 0 评论