Skip to content

Update some JS video examples to use local cache#6523

Open
dgirardi wants to merge 3 commits intomasterfrom
update-video
Open

Update some JS video examples to use local cache#6523
dgirardi wants to merge 3 commits intomasterfrom
update-video

Conversation

@dgirardi
Copy link
Copy Markdown
Contributor

@dgirardi dgirardi commented Apr 9, 2026

🏷 Type of documentation

  • text edit only (wording, typos)

This updates some instream videos examples to work and use the local cache.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit b0b120d
🔍 Latest deploy log https://app.netlify.com/projects/prebid-docs-preview/deploys/69d818104963950008b4abc7
😎 Deploy Preview https://deploy-preview-6523--prebid-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
<script type="text/javascript" class="cmplazyload" data-cmp-purpose="c51">
loadScript('https://cdnjs.cloudflare.com/ajax/libs/video.js/6.4.0/video.js')
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I found it necessary to "manually" load scripts here because the "cmplazyload" was messing with the load order and I couldn't figure out if there's a way to set it through CMP configuration / attributes.

I tried to add the same note as a jinja comment ({# #}) but it just gets included in the output verbatim - and I'm not even sure this is using jinja.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant