concat-player.wxml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="plv-mp-contact-layout plv-mp-skin__{{ skin }} {{ aspect === '9:16' ? 'plv-mp-concat-layout-16-9' : '' }}">
  2. <view class="plv-mp-contact-player-list">
  3. <view
  4. class="plv-mp-contact-player-box {{ camera ? '' : 'plv-mp-contact-player-audio' }} {{ camera && muteVideo ? 'plv-mp-contact-player-box-mute-video' : '' }}"
  5. wx:if="pushUrl" style="width:{{widthAndTop.width}}">
  6. <live-pusher
  7. class="plv-contact__live-pusher"
  8. url="{{ pushUrl }}"
  9. mode="RTC"
  10. aspect="{{ aspect }}"
  11. beauty="3"
  12. whiteness="3"
  13. enable-camera="{{ camera }}"
  14. autopush
  15. max-bitrate="200"
  16. bindstatechange="recorderStateChange"/>
  17. </view>
  18. <view
  19. wx:for="{{ pullUrl }}"
  20. wx:key="uid"
  21. class="plv-mp-contact-player-box {{ !camera && !item.isTeacher ? 'plv-mp-contact-player-audio' : ''}}"
  22. style="width:{{widthAndTop.width}}">
  23. <live-player
  24. class="plv-contact__live-player"
  25. src="{{ item.url }}"
  26. mode="RTC"
  27. object-fit="fillCrop"
  28. autoplay="true" />
  29. </view>
  30. </view>
  31. <view class="plv-mp-contact-layout-resize"
  32. style="height:{{resizeHeight}}"
  33. ></view>
  34. </view>