GithubHelp home page GithubHelp logo

deaths-door / astroplayer-kt Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 2.61 MB

AstroPlayer is an open-source media player designed for the Kotlin Multiplatform. It provides a simple API for audio playback and supports multiple media formats while also providing an Jetpack Compose UI.

Home Page: https://deaths-door.github.io/astroplayer-kt/

Kotlin 99.41% HTML 0.20% Swift 0.39%
android-library ios-library jvm-library kotlin kotlinmultiplatform mediaplayer mediaplayer-library web-library android audio

astroplayer-kt's People

Contributors

deaths-door avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

markst

astroplayer-kt's Issues

Status of WebAssembly support

Hi,

I stumbled on your project when looking for a library that supports audio playback on Kotlin WASM.
README mentions WASM support is in the early stage, but does it work?

I had issues running your project. After cloning the project I had to:

  1. Update target Java from 11 to 17
  2. Change library destination because I can't find the library published on Maven.:
implementation(project(":astroplayer-core"))
implementation(project(":astroplayer-ui"))

Now when trying to run: ./gradlew wasmJsRun I get the following error:

Module parse failed: Unexpected token (3840:156)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| 'kotlinx.coroutines.clearTimeout' : (handle) => { if (typeof clearTimeout !== 'undefined') clearTimeout(handle); },
| 'kotlinx.coroutines.setTimeout_$external_fun' : (p0, p1) => setTimeout(p0, p1),
'com.deathsdoor.astroplayer.core.createHowlProperties' : (source, volume, html5, loop, preload, autoplay, mute, rate) => { src : ["source"] ,volume : volume, html : html5,loop : loop, preload : preload, autoplay : autoplay, mute : mute , rate : rate },
| 'com.deathsdoor.astroplayer.core.Howl_$external_fun' : (p0) => new ref_aG93bGVy.default(p0),
| 'com.deathsdoor.astroplayer.core.release_$external_fun' : (_this, ) => _this.unload(),

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.