mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Set video source only when the onboarding prompt is shown.
This commit is contained in:
parent
42009093ef
commit
250d19163b
1 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@
|
||||||
autoplay
|
autoplay
|
||||||
loop
|
loop
|
||||||
)
|
)
|
||||||
source(src="/img/onboarding/review-panel/open-review.mp4", type="video/mp4")
|
source(ng-src="{{ '/img/onboarding/review-panel/open-review.mp4' }}", type="video/mp4")
|
||||||
img(src="/img/onboarding/review-panel/open-review.gif")
|
img(src="/img/onboarding/review-panel/open-review.gif")
|
||||||
div(ng-show="onboarding.innerStep === 2;")
|
div(ng-show="onboarding.innerStep === 2;")
|
||||||
video.feat-onboard-video(
|
video.feat-onboard-video(
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
autoplay
|
autoplay
|
||||||
loop
|
loop
|
||||||
)
|
)
|
||||||
source(src="/img/onboarding/review-panel/commenting.mp4", type="video/mp4")
|
source(ng-src="{{ '/img/onboarding/review-panel/commenting.mp4' }}", type="video/mp4")
|
||||||
img(src="/img/onboarding/review-panel/commenting.gif")
|
img(src="/img/onboarding/review-panel/commenting.gif")
|
||||||
div(ng-show="onboarding.innerStep === 3;")
|
div(ng-show="onboarding.innerStep === 3;")
|
||||||
video.feat-onboard-video(
|
video.feat-onboard-video(
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
autoplay
|
autoplay
|
||||||
loop
|
loop
|
||||||
)
|
)
|
||||||
source(src="/img/onboarding/review-panel/add-changes.mp4", type="video/mp4")
|
source(ng-src="{{ '/img/onboarding/review-panel/add-changes.mp4' }}", type="video/mp4")
|
||||||
img(src="/img/onboarding/review-panel/add-changes.gif")
|
img(src="/img/onboarding/review-panel/add-changes.gif")
|
||||||
div(ng-show="onboarding.innerStep === 4;")
|
div(ng-show="onboarding.innerStep === 4;")
|
||||||
video.feat-onboard-video(
|
video.feat-onboard-video(
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
autoplay
|
autoplay
|
||||||
loop
|
loop
|
||||||
)
|
)
|
||||||
source(src="/img/onboarding/review-panel/accept-changes.mp4", type="video/mp4")
|
source(ng-src="{{ '/img/onboarding/review-panel/accept-changes.mp4' }}", type="video/mp4")
|
||||||
img(src="/img/onboarding/review-panel/accept-changes.gif")
|
img(src="/img/onboarding/review-panel/accept-changes.gif")
|
||||||
button.btn.btn-primary.feat-onboard-nav-btn(
|
button.btn.btn-primary.feat-onboard-nav-btn(
|
||||||
ng-click="gotoNextStep();"
|
ng-click="gotoNextStep();"
|
||||||
|
|
Loading…
Reference in a new issue