Giter Site home page Giter Site logo

Comments (4)

bent0b0x avatar bent0b0x commented on June 11, 2024

There are some blockers in paratii-lib right now:

  • cannot fetch data about a video w/o an ethereum address #24
  • cannot properly install/use paratii-lib without some local hacks and npm link #23
  • in general, I think we need some documentation/demo about how to properly instantiate and use ParatiiEth

from paratii-portal.

bent0b0x avatar bent0b0x commented on June 11, 2024

@jellegerbrandy perhaps you can help shed some light on an issue I'm having w/ paratii-lib:

Info to reproduce:

  • paratii-portal branch 16-player
  • yarn link to paratii-lib on branch ipfs, and run yarn run pack within paratii-lib
  • from within paratii-portal, run yarn run dev

I am instantiating ParatiiEth like so. Whenever I attempt to call eth.vids.get(), I get the following error:

image

Any idea of the mistake I am making? Not sure how to properly use ParatiiEth..

EDIT: I think I have realized that the video ids I have been trying to get() were mongo ids, from paratii-player. In a url of /play/{videoId}, what exactly do we expect videoId to be? An ethereum id?

from paratii-portal.

jellegerbrandy avatar jellegerbrandy commented on June 11, 2024
  • the fact taht you need an address is probably a bug in paratii-lib (tracked here: Paratii-Video/paratii-js#24)
  • as far as the library is concerned, videoIds can be any string. I thikn we may want to use uuid's eventually
  • We should fix the docs, but the comment on Paratii-Video/paratii-js#24 should clarify some things

from paratii-portal.

eliawk avatar eliawk commented on June 11, 2024

@jelle the setup of the media player is already done.
maybe we could open new specific issues about the hover, the like, ecc.
I'll close this one

from paratii-portal.

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.