-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Description
I use this:
videoView.setRawData(R.raw.test)
videoView.isLooping = true
videoView.setVolume(1f, 1f)
videoView.prepare { videoView.start() }
And this in layout file:
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_height="match_parent">
<com.yqritc.scalablevideoview.ScalableVideoView
android:id="@+id/videoView" android:layout_width="match_parent" android:layout_height="match_parent"
app:scalableType="centerCrop"/>
</RelativeLayout>
Yet for some reason, after the first playback, I can't hear anything. How come?
Attached sample project.
MyApplication.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels