Skip to content

Commit

Permalink
Media Controller Refactor (#517)
Browse files Browse the repository at this point in the history
* Move serializeTimeRanges to utils

* Move delay() to utils

* Moved platform tests to utils file

* Moving mediaUIEventHandlers to rely on passed-in media

* Built media state def obj. No functional change yet.

* Refactored state propagation to use new MediaUISates

* Removed now unneeded Unavailable logic

* Removed use of `this` in UI event handlers

* Move UI request handlers to their own object

* Remove parens, PR request

* Remote linter item cleanup

* chore: Add newline for utils EOF.

* feat(controller-refactor). Migrate guts of controller to separate module.

---------

Co-authored-by: Christian Pillsbury <cpillsbury@mux.com>
  • Loading branch information
heff and cjpillsbury authored Apr 17, 2023
1 parent b894476 commit 462bd03
Show file tree
Hide file tree
Showing 5 changed files with 954 additions and 918 deletions.
Loading

2 comments on commit 462bd03

@vercel
Copy link

@vercel vercel bot commented on 462bd03 Apr 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 462bd03 Apr 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.