Coder Social home page Coder Social logo

Comments (2)

GlennHS avatar GlennHS commented on May 24, 2024 2

@isayakmondal this sounds like a really good idea! My main concern is after the playback reaches the end, what would you want to see happen? I could certainly take a look (despite my complete inexperience) but I think it'd look odd if the playback stops and nothing happens. Maybe the gif changes to "Last listened to"?

from novatorem.

novatorem avatar novatorem commented on May 24, 2024

Since this is an .svg that gets loaded once - on first request - it's technically not possible.
The API is capable of getting you the information regarding current time and the song duration, but the issue would be rendering that.

One way I could see it being done is rendering as a "gif" that would grab current time, and simply move it along.
An issue with that one is once the timer runs out and the viewer doesn't reset, it wouldn't update itself.

I'd be interested in seeing how someone overcomes this though, I'm sure a better solution can be thought of.

from novatorem.

Related Issues (20)

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.