make progressColor only apply when playing inside a region #2730
-
Is there any way to make the progressColor active only when playing inside a region? For example:
I've searched around but it doesn't seem like this is possible - the progressColor seems to always paint the waveform from 0 seconds to the currentTime. Has anyone found a workaround for this?? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I have same issues with him, does any one have ideas on this problem? |
Beta Was this translation helpful? Give feedback.
-
Please help us to have this effect. I want this too but can't find anyway to do it yet. |
Beta Was this translation helpful? Give feedback.
-
@katspaugh Has this been resolved? I'm looking for a solution for this issue as well. |
Beta Was this translation helpful? Give feedback.
-
This is not possible with the current API. You can probably set the progress color to the same color as the waveform and implement your own progress overlay inside a region. Maybe just a simple semi-transparent div increasing its width inside the region element as the audio plays. |
Beta Was this translation helpful? Give feedback.
This is not possible with the current API.
You can probably set the progress color to the same color as the waveform and implement your own progress overlay inside a region. Maybe just a simple semi-transparent div increasing its width inside the region element as the audio plays.