diff --git a/README.md b/README.md index 0c2989c62..09585aa15 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Be it as a user or an instance administrator, you can decide what your experienc

Communities that help each other

-In addition to visitors using WebTorrent to share the load among them, instances can help each other by caching one another's videos. This way even small instances have a way to show content to a wider audience, as they will be shouldered by friend instances (more about that in our redundancy guide). +In addition to visitors using P2P with WebRTC to share the load among them, instances can help each other by caching one another's videos. This way even small instances have a way to show content to a wider audience, as they will be shouldered by friend instances (more about that in our redundancy guide).

Content creators can get help from their viewers in the simplest way possible: a support button showing a message linking to their donation accounts or really anything else. No more pay-per-view and advertisements that hurt visitors and alter creativity (more about that in our FAQ). diff --git a/client/e2e/src/suites-all/private-videos.e2e-spec.ts b/client/e2e/src/suites-all/private-videos.e2e-spec.ts index a25208bb3..829d76a84 100644 --- a/client/e2e/src/suites-all/private-videos.e2e-spec.ts +++ b/client/e2e/src/suites-all/private-videos.e2e-spec.ts @@ -31,8 +31,8 @@ describe('Private videos all workflow', () => { return loginPage.loginOnPeerTube2() }) - it('Should play an internal webtorrent video', async () => { - await go(FIXTURE_URLS.INTERNAL_WEBTORRENT_VIDEO) + it('Should play an internal web video video', async () => { + await go(FIXTURE_URLS.INTERNAL_WEB_VIDEO) await videoWatchPage.waitWatchVideoName(internalVideoName) await checkCorrectlyPlay(playerPage) @@ -52,8 +52,8 @@ describe('Private videos all workflow', () => { await checkCorrectlyPlay(playerPage) }) - it('Should play an internal WebTorrent video in embed', async () => { - await go(FIXTURE_URLS.INTERNAL_EMBED_WEBTORRENT_VIDEO) + it('Should play an internal Web Video in embed', async () => { + await go(FIXTURE_URLS.INTERNAL_EMBED_WEB_VIDEO) await videoWatchPage.waitEmbedForDisplayed() await checkCorrectlyPlay(playerPage) diff --git a/client/e2e/src/suites-all/videos.e2e-spec.ts b/client/e2e/src/suites-all/videos.e2e-spec.ts index d1ab9aef3..5d0f8c152 100644 --- a/client/e2e/src/suites-all/videos.e2e-spec.ts +++ b/client/e2e/src/suites-all/videos.e2e-spec.ts @@ -89,7 +89,7 @@ describe('Videos all workflow', () => { let videoNameToExcept = videoName if (isMobileDevice() || isSafari()) { - await go(FIXTURE_URLS.WEBTORRENT_VIDEO) + await go(FIXTURE_URLS.WEB_VIDEO) videoNameToExcept = 'E2E tests' } else { await videoListPage.clickOnVideo(videoName) @@ -176,7 +176,7 @@ describe('Videos all workflow', () => { await videoWatchPage.waitUntilVideoName(video2Name, 40 * 1000) }) - it('Should watch the webtorrent playlist in the embed', async () => { + it('Should watch the WEB VIDEO playlist in the embed', async () => { if (isUploadUnsupported()) return const accessToken = await browser.execute(`return window.localStorage.getItem('access_token');`) diff --git a/client/e2e/src/utils/urls.ts b/client/e2e/src/utils/urls.ts index cc0bdfbff..eafe0aa5d 100644 --- a/client/e2e/src/utils/urls.ts +++ b/client/e2e/src/utils/urls.ts @@ -1,14 +1,14 @@ const FIXTURE_URLS = { - INTERNAL_WEBTORRENT_VIDEO: 'https://peertube2.cpy.re/w/pwfz7NizSdPD4mJcbbmNwa?mode=webtorrent&start=0', + INTERNAL_WEB_VIDEO: 'https://peertube2.cpy.re/w/pwfz7NizSdPD4mJcbbmNwa?mode=web-video&start=0', INTERNAL_HLS_VIDEO: 'https://peertube2.cpy.re/w/pwfz7NizSdPD4mJcbbmNwa?start=0', - INTERNAL_EMBED_WEBTORRENT_VIDEO: 'https://peertube2.cpy.re/videos/embed/pwfz7NizSdPD4mJcbbmNwa?mode=webtorrent&start=0', + INTERNAL_EMBED_WEB_VIDEO: 'https://peertube2.cpy.re/videos/embed/pwfz7NizSdPD4mJcbbmNwa?mode=web-video&start=0', INTERNAL_EMBED_HLS_VIDEO: 'https://peertube2.cpy.re/videos/embed/pwfz7NizSdPD4mJcbbmNwa?start=0', INTERNAL_HLS_ONLY_VIDEO: 'https://peertube2.cpy.re/w/tKQmHcqdYZRdCszLUiWM3V?start=0', INTERNAL_EMBED_HLS_ONLY_VIDEO: 'https://peertube2.cpy.re/videos/embed/tKQmHcqdYZRdCszLUiWM3V?start=0', - WEBTORRENT_VIDEO: 'https://peertube2.cpy.re/w/122d093a-1ede-43bd-bd34-59d2931ffc5e', + WEB_VIDEO: 'https://peertube2.cpy.re/w/122d093a-1ede-43bd-bd34-59d2931ffc5e', HLS_EMBED: 'https://peertube2.cpy.re/videos/embed/969bf103-7818-43b5-94a0-de159e13de50', HLS_PLAYLIST_EMBED: 'https://peertube2.cpy.re/video-playlists/embed/73804a40-da9a-40c2-b1eb-2c6d9eec8f0a', diff --git a/client/e2e/wdio.local-test.conf.ts b/client/e2e/wdio.local-test.conf.ts index 96ddc67ca..6c0171372 100644 --- a/client/e2e/wdio.local-test.conf.ts +++ b/client/e2e/wdio.local-test.conf.ts @@ -24,19 +24,19 @@ module.exports = { specFileRetries: 0, capabilities: [ - { - 'browserName': 'chrome', - 'acceptInsecureCerts': true, - 'goog:chromeOptions': { - args: [ '--disable-gpu', windowSizeArg ], - prefs - } - }, + // { + // 'browserName': 'chrome', + // 'acceptInsecureCerts': true, + // 'goog:chromeOptions': { + // args: [ '--disable-gpu', windowSizeArg ], + // prefs + // } + // }, { 'browserName': 'firefox', 'moz:firefoxOptions': { binary: '/usr/bin/firefox-developer-edition', - args: [ '--headless', windowSizeArg ], + // args: [ '--headless', windowSizeArg ], prefs } diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html index fb750aca6..7218511a9 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html @@ -71,7 +71,7 @@

@@ -93,14 +93,14 @@ Requires ffmpeg >= 4.1 -

Generate HLS playlists and fragmented MP4 files resulting in a better playback than with plain WebTorrent:

+

Generate HLS playlists and fragmented MP4 files resulting in a better playback than with Web Videos:

  • Resolution change is smoother
  • Faster playback especially with long videos
  • More stable playback (less bugs/infinite loading)
-

If you also enabled WebTorrent support, it will multiply videos storage by 2

+

If you also enabled Web Videos support, it will multiply videos storage by 2

diff --git a/client/src/app/+admin/overview/videos/video-admin.service.ts b/client/src/app/+admin/overview/videos/video-admin.service.ts index 195b265a1..722495706 100644 --- a/client/src/app/+admin/overview/videos/video-admin.service.ts +++ b/client/src/app/+admin/overview/videos/video-admin.service.ts @@ -59,12 +59,12 @@ export class VideoAdminService { title: $localize`Video files`, children: [ { - value: 'webtorrent:true isLocal:true', - label: $localize`With WebTorrent` + value: 'webVideos:true isLocal:true', + label: $localize`With Web Videos` }, { - value: 'webtorrent:false isLocal:true', - label: $localize`Without WebTorrent` + value: 'webVideos:false isLocal:true', + label: $localize`Without Web Videos` }, { value: 'hls:true isLocal:true', @@ -126,8 +126,8 @@ export class VideoAdminService { prefix: 'hls:', isBoolean: true }, - hasWebtorrentFiles: { - prefix: 'webtorrent:', + hasWebVideoFiles: { + prefix: 'webVideos:', isBoolean: true }, isLive: { diff --git a/client/src/app/+admin/overview/videos/video-list.component.html b/client/src/app/+admin/overview/videos/video-list.component.html index c4f78cadc..3a4666435 100644 --- a/client/src/app/+admin/overview/videos/video-list.component.html +++ b/client/src/app/+admin/overview/videos/video-list.component.html @@ -83,8 +83,8 @@ - HLS - WebTorrent ({{ video.files.length }}) + HLS + Web Videos ({{ video.files.length }}) Live Object storage @@ -102,8 +102,8 @@
-
- WebTorrent: +
+ Web Videos:
  • @@ -112,13 +112,13 @@
-
+
HLS:
    diff --git a/client/src/app/+admin/overview/videos/video-list.component.ts b/client/src/app/+admin/overview/videos/video-list.component.ts index e9c526193..52f02d8d0 100644 --- a/client/src/app/+admin/overview/videos/video-list.component.ts +++ b/client/src/app/+admin/overview/videos/video-list.component.ts @@ -99,8 +99,8 @@ export class VideoListComponent extends RestTable