
html5
xingchen678
这个作者很懒,什么都没留下…
展开
-
video 隐藏部分控件,
video 播放 全屏 更多控件显示隐藏,自定义视频控件原创 2022-06-07 23:10:49 · 1332 阅读 · 1 评论 -
app嵌入微信H5支付
微信官方提示:提醒:H5支付不建议在APP端使用,如需要在APP中使用微信支付,请接APP支付,文档详见微信支付开发文档本人项目是app嵌入微信H5支付,操作代码如下:直接上代码:(本人项目的写法)下单成功,就可以跳转下面的url了,接口调起H5支付页面let redirectUrl='http://zend.enn.cn/tx/ssopapi/ssop/bsc-h5/#/success'redirectUrl = encodeURIComponent(redirectUrl)wi原创 2020-08-04 11:06:17 · 3554 阅读 · 0 评论 -
vue 微信公众号的H5支付
直接上支付的代码 methods: { goPay() { Indicator.open(); console.log(2322222222222222222); console.log(this.orderId); console.log(this.getCookie("WeiId")); console.log(this.id); if (原创 2020-07-31 14:50:11 · 637 阅读 · 0 评论 -
H5页面,微信公众号,实现的扫一扫功能
直接上代码methods: { saoyisao() { let url = location.href; getjssdk(url) .then(res => { if (res.result == 1 && res.value) { let w = res.value; wx.config({原创 2020-07-16 11:10:42 · 4369 阅读 · 0 评论 -
移动端 (H5) 调试工具 -- vconsole
安装npm安装npm install vconsole --save使用在main.js中引入:import vConsole from 'vconsole';const vConsole = new vConsole();注意一般只在开发和测试环境用,线上不要用原理原理就是重写了window.console...原创 2019-12-20 14:58:01 · 588 阅读 · 0 评论 -
html引入思源黑体
通过Link标签在网页头部引用Google Web Font:<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900">字体:Noto Sans SC 大小:100, 300, 400, 500, 700, 900在需...原创 2019-10-12 19:18:30 · 19023 阅读 · 0 评论 -
IOS中的H5 input type="search" 不显示搜索的解决办法
在IOS(ipadiPhone等)系统的浏览器里打开H5页面。如下写法:在ios中input输入内容后搜索,html提供type=search的模式,但是软键盘弹起后,键盘上没有“搜索”,必须在input外层加上form,必须有action<form action=""><input type="search" placeholder="" placeholde...原创 2019-10-12 17:28:44 · 1788 阅读 · 0 评论 -
利用H5实现RTMP流的WEB移动端直播
主要实现方式:使用H5的video 元素结合H5的网络频播放器(video.js)实现rtmp流的直播播放video.js 介绍Video.js 是一个通用的在网页上嵌入视频播放器的 JS 库,Video.js 自动检测浏览器对 HTML5 的支持情况,如果不支持 HTML5 则自动使用 Flash 播放器。优点: 1.它是开源免费的,你可以在github很容易的获取它的最新...转载 2019-09-17 20:11:46 · 3734 阅读 · 3 评论 -
html5的vedio循环轮播视频和图片,
<img id="imgView" src="images/bg.jpg" class="thumbnail" /><video id="videoView" src="" autoplay="autoplay" controls volume="true" muted="muted" ></video>var notices = null;va...原创 2019-09-16 09:40:27 · 7079 阅读 · 3 评论 -
HTML5 video的多视频循环播放,轮播视频
<div class="video"> <div class="container"> <div class="video-details row"> <h4 class="text-left color-white">初始视屏名</h4> <...转载 2019-09-16 09:32:47 · 7261 阅读 · 0 评论