Overlay Using Anchor Tags
Home / Docs / Video Toolkit for Divi Builder / Overlay Using Anchor Tags
Video Toolkit Module & Plugin
Manage all your videos in a single post type with Divi modules and triggers for on page placement.
Learn More
Introduction
The plugin has a shortcode df_video_overlay_using_anchor_tag which can be used to create an anchor tag/link which when clicked triggers a video overlay.
Video Overlay for Youtube
Below is sample shortcode code for Youtube.
Following are the attributes.
- text: The link/anchor text value.
- video_type: Indicates the type of the video. The value in this case should be youtube.
- video_url: The video URL. In this case it’s the youtube video link.
Video Overlay for Vimeo
Below is sample shortcode code for Vimeo.
Following are the attributes.
- text: The link/anchor text value.
- video_type: Indicates the type of the video. The value in this case should be vimeo.
- video_url: The video URL. In this case it’s the vimeo video link.
Video Overlay for Facebook
Below is sample shortcode code for Facebook
Following are the attributes.
- text: The link/anchor text value.
- video_type: Indicates the type of the video. The value in this case should be facebook.
- video_url: The video URL. In this case it’s the facebook video link.
Video Overlay for HTML5 Video
Below is sample shortcode code for HTML5 Video
Following are the attributes.
- text: The link/anchor text value.
- video_type: Indicates the type of the video. The value in this case should be html5.
- mp4_url: The video URL in mp4 format.
- webm_url: The video URL in webm format.
Video Overlay Using Post ID
Following are the attributes.
- text: The link/anchor text value.
- id : The post id of the video post type.
Video Toolkit Module & Plugin
Manage all your videos in a single post type with Divi modules and triggers for on page placement.
Learn More