Skip to content

Commit b163910

Browse files
github-actions[bot]tsijakub-rochcloudinary-jenkinsShayLevi
authored
chore: update master (#751)
* chore: release-manual * chore: release-manual * fix: use videojs events & re-trigger to analytics package with custom… (#639) * fix: use videojs events & re-trigger to analytics package with custom events * fix: import / bump package * Update release-edge.yml * Update release-manual.yml * chore(edge): release 2.0.4-edge.0 (#656) * chore(edge): release 2.0.4-edge.0 * Update CHANGELOG.md --------- Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com> * fix: remove polyfill (#665) * chore(edge): release 2.0.5-edge.0 (#666) * fix: separate edge/master changelogs (#663) * fix: separate edge/master changelogs Co-Authored-By: Tsachi Shlidor <tsachi.shlidor@cloudinary.com> Co-Authored-By: cloudinary-jenkins <jenkins@cloudinary.com> * chore: update changelog-edge --------- Co-authored-by: cloudinary-jenkins <jenkins@cloudinary.com> * fix: fetchLatestRelease * fix: fetchLatestRelease * fix: fetchLatestRelease * fix: fetchLatestRelease * chore(edge): release 2.0.5-edge.1 (#667) * chore(edge): release 2.0.5-edge.1 * Update CHANGELOG-edge.md --------- Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com> * fix: security issue braces (#668) * ME-16623 - creating first VP automation test (#664) * vp test: initial first test * vp test: initial first test * update e2e tests * update e2e * update e2e * update e2e * added eslint to e2e * vp test: initial first test * vp test: initial first test * update validatePageErrors function * update workers number * vp test: initial first test * vp test: initial first test * vp test: change for to for each * vp test: change back to for and update number of workers * vp test: refactor based on review comments * vp test: change timout * vp test: change timout and add logs * vp test: comment out flaky test on CI * vp test: comment out flaky test on CI --------- Co-authored-by: refael-m <refael.mahpud@cloudinary.com> * fix: custom profile docs example (#673) * fix: chapters innerHTML to innerText (#671) * fix: remove braces override (#670) Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com> * chore(edge): release 2.0.5-edge.2 (#669) * vp test: handle flaky tests (#674) * vp test: update number of workers * vp test: update number of workers to 4 * vp test: update workers back to 5 * test: decrease workers to 1 * vp test: update webserver URL * vp test: update webserver URL * vp test: increase number of workers to 6 * vp test: increase number of workers to 6 * vp test: increase number of workers to 5 * vp test: reduce number of workers to 4 * vp test: increase number of workers to 5 * vp test: temp commit * vp test: revert temp commit * vp test: comment out adaptive streaming as it is flaky --------- Co-authored-by: alexeykagansky <alexey.kagansky@cloudinary.com> * vp test: adding workflow and action for CI (#675) * Edit workflow (#676) * fix workflow * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * Update update_master.yml * fix: profiles docs link (#683) * vp test: adding new test to handle ESM page + small refactoring (#684) * vp test: adding new test to handle ESM page + small refactoring * vp test: remove flaky adaptive streaming * vp test: remove skip from ESM profile page and skip adaptive streaming * feat: new 'player' method with support async loading & profiles (#678) * feat: new 'player' method with support async loading & profiles * feat: new 'player' method with support async loading & profiles * fix: review comments * fix: bump VP size * fix: allow for profile url value * fix: isRawUrl path * feat: custom data video analytics param (#687) * feat: custom data video analytics param * feat: custom data video analytics param * fix: update dependencies (#688) * chore: update dependencies * fix: sass deprecation warnings * fix: bundlewatch * fix: docs for profiles & analytics, analytics options (#689) * fix: docs for profiles & analytics, analytics options * fix: docs for profiles & analytics, analytics options * fix: docs for profiles & analytics, analytics options * fix: bump analytics package version * chore(edge): release 2.0.6-edge.0 (#685) * Publish playwright report to reports repo (#690) * update e2e github flow * update * update * update * update * update * update * update * update * update ssh * update * update * update * added e2e to separate workflow * update * update * update * update * removed if always() from push reports step * vp test: adding error message to ignore errors for ESM pages (#695) * feat: add url template for video player profiles (#696) * feat: add url template for video player profiles * feat: docs profile url * fix: default secure option for new method (#698) * fix: default secure option for new method * fix: docs raw url * chore(edge): release 2.1.1-edge.0 (#697) * feat: add internal analytics about new method & profiles (#699) * feat: add internal analytics about new method & profiles * chore(edge): release 2.1.1-edge.1 (#700) * fix: use cld player profiles package for default profiles (#701) * fix: use cld player profiles package for default profiles * chore(edge): release 2.1.1-edge.2 (#702) * Me 18059 esm tests over preview build (#727) * vp test: support esm test running on preview deploy * vp test: support esm test running on preview deploy increase timeout * vp test: support esm test running on preview deploy revert timeout * vp test: adding waitFor function for checking if preview URL is ready * vp test: adding waitFor function for checking if preview URL is ready * vp test: adding waitFor function for checking if preview URL is ready * vp test: modify changes * vp test: modify changes * vp test: modify waitForDeployPreviewUrl * vp test: modify waitForDeployPreviewUrl * vp test: modify changes * vp test: modify changes * vp test: remove beforeAll * vp test: modify waitForDeployPreviewUrl function * vp test: modify waitForDeployPreviewUrl function * vp test: modify waitForDeployPreviewUrl function * vp test: modify waitForDeployPreviewUrl function adding a print * vp test: modify changes * vp test: adding print to log + increasing timeout * vp test: revert timeout * vp test: adding timeout * vp test: adding test for is deploy URL ready * vp test: revert test * vp test: change assertion * vp test: change assertion * vp test: modify waitForDeployPreviewUrl * vp test: modify waitForDeployPreviewUrl assertion * vp test: adding beforeEach and modify waitForDeployPreviewUrl * vp test: modify waitForDeployPreviewUrl * vp test: adding logs for debugging * vp test: adding logs for debugging * vp test: adding logs for debugging * vp test: adding logs for debugging * vp test: adding logs for debugging * vp test: modify waitForDeployPreviewUrl and revert debugging prints * vp test: modify waitForDeployPreviewUrl * vp test: refactor based on review comments * vp test: remove console log print * fix: one event for internal analytics (#728) * fix: one event for internal analytics * chore(edge): release 2.1.2-edge.0 (#732) * ME-17952: test if video is playing on main page (#733) * vp test: test if video is playing on main page * vp test: rename playVideo to clickPlay * Me 17953 test video on ai highlights graph page (#734) * vp test: test if video is playing on highlight graph page * vp test: test if video is playing on highlight graph page * vp test: remove comment * vp test: refactor based on review. Adding getLinkByName function and support enum for example page names * vp test: refactor based on review adding page manager * vp test: modify test description (#735) * vp test: refactor to support ExampleLinkName enum (#736) * vp test: refactor to support ExampleLinkName enum * vp test: rename file * fix: source analytics (#738) * fix: source analytics * chore: cleanup * chore(edge): release 2.1.2-edge.1 (#739) * feat: allow transcript from url (#737) * feat: allow transcript url * chore: transcript analytics * chore: transcript analytics * chore(edge): release 2.1.2-edge.2 (#740) * feat: auto-fetch transcripts from language (#741) * feat: auto-fetch transcripts from language * chore: update tests * feat: auto-fetch transcripts from language * feat: auto-fetch transcripts from language * chore: esm examples * chore(edge): release 2.1.2-edge.3 (#742) * chore: examples * fix: videojs 8 deprecation warning for videojs.bind (#744) * feat: support srt subtitle format (#743) * feat: support srt subtitle format * chore: add example and usage monitoring * chore: esm examples * chore: esm example * chore: examples * feat: support srt subtitle format * chore(edge): release 2.1.2-edge.4 (#745) * fix: programatic text-tracks in Safari (#747) * fix: programatic text-tracks in Safari * chore: bundlewatch * fix: programatic text-tracks in Safari * chore(edge): release 2.1.2-edge.5 (#748) * me-18308: refactor to use page manager (#749) * vp test: refactor to use page manager * vp test: refactor to use page manager * vp test: remove comment --------- Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com> Co-authored-by: jakub-roch <70572646+jakub-roch@users.noreply.github.com> Co-authored-by: cloudinary-jenkins <jenkins@cloudinary.com> Co-authored-by: ShayLevi <61374483+ShayLevi@users.noreply.github.com> Co-authored-by: refael-m <refael.mahpud@cloudinary.com> Co-authored-by: alexeykagansky <alexey.kagansky@cloudinary.com> Co-authored-by: refael-m <72335192+refael-m@users.noreply.github.com>
1 parent e159b38 commit b163910

30 files changed

+778
-351
lines changed

CHANGELOG-edge.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# Changelog
22

3+
## [2.1.2-edge.5](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.2-edge.4...v2.1.2-edge.5) (2024-12-08)
4+
5+
6+
### Bug Fixes
7+
8+
* programatic text-tracks in Safari ([#747](https://github.com/cloudinary/cloudinary-video-player/issues/747)) ([f549240](https://github.com/cloudinary/cloudinary-video-player/commit/f54924008f98e154ff228b927ee4da52035ed11c))
9+
10+
## [2.1.2-edge.4](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.2-edge.3...v2.1.2-edge.4) (2024-12-05)
11+
12+
13+
### Features
14+
15+
* support srt subtitle format ([#743](https://github.com/cloudinary/cloudinary-video-player/issues/743)) ([3461a76](https://github.com/cloudinary/cloudinary-video-player/commit/3461a7675839c91008d15c9b575d9fbeea61c899))
16+
17+
18+
### Bug Fixes
19+
20+
* videojs 8 deprecation warning for videojs.bind ([#744](https://github.com/cloudinary/cloudinary-video-player/issues/744)) ([7787c36](https://github.com/cloudinary/cloudinary-video-player/commit/7787c36f5079ba0a819a0a1a715d34192ba17fd0))
21+
22+
## [2.1.2-edge.3](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.2-edge.2...v2.1.2-edge.3) (2024-11-27)
23+
24+
25+
### Features
26+
27+
* auto-fetch transcripts from language ([#741](https://github.com/cloudinary/cloudinary-video-player/issues/741)) ([ac1fc1d](https://github.com/cloudinary/cloudinary-video-player/commit/ac1fc1d89fbe1890ace818111d05b40e5478e120))
28+
29+
## [2.1.2-edge.2](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.2-edge.1...v2.1.2-edge.2) (2024-11-26)
30+
31+
32+
### Features
33+
34+
* allow transcript from url ([#737](https://github.com/cloudinary/cloudinary-video-player/issues/737)) ([6cd4bc8](https://github.com/cloudinary/cloudinary-video-player/commit/6cd4bc8c925862220803e2806bdd0d58d39e1604))
35+
36+
## [2.1.2-edge.1](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.2-edge.0...v2.1.2-edge.1) (2024-11-26)
37+
38+
39+
### Bug Fixes
40+
41+
* source analytics ([#738](https://github.com/cloudinary/cloudinary-video-player/issues/738)) ([6c6f126](https://github.com/cloudinary/cloudinary-video-player/commit/6c6f12682d09a55bdfc86742854fd08df35111a2))
42+
43+
## [2.1.2-edge.0](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.1-edge.2...v2.1.2-edge.0) (2024-11-07)
44+
45+
46+
### Bug Fixes
47+
48+
* one event for internal analytics ([#728](https://github.com/cloudinary/cloudinary-video-player/issues/728)) ([7552998](https://github.com/cloudinary/cloudinary-video-player/commit/7552998726656d83ba228460b4dc687ae9d0c94d))
49+
350
## [2.1.1-edge.2](https://github.com/cloudinary/cloudinary-video-player/compare/v2.1.1-edge.1...v2.1.1-edge.2) (2024-10-27)
451

552

docs/es-modules/subtitles-and-captions.html

Lines changed: 77 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,17 @@ <h4 class="mt-4 mb-2">Karaoke player</h4>
104104
width="500"
105105
></video>
106106

107+
<h4 class="mt-4 mb-2">Translated Transcript</h4>
108+
109+
<video
110+
id="translated-transcript"
111+
playsinline
112+
controls
113+
class="cld-video-player cld-fluid"
114+
crossorigin="anonymous"
115+
width="500"
116+
></video>
117+
107118
<p class="mt-4">
108119
<a href="https://cloudinary.com/documentation/cloudinary_video_player"
109120
>Full documentation</a
@@ -118,31 +129,31 @@ <h4 class="mt-4 mb-2">Karaoke player</h4>
118129
import 'cloudinary-video-player/cld-video-player.min.css';
119130

120131
const player = videoPlayer('player', {
121-
cloudName: 'demo'
132+
cloudName: 'prod'
122133
});
123134

124-
player.source('video-player/stubhub', {
125-
textTracks: {
126-
captions: {
127-
label: 'English captions',
128-
language: 'en',
129-
default: true,
130-
url: 'https://res.cloudinary.com/demo/raw/upload/v1636972013/video-player/vtt/Meetup_english.vtt'
131-
},
132-
subtitles: [
133-
{
134-
label: 'German subtitles',
135-
language: 'de',
136-
url: 'https://res.cloudinary.com/demo/raw/upload/v1636970250/video-player/vtt/Meetup_german.vtt'
135+
player.source(
136+
'video/examples/big_buck_bunny_trailer_720p',
137+
{
138+
info: { title: 'SRT & VTT from URL' },
139+
textTracks: {
140+
options: {
141+
theme: "videojs-default"
137142
},
138-
{
139-
label: 'Russian subtitles',
140-
language: 'ru',
141-
url: 'https://res.cloudinary.com/demo/raw/upload/v1636970275/video-player/vtt/Meetup_russian.vtt'
142-
}
143-
]
143+
captions: {
144+
label: 'VTT from URL',
145+
default: true,
146+
url: 'https://res.cloudinary.com/prod/raw/upload/video/examples/big_buck_bunny_trailer_720p.vtt'
147+
},
148+
subtitles: [
149+
{
150+
label: 'SRT from URL',
151+
url: 'https://res.cloudinary.com/prod/raw/upload/video/examples/big_buck_bunny_trailer_720p.srt'
152+
}
153+
]
154+
}
144155
}
145-
});
156+
);
146157

147158
// Playlist
148159
const playlist = videoPlayer('playlist', {
@@ -204,12 +215,10 @@ <h4 class="mt-4 mb-2">Karaoke player</h4>
204215

205216
// Paced
206217
const pacedPlayer = videoPlayer('paced', {
207-
cloudName: 'demo',
208-
autoplay: true,
209-
muted: true
218+
cloudName: 'prod'
210219
});
211220

212-
const publicId = 'lincoln';
221+
const publicId = 'video/examples/cloudinary-marketing';
213222

214223
const textTracks = {
215224
options: {
@@ -229,23 +238,10 @@ <h4 class="mt-4 mb-2">Karaoke player</h4>
229238
},
230239
captions: {
231240
label: 'English Paced',
232-
language: 'en',
233241
maxWords: 4,
234-
default: true
235-
},
236-
subtitles: [
237-
{
238-
label: 'German subtitles',
239-
language: 'de',
240-
url: 'https://res.cloudinary.com/demo/raw/upload/v1636970250/video-player/vtt/Meetup_german.vtt'
241-
},
242-
{
243-
label: 'Russian subtitles',
244-
language: 'ru',
245-
url: 'https://res.cloudinary.com/demo/raw/upload/v1636970275/video-player/vtt/Meetup_russian.vtt'
246-
}
247-
]
248-
};
242+
default: true,
243+
}
244+
}
249245
pacedPlayer.source(publicId, {
250246
textTracks
251247
});
@@ -267,12 +263,10 @@ <h4 class="mt-4 mb-2">Karaoke player</h4>
267263

268264
// Karaoke
269265
const karaokePlayer = videoPlayer('karaoke', {
270-
cloudName: 'demo',
271-
autoplay: true,
272-
muted: true
266+
cloudName: 'prod'
273267
});
274268

275-
karaokePlayer.source('lincoln', {
269+
karaokePlayer.source('video/examples/cld-imagine_1080p', {
276270
textTracks: {
277271
options: {
278272
fontFace: 'Lobster',
@@ -291,14 +285,49 @@ <h4 class="mt-4 mb-2">Karaoke player</h4>
291285
},
292286
captions: {
293287
label: 'KARAOKE',
294-
language: 'en',
295288
wordHighlight: true,
296-
maxWords: 5,
297-
timeOffset: -0.2,
289+
maxWords: 8,
290+
url: 'https://res.cloudinary.com/prod/raw/upload/v1/video/examples/cld-imagine_1080p.transcript',
298291
default: true
299292
}
300293
}
301294
});
295+
296+
// Auto-translated transcript
297+
const translatedTranscriptPlayer = videoPlayer('translated-transcript', {
298+
cloudName: 'prod'
299+
});
300+
301+
translatedTranscriptPlayer.source('video/examples/cloudinary-marketing-pm', {
302+
textTracks: {
303+
captions: {
304+
label: "Original",
305+
default: true,
306+
},
307+
subtitles: [
308+
{
309+
label: "English",
310+
language: "en-US",
311+
},
312+
{
313+
label: "Polish",
314+
language: "pl-PL",
315+
},
316+
{
317+
label: "Hebrew",
318+
language: "he-IL",
319+
},
320+
{
321+
label: "Italian",
322+
language: "it-IT",
323+
},
324+
{
325+
label: "Ukrainian",
326+
language: "uk-UA",
327+
}
328+
]
329+
}
330+
});
302331
</script>
303332

304333
<!-- Bootstrap -->

0 commit comments

Comments
 (0)