diff --git a/examples/vanilla-ts-esm/public/mux-player-google-ima.html b/examples/vanilla-ts-esm/public/mux-player-google-ima.html
new file mode 100644
index 000000000..e8b90e421
--- /dev/null
+++ b/examples/vanilla-ts-esm/public/mux-player-google-ima.html
@@ -0,0 +1,73 @@
+
+
+
+
+ <mux-player> Google IMA CSAI example
+
+
+
+
+
+
+
+
+
+
+
+
+ Browse Elements
+
+
diff --git a/packages/mux-player/src/index.ts b/packages/mux-player/src/index.ts
index 279c31c23..114c1469a 100644
--- a/packages/mux-player/src/index.ts
+++ b/packages/mux-player/src/index.ts
@@ -84,6 +84,8 @@ const PlayerAttributes = {
NO_VOLUME_PREF: 'no-volume-pref',
CAST_RECEIVER: 'cast-receiver',
NO_TOOLTIPS: 'no-tooltips',
+ /** @TODO Move to separate/extended, ads-only impl/module? (CJP) */
+ AD_TAG_URL: 'adtagurl',
};
const ThemeAttributeNames = [
@@ -172,6 +174,14 @@ function getProps(el: MuxPlayerElement, state?: any): MuxTemplateProps {
// NOTE: since the attribute value is used as the "source of truth" for the property getter,
// moving this below the `...state` spread so it resolves to the default value when unset (CJP)
extraSourceParams: el.extraSourceParams,
+ /** @TODO Move to separate/extended, ads-only impl/module? (CJP) */
+ adTagUrl: el.adTagUrl,
+ /** @TODO Move to separate/extended, ads-only impl/module? (CJP) */
+ adBreak: el.adBreak,
+ /** @TODO Move to separate/extended, ads-only impl/module? (CJP) */
+ adBreakTotalAds: el.adBreakTotalAds,
+ /** @TODO Move to separate/extended, ads-only impl/module? (CJP) */
+ adBreakAdPosition: el.adBreakAdPosition,
};
return props;
@@ -365,6 +375,35 @@ class MuxPlayerElement extends VideoApiElement implements MuxPlayerElement {
// NOTE: Make sure we re-render when