1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

move extension videos internally to the codebase (#16371)

This commit is contained in:
Nick Krantz
2025-09-23 10:56:29 -05:00
committed by GitHub
parent f642fbc4e6
commit 82e44e0c09
8 changed files with 7 additions and 6 deletions

View File

@@ -6,8 +6,8 @@
[attr.aria-hidden]="!allVideosLoaded"
class="tw-block tw-max-w-full tw-shadow-md tw-rounded-lg"
(loadeddata)="onVideoLoad()"
src="https://assets.bitwarden.com/extension-animations/new-login-item.mp4"
appDarkImgSrc="https://assets.bitwarden.com/extension-animations/new-login-item-dark.mp4"
src="/videos/new-login-item.mp4"
appDarkImgSrc="/videos/new-login-item-dark.mp4"
aria-hidden
></video>
</ng-template>
@@ -20,8 +20,8 @@
[attr.aria-hidden]="!allVideosLoaded"
class="tw-block tw-max-w-full tw-shadow-md tw-rounded-lg"
(loadeddata)="onVideoLoad()"
src="https://assets.bitwarden.com/extension-animations/browser-extension-easy-access.mp4"
appDarkImgSrc="https://assets.bitwarden.com/extension-animations/browser-extension-easy-access-dark.mp4"
src="/videos/browser-extension-easy-access.mp4"
appDarkImgSrc="/videos/browser-extension-easy-access-dark.mp4"
aria-hidden
></video>
</ng-template>
@@ -34,8 +34,8 @@
[attr.aria-hidden]="!allVideosLoaded"
class="tw-block tw-max-w-full tw-shadow-md tw-rounded-lg"
(loadeddata)="onVideoLoad()"
src="https://assets.bitwarden.com/extension-animations/onboarding-autofill.mp4"
appDarkImgSrc="https://assets.bitwarden.com/extension-animations/onboarding-autofill-dark.mp4"
src="/videos/onboarding-autofill.mp4"
appDarkImgSrc="/videos/onboarding-autofill-dark.mp4"
aria-hidden
></video>
</ng-template>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -144,6 +144,7 @@ const plugins = [
{ from: "./src/browserconfig.xml" },
{ from: "./src/app-id.json" },
{ from: "./src/images", to: "images" },
{ from: "./src/videos", to: "videos" },
{ from: "./src/locales", to: "locales" },
{ from: "../../node_modules/qrious/dist/qrious.min.js", to: "scripts" },
{ from: "../../node_modules/braintree-web-drop-in/dist/browser/dropin.js", to: "scripts" },