Skip to content

PLAN: Componentize Live Player #1

Description

@maozhenyu123

Here are three possible plans:

1. Pure JS library

Pro:

  • Light-weight
  • More flexible to external developer (can use any framework like React, Vue, jQuery, etc.)

Con:

  • State management?
  • HLS.js has already support most of functionalities
  • Require more workload, need to redesign

2. React Component without Internal State

Pro:

  • Light-weight (relatively), No redundant state management tool (redux, etc.) is needed
  • Relatively easy to work on

Con:

  • Need redesign (from dva/redux model to internal state management)

3. React Component with Internal State

Pro:

  • Easy to achieve at this state

Con:

  • Heavy component, performance issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions