收藏
回答

channel-video无法展示视频?

channel-video

<view class="page-container">

  <view class="video-list">

    <block wx:if="{{videoList.length > 0}}">

      <view class="video-grid">

        <view class="video-wrapper" wx:for="{{videoList}}" wx:key="id">

          <channel-video 

            class="channel-video"

            autoplay="true"

            muted="{{false}}"

            object-fit="cover"

            finder-user-name="sphst52gzWi0uz4"

            feed-id="{{item.feedId}}"

          ></channel-video>

          <view class="video-title">{{item.title}}</view>

        </view>

      </view>

    </block>

    <view wx:else class="no-data">

      <text>暂无视频内容</text>

    </view>

  </view>

</view> 

回答关注问题邀请回答
收藏
登录 后发表内容