@speakableio/core 1.0.30 → 1.0.32

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.
@@ -2090,7 +2090,7 @@ function getPageMediaData(page) {
2090
2090
  const { isMediaPage } = checkTypePageActivity(page.type);
2091
2091
  const mode = (_b = page.media_mode) != null ? _b : page.media_area_id ? "media_area" : null;
2092
2092
  const singleMedia = getSingleMediaPageData(page);
2093
- const hasMediaData = isMediaPage && singleMedia !== void 0;
2093
+ const hasMediaData = !!page.media_area_id || page.media_area_context_ref || singleMedia !== void 0;
2094
2094
  return {
2095
2095
  direction,
2096
2096
  mode,