@playkit-js/transcript 3.4.2-canary.3-1a1b1ea → 3.4.2-canary.5-10ebee3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playkit-js/transcript",
3
- "version": "3.4.2-canary.3-1a1b1ea",
3
+ "version": "3.4.2-canary.5-10ebee3",
4
4
  "main": "dist/playkit-transcript.js",
5
5
  "license": "AGPL-3.0",
6
6
  "private": false,
@@ -17,6 +17,7 @@
17
17
  "cross-env": "^7.0.3",
18
18
  "css-loader": "^6.7.1",
19
19
  "kaltura-player-js": "https://github.com/kaltura/kaltura-player-js.git#v3.12.1",
20
+ "playwright-webkit": "^1.33.0",
20
21
  "preact": "^10.4.1",
21
22
  "prettier": "^2.6.2",
22
23
  "sass": "^1.54.3",
@@ -39,11 +40,15 @@
39
40
  "build": "webpack --mode production",
40
41
  "dev": "webpack-dev-server --mode development",
41
42
  "watch": "webpack --progress --color --watch --mode development",
42
- "cypress:open": "cypress open",
43
- "cypress:run": "cypress run",
43
+ "cy:open": "cypress open",
44
+ "cy:run": "yarn run cy:run:chrome && yarn run cy:run:firefox && yarn run cy:run:edge && yarn run cy:run:safari",
45
+ "cy:run:chrome": "cypress run --browser chrome --config video=false",
46
+ "cy:run:firefox": "cypress run --browser firefox --config video=false",
47
+ "cy:run:edge": "cypress run --browser edge --config video=false",
48
+ "cy:run:safari": "cypress run --browser webkit --config video=false",
44
49
  "test:prepare": "yarn run build && yes | cp -i ./dist/playkit-transcript.js ./cypress/public/plugin.js",
45
50
  "test:watch": "yarn run test:prepare && cypress open",
46
- "test": "yarn run test:prepare && cypress run",
51
+ "test": "yarn run test:prepare && yarn run cy:run",
47
52
  "release": "standard-version",
48
53
  "pushTaggedRelease": "git push --follow-tags --no-verify origin master",
49
54
  "prettier:fix": "prettier --write ."
@@ -68,9 +73,9 @@
68
73
  "html5 player"
69
74
  ],
70
75
  "dependencies": {
71
- "@playkit-js/common": "1.1.6",
76
+ "@playkit-js/common": "^1.2.2",
72
77
  "@playkit-js/playkit-js-ui": "^0.73.0",
73
- "@playkit-js/ui-managers": "^1.3.5",
78
+ "@playkit-js/ui-managers": "^1.3.8",
74
79
  "cypress": "^12.3.0",
75
80
  "stream-browserify": "^3.0.0"
76
81
  },
@@ -78,7 +83,7 @@
78
83
  "name": "playkit-js-transcript",
79
84
  "dependencies": {
80
85
  "playkit-kaltura-cuepoints": "3.0.4",
81
- "playkit-ui-managers": "1.3.5"
86
+ "playkit-ui-managers": "1.3.8"
82
87
  }
83
88
  }
84
89
  }
@@ -5,16 +5,16 @@ const {withText, Text} = KalturaPlayer.ui.preacti18n;
5
5
  const translates = ({activeSearchIndex, totalSearchResults}: SearchProps) => ({
6
6
  searchLabel: <Text id="transcript.search">Search in Transcript</Text>,
7
7
  clearSearchLabel: <Text id="transcript.clear_search">Clear search</Text>,
8
- nextMatchLabel: <Text id="transcript.next_search_match">Next</Text>,
9
- prevMatchLabel: <Text id="transcript.prev_search_match">Previous</Text>,
8
+ nextMatchLabel: <Text id="transcript.next_search_match">Next search result</Text>,
9
+ prevMatchLabel: <Text id="transcript.prev_search_match">Previous search result</Text>,
10
10
  searchResultsLabel: (
11
11
  <Text
12
- id="transcript.prev_search_match"
12
+ id="transcript.search_results"
13
13
  fields={{
14
14
  current: totalSearchResults > 0 ? activeSearchIndex : 0,
15
15
  total: totalSearchResults
16
16
  }}>
17
- {`Result ${totalSearchResults > 0 ? activeSearchIndex : 0} of ${totalSearchResults}`}
17
+ {`Search result ${totalSearchResults > 0 ? activeSearchIndex : 0} out of ${totalSearchResults}`}
18
18
  </Text>
19
19
  )
20
20
  });
@@ -8,9 +8,9 @@
8
8
  "download_transcript": "Download current transcript",
9
9
  "search": "Search in Transcript",
10
10
  "clear_search": "Clear search",
11
- "next_search_match": "Next",
12
- "prev_search_match": "Previous",
13
- "search_results": "Result {{current}} of {{total}}",
11
+ "next_search_match": "Next search result",
12
+ "prev_search_match": "Previous search result",
13
+ "search_results": "Search result {{current}} out of {{total}}",
14
14
  "auto_scroll": "Resume AutoScroll",
15
15
  "whoops": "Whoops!",
16
16
  "load_failed": "Failed to load transcript",