@shift72/core-template 1.9.21 → 1.9.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/kibble.json +2 -2
- package/package.json +1 -1
- package/site/static/js/main.js +2 -0
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [Unreleased](https://github.com/shift72/core-template/compare/1.9.
|
3
|
+
## [Unreleased](https://github.com/shift72/core-template/compare/1.9.22...HEAD)
|
4
|
+
|
5
|
+
## [1.9.22](https://github.com/shift72/core-template/compare/1.9.21...1.9.22)
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
- Bug with carousel attempting to pause / play when video not found
|
4
10
|
|
5
11
|
## [1.9.21](https://github.com/shift72/core-template/compare/1.9.20...1.9.21)
|
6
12
|
|
package/kibble.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "core-template",
|
3
3
|
"version": "0.0.1",
|
4
|
-
"siteUrl": "https://tvoddemo.shift72.com",
|
4
|
+
"siteUrl": "https://tvoddemo-addons.shift72.com",
|
5
5
|
"builderVersion": "0.17.5",
|
6
6
|
"defaultLanguage": "en",
|
7
7
|
"languages": {
|
@@ -194,5 +194,5 @@
|
|
194
194
|
"pageSize": 0
|
195
195
|
}
|
196
196
|
],
|
197
|
-
"coreTemplateVersion": "1.9.
|
197
|
+
"coreTemplateVersion": "1.9.22"
|
198
198
|
}
|
package/package.json
CHANGED
package/site/static/js/main.js
CHANGED
@@ -502,6 +502,7 @@ function initCarouselVideo(app) {
|
|
502
502
|
|
503
503
|
function playVideoSlide(slide) {
|
504
504
|
const video = slide.querySelector('video');
|
505
|
+
if (!video) return;
|
505
506
|
let s = video.querySelector('source');
|
506
507
|
if (s.getAttribute('src')) {
|
507
508
|
video.play();
|
@@ -512,6 +513,7 @@ function playVideoSlide(slide) {
|
|
512
513
|
}
|
513
514
|
function pauseVideoSlide(slide) {
|
514
515
|
const video = slide.querySelector('video');
|
516
|
+
if (!video) return;
|
515
517
|
video.pause();
|
516
518
|
}
|
517
519
|
|