Giter Site home page Giter Site logo

paratii-video / paratii-mediaplayer Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 2.0 50.54 MB

v0.0.2 of the Paratii Player, with a sleeker UI, plugin-oriented architecture

Home Page: http://paratii.video

License: GNU General Public License v3.0

JavaScript 86.69% HTML 11.77% CSS 1.54%

paratii-mediaplayer's People

Contributors

bent0b0x avatar eliawk avatar felipegaucho avatar jellegerbrandy avatar ya7ya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

eliawk ya7ya

paratii-mediaplayer's Issues

Close quality menu

Ahoj,

it would be nice if the playback quality popover would close if it looses focus or something similar.

Greetings
~HerHde

Duplicate player bug on /play route

Mad bug that clones the player and stacks the two copies, spotted on Mac / Chrome:

double gif

It seemed to happen more often when I had more applications and tabs opened.

Remove useless wallet icon from embedded player

I'm very sad to open this issue and to finalise this removal. Feel like better communication (more proactive, on all sides) could've led to a better usage of the feature.

EDIT: not better communication, but probably better documenting of communication, I guess.

For now, I only see useless avatar icons, I click them and they turn purple, that's it. Example below.

screen shot 2018-08-07 at 10 27 42 am

Design "stats" box

We want to make available some basic p2p stats for users, on the embedded player. These can be either inside the wallet/profile space, or separate. I suggest we show:

  • X Peers
  • Y Mb stored || (amount of localStorage we're using [under the suggestion of @EuSouRye, an early uploader]).
  • A cellphone-battery-level-like meter for showing the speed of upload and download (I don't think users will care for individual speeds, but a general visualisation of connection quality can be nice to have. We can have 4 levels of quality according to our averages).

It'd be great to have this almost as a warning, until the user clicks it for the first time (the fact we're using the user's storage should be transparent just like sites are when telling users they have cookies).

Consider replacing Clappr media controls

Right now, some of the player UI is rendered by Clappr (which we style/adjust) and some (e.g. video title, wallet information, etc) is rendered by paratii-portal and react.

This is problematic! Not necessarily a deal-breaker, but problematic.

It takes some effort for us to render all of these UI elements in sync, and it is unclear as to what, exactly, our source of truth is for our UI state. Sometimes we listen to the react state, and sometimes we check the Clappr mediacontrols state (whose api is not well documented).

I experimented w/ adding some transitions/animations to the player UI earlier today, and this was very tricky due to this separation of UI control. In fact I was not able to add these transitions w/o bugs after giving it a significant effort. It may be possible to work around this problem, but if we have the time I think we should look into replacing all of Clappr's default UI controls w/ our own, which are rendered by react and controlled by our application's state.

cc @jellegerbrandy

Installation instructions incomplete

Ahoj,

unfortunately your installation instructions are incomplete, as yarn does not install the peer dependencies, thus leading to missing deps when running yarn dev run:

ERROR in ./src/js/index.js
Module not found: Error: Can't resolve 'hlsjs-ipfs-loader'
[...]
Module not found: Error: Can't resolve 'ipfs'
[...]
Module not found: Error: Can't resolve 'run'
[...]
webpack: Failed to compile.

Greetings
~HerHde

🔧Implement video quality icon and function

Along the lines of #46, we don't have this control yet. It was working pretty well on the legacy player, and I assume we just need to port the code.

@pedrocasa do we have specifications for what happens once the "engine icon" button is clicked?

Create new demo app/page

With the refactor of the lib, the demo page no longer works/loads the player correctly. This needs to be resolved to have a dev experience outside of paratii-player.

Make a decision, yarn vs npm

Right now this repo contains a yarn.lock and a package-json.lock file. Update the readme to use npm or yarn and then delete the other lockfile.

Design.FreeContentWatch

Hi guys,
here are the first sketches for the Mediaplayer (twitter size again)

flow_mediaplayer

Engineering feedback from @jrgarou:

  • simplify class names
    example:
$prefix: paratii-user-info;

.#{$prefix} {
  &-menu // .paratii-user-info-menu
  &-details // .paratii-user-info-details
    &-name // .paratii-user-info-details-name
    &-pti // .paratii-user-info-details.pti
}
  • try not to use inline styles for animations/transitions. Leverage CSSTransition or just use our own transitions by manually applying/removing class names if that doesn't work

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.