Cofoundry plugin that adds integration with the Vimeo video service.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
GitVersion.yml
LICENSE
README.md
appveyor.yml
build.cake
build.ps1

README.md

Cofoundry.Plugins.Vimeo

Build status NuGet Gitter

This library is a plugin for Cofoundry. For more information on getting started with Cofoundry check out the Cofoundry repository.

Overview

This plugin adds a single data attribute [Vimeo] that can be used to markup a property of type VimeoVideo. This will show as a Vimeo Video picker in the admin UI.

Example

You can find a full example project named VimeoExample in the solution in this repository, which contains a VimeoVideo page block type.

Example Data Model

using Cofoundry.Domain;
using Cofoundry.Plugins.Vimeo.Domain;
using System.ComponentModel.DataAnnotations;

public class VimeoVideoDataModel : IPageBlockTypeDataModel, IPageBlockTypeDisplayModel
{
    [Required]
    [Vimeo]
    public VimeoVideo Video { get; set; }
}