chevron_right
chevron_right
Controlling Where Videos Appear
How-To/Instructional

Controlling Where Videos Appear

Last Updated today
Article Navigation
Introduction
Steps
Tips and Best Practices
FAQs
Need Further Assistance?

Introduction

By default, Ezoic Video's Auto-Insert places a video player on any eligible page without a manually embedded player. This article covers how to prevent videos from appearing on specific pages, directories, or areas within a page.

Steps

Excluding an Entire Page

Option 1: Meta Tag

Add the following to the <head> of any page you want to exclude:

<meta name="ez_video" content="off">

Option 2: Exclude by Meta Tag Value in Dashboard

To exclude pages based on specific meta tag values, add them at Player Settings > Exclusions.

Option 3: Exclude by URL in Dashboard

To exclude a specific page by URL, add it to the exclusion list at the same location.

Excluding a Specific Area Within a Page

Option 1: CSS Class

Add the class ez_video-off to any HTML element where you do not want a video inserted:

<div class="sidebar ez_video-off">
  <!-- Video will not appear inside this element -->
</div>

Option 2: CSS Selector in Dashboard

Add CSS selectors for elements to exclude at Player Settings > Exclusions

Tips and Best Practices

Use URL exclusions for one-off pages

 Pages such as contact, privacy policy, or checkout pages can simply be added by the Disable Videos by Page. 

Use meta tags for category-level exclusions.

If your CMS outputs custom meta tags per post type or category, this is the most scalable approach for excluding entire sections of your site.

Use CSS selectors for layout-level control.

A single selector applied to a consistent theme element (e.g. sidebar) will exclude video from that area across every page at once.

FAQs

Do exclusion rules affect manually embedded videos?

No. Exclusion rules only apply to Auto-Insert. Manually embedded players will display regardless of exclusion settings.

Can I exclude an entire category of posts?

Yes, if your CMS outputs a meta tag or CSS class identifying posts by category. Add the meta tag to the dashboard exclusion list, or apply ez_video-off to your category template's content wrapper.

How quickly do dashboard exclusion changes take effect?

Changes typically take effect within a few minutes.

Need Further Assistance?

Please log in via support.ezoic.com to contact our support team.

× Enlarged Image

Loading ...