@quintype/seo 1.46.3-fix-video-schema.4 → 1.46.3

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.46.3](https://github.com/quintype/quintype-node-seo/compare/v1.46.2...v1.46.3) (2024-07-17)
6
+
5
7
  ### [1.46.2](https://github.com/quintype/quintype-node-seo/compare/v1.46.1...v1.46.2) (2024-06-12)
6
8
 
7
9
  ### [1.46.1](https://github.com/quintype/quintype-node-seo/compare/v1.46.0...v1.46.1) (2024-06-11)
package/dist/index.cjs.js CHANGED
@@ -772,7 +772,7 @@ function getEmbedUrl(cards) {
772
772
  if (elem.metadata && elem.metadata[playerUrlField]) {
773
773
  return elem.metadata[playerUrlField];
774
774
  }
775
- } else if (elem.type === "youtube-video" && elem.subtype === null) {
775
+ } if (elem.type === "youtube-video" && elem.subtype === null) {
776
776
  if (elem.url) {
777
777
  return elem.url;
778
778
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/seo",
3
- "version": "1.46.3-fix-video-schema.4",
3
+ "version": "1.46.3",
4
4
  "description": "SEO Modules for Quintype",
5
5
  "main": "dist/index.cjs.js",
6
6
  "repository": "https://github.com/quintype/quintype-node-seo",
@@ -280,7 +280,8 @@ function getEmbedUrl(cards) {
280
280
  if (elem.metadata && elem.metadata[playerUrlField]) {
281
281
  return elem.metadata[playerUrlField];
282
282
  }
283
- } else if (elem.type === "youtube-video" && elem.subtype === null) {
283
+ };
284
+ if (elem.type === "youtube-video" && elem.subtype === null) {
284
285
  if (elem.url) {
285
286
  return elem.url;
286
287
  }