BoldMinded Docs
  • Overview
  • Advanced Categories
    • Docs
      • Installation
      • Requirements
      • Setup & Configuration
        • Hidden Config Options
        • Multi-Site Manager
      • Template Tags
      • FAQs
  • Ansel
    • Docs
      • Installation
      • Upgrading
      • Requirements
      • Settings
      • Usage
        • Channel:Form
      • Troubleshooting
      • Template Tags
    • FAQs
  • Bloqs
    • Docs
      • Why Bloqs?
      • Features
        • Add Bloq Menu
        • Nesting
        • Cloning
        • Drafts
        • Bloq Usage
        • Deprecated Bloqs
        • Caching
        • Profiling
        • Bloq Components
        • Bloq Groups
      • Installation
      • Requirements & Compatibility
      • Setup & Configuration
        • Hidden Config Options
      • Creating Bloqs
      • Template Tags
        • Twig
        • Examples
      • Context Variables
      • Add-on Developers
    • FAQs
  • Carson
    • Docs
      • Installation
      • Requirements
      • Fields
        • Omni
          • Hidden Config
        • Assistant
        • SEO
      • Troubleshooting
  • Custom System Messages
    • Docs
      • Installation
      • Requirements
      • Variables
      • Template Tags
  • DataGrab
    • Docs
      • Installation & Upgrading
      • Requirements
      • Troubleshooting
      • Configuring Imports
      • Running Imports
      • Automatic Imports
        • Importing with cron
        • Importing with cron (Deprecated)
      • Endpoints
      • Configuration Options
        • Config File Options
        • Increasing PHP memory limit
      • Import Types
        • CSV
          • Importing into Grid or Matrix field
        • JSON
          • Example file
        • WordPress
        • XML
          • Example file
        • Creating your own import type
      • Assigning Authors
      • Field Types
        • Assets
        • Ansel
        • Bloqs
        • Calendar
        • Channel Images
        • Date
        • File
        • File Grid
        • Fluid
        • Grid
        • Low Events
        • Relationships
        • Simple Grids & Tables
        • Tag & Tagger
        • Matrix (Deprecated)
        • Creating your own fieldtype
      • Publisher
      • Version 5.0
      • Version 6.0
    • FAQs
  • Feature Flags
    • Docs
      • Installation & Upgrading
      • Requirements
      • Configuration
      • Template Tags
      • A/B Testing
    • FAQs
  • Fluidity
    • Docs
      • Installation & Upgrading
      • Requirements
      • Configuration
      • Demos
    • FAQs
  • Logit
    • Docs
      • Installation
      • Requirements
      • Configuration
    • FAQs
  • Publisher
    • Docs
      • Installation
      • Requirements
      • Issues & Tips
      • Languages
      • Template Tags
        • Forms
        • Email Notification Templates
        • Channel:Form
        • Twig
      • URL Translations
      • Auto Translations
      • Diffs
      • Drafts
      • Categories
      • Phrases
      • Persistence
      • Performance
      • Add-ons
        • First Party
        • Third Party
      • Hidden Config
      • Extending Publisher
    • FAQs
  • Reading Time PRo
    • Docs
      • Installation
      • Requirements
      • Configuration
      • Template Tags
  • Reel
    • Docs
      • Installation
      • Requirements
      • Settings
      • Field Tags
    • FAQs
  • Simple Grids & Tables
    • Docs
      • Installation
      • Requirements
      • Template Tags
      • CSV File Imports
      • Field Settings
      • GraphQL
      • Advanced Configuration (deprecated)
    • FAQs
  • Sitemap
    • Docs
      • Installation
      • Requirements
      • Configuration & Usage
    • FAQs
  • Snaptcha
    • Docs
      • Installation
      • Requirements
      • Configuration
      • Template Tags
      • Developers
    • FAQs
  • Speedy
    • Docs
      • Installation & Updating
      • Requirements
      • Configuration
      • Template Tags
      • Static Caching
        • Real World Example
      • Frontedit Support
      • Control Panel
      • Migrating from CE Cache
      • Diagnostics
      • CLI Commands
      • Reverse Proxy Purging
    • FAQs
  • Trek (unreleased)
    • Docs
      • Configuration
    • FAQs
  • Queue
    • Docs
Powered by GitBook
On this page

Was this helpful?

  1. Reel
  2. Docs

Field Tags

When using the stand-alone fieldtype you have access to a variety of variables containing information about your video that you can use to create your own embed tag or just display extra information about the videos. These variables are:

  • {field_name} This will give you the full iframe embed code.

  • {field_name:id} This will give you just the id of the video.

  • {field_name:description}

  • {field_name:width} The width of the video as chosen in the publish entry page. Note that the width value may be blank if it is not available in the YouTube or Vimeo response object.

  • {field_name:height} The height of the video as chosen in the publish entry page. Note that the width value may be blank if it is not available in the YouTube or Vimeo response object.

  • {field_name:author} The author of the video, or user who posted the video.

  • {field_name:length} The length of the video in seconds.

  • {field_name:thumbnail_small} A small thumbnail generated by the video service.

  • {field_name:thumbnail_medium}

  • {field_name:thumbnail_large}

  • {field_name:thumbnail_max}

For best results and control over the display of the video on your site, use the {field_name:id} variable and create your own embed tag in your templates, for example:

<iframe src="https://www.youtube.com/embed/{field_name:id}?rel=0&wmode=opaque" border="0" width="800" height="600"></iframe>

Low Variables Support

Reel supports Low Variables, but due to how Reel saves its data you must use the Low Variables parse tags. You can read about those tags from Low’s site.

Examples:

{exp:low_variables:parse var="lv_var_name"} 

Will return the entire embed tag for the video.

{exp:low_variables:parse var="lv_var_name" attribute="url"}

Will return just the URL for the video so you can embed it however you want. All the attributes listed above in the variables list are available. (The attributes are the values after the colon)

You can also access all the attributes individually through the pair tag.

{exp:low_variables:pair var="lv_var_name"}
    {embed}
    {description}
    {url}
{/exp:low_variables:pair}

Last updated 5 years ago

Was this helpful?