Reading 7 times please in one post can get very annoying. It is not necessary. It looks like you are pushing the dev to respond. That is not how we want you to act.
I think you have mistakenly done wrong in coding of this extension that’s why I m getting error while exporting the app…
Can you check what’s the problem behind the error…and can you solve the problem of progress slider and forward and backward buttons disable problem only when using MKV format movie but when I use MP4 format movie it works fine…
If you can solve the problem so fix it or provide a solution…
When will you add title view…
I have requested you from many days but you haven’t answered that you are going to add or not
There is a new block in the UI extension called
OnVisibilityChanged You can use that to show or hide a custom title label.
You can use my Relative View extension to overlap that label onto the player.
I don’t know how can I use it can you tell me how can I do this…
Exoplayer Core 1.0.4
Event raised when player has rendered first media frame.
Event raised when player state changes.
Event raised when current playing state changes.
Event raised when loading state changes.
Event raised when media item is changed. Basically when current video/audio is changed and player opens next media item from playlist.
Available Transition Reasons
Event raised when media metadata changes. You get a JSON response.
Event raised when repeat mode changes. You get a numerical repeatMode which you can compare with RepeatModes properties and perform function as per your requirement.
Event raised when shuffle mode changes.
Event raised when video size is changed or first measured.
Event raised when device volume changes.
Event raised when there is an error during media playback. Currently the block is not very efficient as it doesn’t provide proper detail for error. In the next version, I will try to error codes and respective error messages.
Create and initialize player. Must be called before using with
Returns the Exoplayer instance that you can use in
Exoplayer UI - CreatePlayer
Add a new media item to playlist. You can use this block to add multiple media items which are then managed by the player in the form of playlist.
To add subtitles there are two ways :
You can pass a list of subtitles by using dictionary blocks.
Here only two parameters are required :
And the rest of the parameters are optional and you can skip them.
Available Selection Flags For Subtitles
Remove media item at specific index.
Clear all media items.
Stop media playback.
Seek to specific milliseconds.
Convert milliseconds to hh:mm:ss format.
Set repeat modes for player.
Set play when ready.
Current media position.
Check whether media is playing.
Check whether media is loading.
Current media playback state.
This post was flagged by the community and is temporarily hidden.
As I mentioned earlier, its not a bug in the player. The issue is that player can’t process the codecs in that mkv file. You can convert it to supported codes using ffmpeg library.
And I have told you another problem is that I have imported your provided aia in both mit apo Inventor and kodular but when I tried to export apk it can’t export I have attached a screenshot before, the error cames in both builders…
The issue has been fixed. I will push an update till night.
But how can I convert videos into supported codecs…
How can I use ffmpeg library to convert videos…
Can u tell what codecs are supported by your ExoPlayer…
Can you provide a sample aia for adding title because I very confused now…
Provide a sample aia with title view…
Please wait. I am writing docs for the extension.
What codecs are supported by your video player…
I have a request if you can do it,
This help us to cast media from mobile phone to android tv with cast options available
Exoplayer UI 1.0.4
Event raised when fullscreen button is clicked and its status changes. Here you can perform different functions to enter or exit fullscreen.
Event raised when controls visibility changes. Here you can update your UI. For example : You can show/hide a title label etch.
Create player view in a layout.
Create styled player view.
Show system UI. The function is in experimental phase and may not work properly.
Hide System UI. The function is in experimental phase and may not work properly.
Show or hide player controls
Set whether to show an image when playing an audio file.
Set default thumbnail in case if there is no thumbnail in media metadata, the player will show this thumbnail. It works only for audio files.
Set repeat toggle modes. This will show/hide repeat toggle button.
Set when to show loading progress indicator.
Set video resize mode
Automatically show controller when media is interupted during playback.
Milliseconds after which the controller should hide.
Hide controller on touch.
Whether to use default controller or not.
Enable/Disable controls animation.
Active thumb size.
Disabled thumb size.
Buffered track color.
Subtitle background color.
Subtitle foreground color. ( Text Color )
Subtitle edge color.
Subtitle window color.
Text size type.
1- Use SizeTypeAbsolute if you want to set a specific font size irrespective of the player size.
2- Use SizeTypeFractional if you want to set font size relative the player size.
Absolute text size.
Fractional text size.
Subtitle render view type. Use ViewTypeWeb if your subtitles have html styles embedded. For general purpose, you can always use ViewTypeCanvas.
Subtitle edge type.
Subtitle bottom padding.
Whether to ignore bottom padding or not.
Specify a custom font.
one bug didn’t solved yet is that the when I m watching a video the brightness decreased to lowest automatically after watching a video more than 10 minutes…solve this issue…
This is a sample aia that shows how you can customize ui, add title etc :
exoplayer_with_title.aia (1.9 MB)