Skip to content

WeDreamPro/PyroCMS-Video-URL-FieldType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyroCMS-Video-URL-FieldType

Add videos from youtube or vimeo. Copy and paste the URL into the field and that is it!

Team

Jose Luis Fonseca

Rigo B Castro

Installation

  1. Download the zip package
  2. Create a folder under addons/shared_addons/field_types/ and name it video_url
  3. Copy and paste the zip content.

That's it!

Usage

To access the final iframe in the plugin use {{ field_slud:html }}, the iframe already has the parameters selected in the field configuration.

Properties

The field type has the following properties when you set it up:

iFrame heigth: if is not set, it will take a default value of 315px;

iFrame width: if is not set it will take a default value of 560px;

Autoplay: By defaul the video will not autoplay, setting this to yes will make the video start once the page loads