Skip to content

Error inflating..  #79

Description

@edgelv34

Caused by: android.view.InflateException: Binary XML file line #36: Binary XML file line #36: Error inflating class bg.devlabs.fullscreenvideoview.VideoControllerView
Caused by: android.view.InflateException: Binary XML file line #36: Error inflating class bg.devlabs.fullscreenvideoview.VideoControllerView
Caused by: java.lang.reflect.InvocationTargetException

[build.gradle/app]
implementation 'bg.devlabs.fullscreenvideoview:library:1.1.6'

[xml]

<bg.devlabs.fullscreenvideoview.FullscreenVideoView
            android:id="@+id/fullscreenVideoView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>

[activity]

override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        val videoView = findViewById<FullscreenVideoView>(R.id.fullscreenVideoView)
        val videoPath = "https://bit.ly/2wUgyUw"
        videoView.videoUrl(videoPath)
    }

why... happend..? :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions