Skip to content

Commit cf80778

Browse files
PB-266: Video background for Slide
- fix invalid video error
1 parent a4195f2 commit cf80778

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/slide/preview.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/slide/preview.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class Preview extends BasePreview {
138138
},
139139
);
140140
// @ts-ignore
141-
this.wrapper.jarallax.video.on("started", () => {
141+
this.wrapper.jarallax.video && this.wrapper.jarallax.video.on("started", () => {
142142
// @ts-ignore
143143
if (this.wrapper.jarallax.$video) {
144144
// @ts-ignore

0 commit comments

Comments
 (0)