google / google/ExoPlayer

How to Implement ExoPlayer(StyledPlayerView) With Custom Controller?

Open
#10,187 1 comment 0 reactions 1 assignee Claimed by @icbaker View on GitHub
needs triage question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hello,

ExoPlyer version: 2.17.1

I wanted to add a custom control view.
As you can see below I have added everything.
Shows in play/pause ui.
But the play/pause function is not working, what should I do?

//exo_player_control_view
![image](https://user-images.githubusercontent.com/38754200/163390926-3c0ee22b-af5f-4c63-b5f0-e888ad19f8d5.png)

@drawable/ic_exo_icon_play
@drawable/ic_exo_icon_pause

![image](https://user-images.githubusercontent.com/38754200/163390657-ffb168f0-b321-40ca-9832-00692429cc7a.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.