Autoplay next recommended video (#2137)
authorLoveIsGrief <LoveIsGrief@users.noreply.github.com>
Tue, 24 Sep 2019 06:48:01 +0000 (08:48 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 24 Sep 2019 06:48:01 +0000 (08:48 +0200)
commit6aa541481390980f9c85d2e66514ba0e6ce77a35
tree7b2e934647a732645c69e5d05e4b18152b50a6b8
parent32d7f2b754b8d20bf44ae2121c79570cbff973c3
Autoplay next recommended video (#2137)

* Start working on autoplay of next video

* Ignore changes made by gitpod

* Apply changes from PR#1370

* Correct the spelling of recommendations

* Fix linting errors

* Move boolean check to existing onEnded handler

* Pick a random video until the recommendations are improved

* Add simple tests for autoPlayNextVideo

* Fix lint

...again
14 files changed:
.gitignore
client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts
client/src/app/shared/users/user.model.ts
client/src/app/videos/+video-watch/video-watch.component.html
client/src/app/videos/+video-watch/video-watch.component.ts
client/src/app/videos/recommendations/recommended-videos.component.ts
server/controllers/api/users/me.ts
server/helpers/custom-validators/users.ts
server/models/account/user.ts
server/tests/api/check-params/users.ts
server/tests/api/users/users.ts
shared/models/users/user-update-me.model.ts
shared/models/users/user.model.ts