Skip to content

Commit

Permalink
feat(video-player): add component (VIV-1486) (#1594)
Browse files Browse the repository at this point in the history
* chore: wip

* chore: eip

* chore: wip

* chore: adds tests

* chore: adds styling and tests

* chore: refactor

* chore: added test

* chore: remove event declarations

* chore: reverts events

* Fix play event test

* Fix the pause test

* Test the ended event

* chore: updates tests and styles

* chore: adds src attribute

* chore: remove unused import

* chore: video player in alpha

* chore: update styles

* chore: addresses pr comments

* chore: updates css

* chore: updates tests

* chore: updates ui tests

* chore: updates the tests

* chore: fix wrapper gen

* chore: update styles

* chore: updates styles

* chore: updates ui test

* chore: updates styles

* chore: udates styles

* chore: updates styles

* chore: updates styles

* chore: updates styles

* chore: updates styles and tests

* chore: updates tests

* chore: updates tests

* chore: updated tests

* chore: updates test

* chore: update styles

* chore: updates styles

* chore: update tests

* Fix skipBy tests

* chore: updates e2e tests

* chore: updates tests

* chore: updates readme

* chore: updates tests

* chore: updates packages

* chore: updates video-player

* chore: updates tests

* chore: update formatting

* chore: updates skip-by disable functionality

* chore: updates test

* chore: updates readme

* chore: updates styles

* chore: updates the docs examples

* chore: updates styles

* chore: updates snapshots

* chore: updates styles

* chore: updates styles

* chore: updates styles

* chore: updates styles

* chore: updates snapshots

* chore: updates readme

* chore: updates homepage with video.js reference

* chore: formatting

* chore: udpdates snapshots

* chore:updates snapshots

* Refactor `src` tests

* Refactor autoplay tests

* Playback rates tests refactor

* Renaming and poster test

* Test video element init

* Refactor video player

* chore: update styles - focus

* chore: update formatting

* chore:a addresses pr comments

* chore: update video-player

* chore: formatting

* chore: updates tests

---------

Co-authored-by: James Taylor <[email protected]>
Co-authored-by: Yonatan Kra <[email protected]>
Co-authored-by: Richard Helm <[email protected]>
  • Loading branch information
4 people authored Mar 21, 2024
1 parent 72bd8a2 commit 9bb162f
Show file tree
Hide file tree
Showing 37 changed files with 2,937 additions and 6 deletions.
5 changes: 5 additions & 0 deletions apps/docs/_data/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,10 @@
{
"title": "Audio Player",
"markdown": "./libs/components/src/lib/audio-player/README.md"
},
{
"title": "Video Player",
"status": "alpha",
"markdown": "./libs/components/src/lib/video-player/README.md"
}
]
113 changes: 113 additions & 0 deletions assets/images/captions.en.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
WEBVTT
0
00:00:05.190 --> 00:00:15.100
Subtitles By : Joshua Romel Ladrera

1
00:01:47.250 --> 00:01:49.220
This blade has a dark past.

2
00:01:51.800 --> 00:01:55.800
It has shed much innocent blood.

3
00:01:58.000 --> 00:02:01.450
You're a fool for traveling alone.
so completely unprepared.

4
00:02:01.750 --> 00:02:04.800
You're lucky your blood's still flowing.

5
00:02:05.250 --> 00:02:06.300
Thank you.

6
00:02:07.500 --> 00:02:09.000
So...

7
00:02:09.400 --> 00:02:13.800
What brings you to
the land of the gatekeepers?

8
00:02:15.000 --> 00:02:17.500
I'm searching for someone.

9
00:02:18.000 --> 00:02:22.200
Someone very dear?
A kindred spirit?

10
00:02:23.400 --> 00:02:25.000
A dragon.

11
00:02:28.850 --> 00:02:31.750
A dangerous quest for a lone hunter.

12
00:02:32.950 --> 00:02:35.870
I've been alone for
as long as I can remember.

13
00:03:27.250 --> 00:03:30.500
We're almost done. Shhh...

14
00:03:30.750 --> 00:03:33.500
Hey, sit still.

15
00:03:48.250 --> 00:03:52.250
Good night. Scales.

16
00:04:10.350 --> 00:04:13.850
Get him, Scales! Come on!

17
00:04:25.250 --> 00:04:28.250
Scales?

18
00:05:04.000 --> 00:05:07.500
Yeah! Come on!

19
00:05:38.750 --> 00:05:42.000
Scales!

20
00:07:25.850 --> 00:07:27.500
I have failed.

21
00:07:32.800 --> 00:07:36.500
You've only failed to see...

22
00:07:37.800 --> 00:07:40.500
These are dragon lands, Sintel.

23
00:07:40.850 --> 00:07:44.000
You are closer than you know.

24
00:09:17.600 --> 00:09:19.500
Scales!

25
00:10:21.600 --> 00:10:24.000
Scales?

26
00:10:26.200 --> 00:10:29.800
Scales...
107 changes: 107 additions & 0 deletions assets/images/captions.jp.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
WEBVTT
1
00:01:47.250 --> 00:01:50.500
この剣には暗い過去が

2
00:01:51.800 --> 00:01:55.800
多くの罪なき人の血で汚れている

3
00:01:58.000 --> 00:02:01.450
そんな頼りないのに
一人旅とは無茶なことを

4
00:02:01.750 --> 00:02:04.800
生きているのが不思議な位じゃ

5
00:02:05.250 --> 00:02:06.300
ありがとう

6
00:02:07.500 --> 00:02:09.000
で…

7
00:02:09.400 --> 00:02:13.800
なぜ「門番の地」に来たのかね?

8
00:02:15.000 --> 00:02:17.500
探しているんです

9
00:02:18.000 --> 00:02:22.200
大切な人?
親類かい?

10
00:02:23.400 --> 00:02:25.000
ドラゴンを

11
00:02:28.850 --> 00:02:31.750
ハンター一人だと危険じゃな

12
00:02:32.950 --> 00:02:35.870
私は物心ついた時からずっと一人でした

13
00:03:27.250 --> 00:03:30.500
もう大丈夫だから…よしよし…

14
00:03:30.750 --> 00:03:33.500
ここに座って…

15
00:03:48.250 --> 00:03:52.250
おやすみ、スケール

16
00:04:10.350 --> 00:04:13.850
スケール! 待ちなさい!

17
00:04:25.250 --> 00:04:28.250
スケール?

18
00:05:04.000 --> 00:05:07.500
ここよ!

19
00:05:38.750 --> 00:05:42.000
スケール!

20
00:07:25.850 --> 00:07:27.500
もうダメかも

21
00:07:32.800 --> 00:07:36.500
案ずるなシンテル

22
00:07:37.800 --> 00:07:40.500
ここは「ドラゴンの地」じゃ

23
00:07:40.850 --> 00:07:44.000
お前さんが思うよりずっと近い

24
00:09:17.600 --> 00:09:19.500
スケール!

25
00:10:21.600 --> 00:10:24.000
スケール?

26
00:10:26.200 --> 00:10:29.800
スケール…
35 changes: 35 additions & 0 deletions assets/images/chapters.en.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
WEBVTT
NOTE Created by Owen Edwards 2015. http://creativecommons.org/licenses/by/2.5/
NOTE Based on 'finalbreakdown.rtf', part of the prepoduction notes, which are:
NOTE (c) Copyright 2010, Blender Foundation /
NOTE Netherlands Media Art Institute /
NOTE https://studio.blender.org/films/sintel/
1
00:00:00.000 --> 00:01:41.500
Prologue

2
00:01:41.500 --> 00:02:28.000
Shaman

3
00:02:28.000 --> 00:05:49.000
Scales

4
00:05:49.000 --> 00:07:16.000
Journey

5
00:07:16.000 --> 00:11:18.500
Fight

6
00:11:18.500 --> 00:12:24.000
Reunited?

9
00:12:24.000 --> 00:14:48.000
Closing credits
Loading

0 comments on commit 9bb162f

Please sign in to comment.