derralf/elemental-video

A simple content block with a video and optional HTML-Text for the silverstripe-elemental module

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

dev-master / 2.x-dev 2019-07-09 10:00 UTC

This package is auto-updated.

Last update: 2020-01-09 11:16:18 UTC


README

A block that displays content with one or multiple Images.
(private project, no help/support provided)

Requirements

  • SilverStripe CMS ^4.3
  • dnadesign/silverstripe-elemental ^4.0
  • sheadawson/silverstripe-linkable ^2.0@dev
  • jonom/focuspoint ^3.0
  • bummzack/sortablefile ^2.0

Suggestions

  • derralf/elemental-styling

Modify /templates/Derralf/Elements/TextImages/Includes/Title.ss to your needs when using StyledTitle from derralf/elemental-styling.

Installation

  • Install the module via Composer
    composer require derralf/elemental-video
    

Configuration

A basic/default config. Add this to your mysite/_config/elements.yml

Optionally you may set defaults:Styleto any of the available styles.


---
Name: elementaltextimages
---
Derralf\Elements\Video\Element\ElementVideo:
  styles:
    '': "Standard"
    VideoLeftFiftyFifty: "Video links, 50%"
    VideoRightFiftyFifty: "Video rechts, 50%"
    VideoRightThirtythree: "Video rechts, 33%"
  styles_default_description: 'Standard: volle Breite, Text darüber'
  readmore_link_class: 'btn btn-primary btn-readmore'

Additionally you may apply the default styles:

# add default styles
DNADesign\Elemental\Controllers\ElementController:
  default_styles:
    - derralf/elemental-video:client/dist/styles/frontend-default.cs

See Elemental Docs for how to disable the default styles.