【m】远端视频开发
This commit is contained in:
@@ -148,11 +148,12 @@
|
||||
<div class="absolute inset-0 video-fade-in">
|
||||
<!-- [DATA_FIELD: remoteUser.videoStream] [TYPE: MediaStream | null] [BIND: srcObject] -->
|
||||
<!-- [FALLBACK: remoteUser.avatar] [TYPE: string] [URL] -->
|
||||
<img id="remoteVideo"
|
||||
src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=1280&h=720&fit=crop"
|
||||
alt="对方视频"
|
||||
class="w-full h-full object-cover"
|
||||
data-field="remoteUser.videoStream">
|
||||
<video id="remoteVideo"
|
||||
alt="对方视频"
|
||||
class="w-full h-full object-cover"
|
||||
autoplay
|
||||
data-field="remoteUser.videoStream">
|
||||
</video>
|
||||
|
||||
<!-- 远端信息覆盖层 -->
|
||||
<div class="absolute top-6 left-6 glass px-4 py-2 rounded-full flex items-center gap-3">
|
||||
|
||||
Reference in New Issue
Block a user