Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

两个窗口不能播放同一个源 #481

Open
qianciling opened this issue Mar 5, 2023 · 1 comment
Open

两个窗口不能播放同一个源 #481

qianciling opened this issue Mar 5, 2023 · 1 comment

Comments

@qianciling
Copy link

**什么jzvd版本
7.7.0

**什么播放器内核
默认

**相关log是什么

**demo是否有这个问题

**自己做了哪些修改

**如何操作复现
设置左右两个JzvdStd,并设置同一个源路径去播放
`
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".page.video.VideoFragment">

<cn.jzvd.JzvdStd
    android:id="@+id/vd_std_left"
    android:layout_width="0dip"
    android:layout_height="0dip"
    android:background="@mipmap/definition_balance1_left"
    app:layout_constraintBottom_toTopOf="@id/vd_std_right"
    app:layout_constraintDimensionRatio="1:1"
    android:layout_marginTop="12dip"
    android:layout_marginBottom="6dip"
    app:layout_constraintHeight_percent="0.3"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

<cn.jzvd.JzvdStd
    android:id="@+id/vd_std_right"
    android:layout_width="0dip"
    android:layout_height="0dip"
    android:layout_marginTop="6dip"
    android:layout_marginBottom="12dip"
    android:background="@mipmap/definition_balance1_right"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintDimensionRatio="1:1"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintHeight_percent="0.3"
    app:layout_constraintTop_toBottomOf="@id/vd_std_left" />

</androidx.constraintlayout.widget.ConstraintLayout>`

**什么安卓版本,什么机型
android6.0 杂牌平板

**截图或者视频说明情况
Uploading 1678000146286.jpg…

@qianciling
Copy link
Author

好像与问题 #479 一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant