- 微信小程序支持hls.js吗?
微信小程序支持hls.js吗?
2022-04-20 - live-player的autoplay问题
- 当前 Bug 的表现(可附上截图) <live-player class='player' style='height:50vh;height:50vw' id='player' src='rtmp://192.168.2.50:1937/ceshi/92' mode='live' min-cache='1' max-cache='3' object-fit='contain' autoplay='false' orientation='vertical' muted='false' bindstatechange='onPlay'> </live-player> [图片] autoplay设置都为flase了 为什么还是会自动播放呢?
2018-10-25 - live-player cover-view层级问题
- 当前 Bug 的表现(可附上截图) live-player内写cover-view,其中cover-view的opacity给0,长宽和live-player一样,然后给cover-view添加bindtap事件,有时候会出现获取不到cover-view的bindtap事件 - 预期表现 - 复现路径 - 提供一个最简复现 Demo
2018-08-29 - 右上角关闭按钮能否隐藏
- 需求的场景描述(希望解决的问题) [图片]请问下这个按钮可以自己控制显示隐藏吗 - 希望提供的能力
2018-08-28 - 小程序单个页面全屏
- 需求的场景描述(希望解决的问题) 希望单个页面能全屏 - 希望提供的能力
2018-08-24 - live-palyer ios 全屏错位
- 当前 Bug 的表现(可附上截图) 非全屏[图片] 全屏[图片] - 预期表现 - 复现路径 - 提供一个最简复现 Demo index.wxml页面 <view class='container-box'> <view class='camera-view'> <live-player style="width: 100%;height: 100%;" id="camera-player" src="rtmp://192.168.2.50:1937/camera/2" mode="RTC" orientation="vertical" object-fit="contain" background-mute="false" autoplay='true' bindstatechange="onCameraPlayEvent" bindfullscreenchange="cameraFullscreenChange"> <cover-image class="button_bottom" src="../../images/full.png" bindtap='cameraFullscreenClick'></cover-image> </live-player> </view> <view style='height:0.5%;'></view> <view class='camera-view'> <live-player style="width: 100%;height: 100%;" id="camera-player1" src="" mode="RTC" orientation="vertical" object-fit="contain" background-mute="false" autoplay='false' indstatechange="onCamera1PlayEvent" bindfullscreenchange="camera1FullscreenChange"> <cover-image class="button_bottom" src="../../images/full.png" bindtap='camera1FullscreenClick'></cover-image> </live-player> </view> </view> index.js Page({ /** * 页面的初始数据 */ data: { firstshow: true, cameraData: { cameraPlayUrl: '', cameraPlayCxt: {}, isFullscreen: false, }, camera1Data: { cameraPlayUrl: '', cameraPlayCxt: {}, isFullscreen: false, }, mute: false, }, onCameraPlayEvent: function (ret) { this.playEvent(ret.detail.code); }, onCamera1PlayEvent: function (ret) { this.playEvent(ret.detail.code); }, playEvent(code) { }, cameraFullscreenChange: function () { this.setData({ ['cameraData.isFullscreen']: !this.data.cameraData.isFullscreen }); }, camera1FullscreenChange: function () { this.setData({ ['cameraData1.isFullscreen']: !this.data.cameraData1.isFullscreen }); }, cameraFullscreenClick: function () { console.log(1); if (this.data.cameraData.isFullscreen) { this.data.cameraData.cameraPlayCxt.exitFullScreen(); } else { this.data.cameraData.cameraPlayCxt.requestFullScreen({ direction: 90 }); } }, camera1FullscreenClick: function () { console.log(1); if (this.data.cameraData1.isFullscreen) { this.data.cameraData1.cameraPlayCxt.exitFullScreen(); } else { this.data.cameraData1.cameraPlayCxt.requestFullScreen({ direction: 90 }); } }, createPlayCxt: function () { this.setData({ ['cameraData.cameraPlayCxt']: wx.createLivePlayerContext('camera-player'), ['cameraData1.cameraPlayCxt']: wx.createLivePlayerContext('camera-player1'), }) }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { }, /** * 生命周期函数--监听页面初次渲染完成 */ onReady: function () { var self = this; this.createPlayCxt(); this.data.firstshow = false; }, /** * 生命周期函数--监听页面显示 */ onShow: function () { var self = this; // 保持屏幕常亮 wx.setKeepScreenOn({ keepScreenOn: true }) }, /** * 生命周期函数--监听页面隐藏 */ onHide: function () { console.log("onhide"); }, /** * 生命周期函数--监听页面卸载 */ onUnload: function () { }, }) index.css page{ background-color:#f3f3f3; } .container-box{ height: 100vh; width: 100%; } .camera-view{ /* height: 54.5%; */ height: 30.5%; } .camera-blank{ height: 0.5%; } .button_bottom { position: absolute; top:0px; left: 0px; z-index: 11111; width: 48px; height: 48px; display:inline-block; }
2018-08-24 - bindinput
input 组件,设置bindinput事件后,在android5.1,微信6.6.7中如果我输入之后直接点击提交(不点别的任何地方)代码根本就不执行bindinput事件,别的android系统是好的
2018-07-18 - cover-image
cover-image设置mode模式并没有变化 我看文档里面cover-image也没有mode属性的介绍,是不支持吗
2018-07-18 - wx.request重复
ios6.7.1中wx.request在发送post请求时,会执行两遍,打印出来我看到有两遍request begin和request success,这个不是必现的,请问下你们ios中遇到这个问题了吗
2018-07-17 - live-pusher是否支持在pad使用
- 需求的场景描述(希望解决的问题) - 希望提供的能力 你好 请问ipad支持live-pusher和live-player标签吗
2018-07-16