出现如下错误
{
"defaultPrevented": false,
"timeStamp": 0,
"_stop": false,
"_end": false,
"type": "onError",
"bubbles": false,
"cancelable": false,
"target": {
"dataset": {},
"id": "",
"offsetLeft": 56,
"offsetTop": 247
},
"detail": {},
"currentTarget": {
"dataset": {},
"id": "",
"offsetLeft": 56,
"offsetTop": 247
}
}
page-gesture="true"
show-mute-btn="true"
enable-play-gesture="true"
vslide-gesture="true"
@error="handleError"
@waiting="videoWaiting"
@loadedmetadata="videoLoadOk"
></video>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello',
src: 'rtsp://192.168.111.71:8554/'
}
},
onLoad() {
},
methods: {
handleError(e) {
console.log(e)
},
videoWaiting(e) {
console.log('1', e)
},
videoLoadOk(e) {
console.log('2', e)
}
}
}
</script>
1 个回复
卡布zp - uniapp小白
解决了吗?我也遇到了