Closed slickorange closed 2 months ago
Provide me full error details like video URL and screen shot as well.
I will try to provide more details later. I cannot share the URL as it is on a local development server. I will try different public URLs to see if it is an issue with my specific file.
A screenshot wont help - the app just freezes with that message in the browser development tools console
Basically, that app freezes due to the wrong URL. I'll try to include the encoded URL asap.
Thanks! I have checked now - even with the example URL the web app just freezes with the error in the console.
MediaPlayer(
modifier = Modifier.fillMaxWidth(),
url = "https://commondatastorage.googleapis.com/codeskulptor-demos/DDR_assets/Kangaroo_MusiQue_-_The_Neverwritten_Role_Playing_Game.mp3",
startTime = MaterialTheme.colorScheme.primary,
endTime = MaterialTheme.colorScheme.primary,
volumeIconColor = MaterialTheme.colorScheme.primary,
playIconColor = MaterialTheme.colorScheme.primary,
sliderTrackColor = MaterialTheme.colorScheme.primary,
sliderIndicatorColor = MaterialTheme.colorScheme.primary,
)
I'll definitely check out the update soon. I just ordered a new MacBook. Waiting for that and will definitely update This library on One sprint.
I'll definitely check out the update soon. I just ordered a new MacBook. Waiting for that and will definitely update This library on One sprint.
Thank you! I appreciate it.
It seems to be failing at this line, I don't know why: https://github.com/KhubaibKhan4/MediaPlayer-KMP/blob/1f93c1ae12d897169f812625db1d149cdc8c3d6d/mediaplayer-kmp/src/jsMain/kotlin/HtmlWeb.kt#L145
@slickorange Thank you for your suggestions. I just fixed this issue and updating the latest version on the Maven Central. If you've any suggestions Please let me know.
When trying to use the MediaPlayer in a web app, the web app freezes.
I see the following error in the console: