Skip to main content

Display link content type as embedded video, provide a video gallery view

Project description

Introduction

This package adds a new view to Plone’s Link content type. If the remote url of the link is an oembedable video collective.videolink will override the default link_redirect_view browserview to show the embedded video.

Credits

The code was originally forked from another project nmd.ploneaslinkvideoembed

Dependencies

  • Plone
  • requests
  • plone.patternslib

Plone 4 compatibility

Use collective.videolink 3.0a5

Plone 5 compatibility

Use collective.videolink >5.0

Version 5 has support for video from Vimeo and Youtube and experimental support for public video links from Google Drive.

Why this package ?

I needed a way to display video links in a thumbnail gallery style view This provides a simple view for collections of video links. This is known to work with videos from youtube and vimeo. It also works with soundcloud and other oembedable links.

Changelog

5.0a5 (2018-03-16)

  • now “unshortens” urls from goo.gl and flickr [pigeonflight]
  • supports embedding flickr albums [pigeonflight]

5.0a4

  • version bump [pigeonflight]

5.0a2

  • updated changelog and readme

5.0a1

  • added soundcloud and experimental google drive video support [pigeonflight]
  • now works with Plone 5 [pigeonflight]
  • further customisations to the embeddedvideo listings view and individual view [pigeonflight]
  • added dependency on plone.patternslib and videos now use pat-inject to load inline;fixed thumbnailing so that thumbnails are created on creation not just modification of a video link [pigeonflight]
  • refactored to use a custom marker interface “IVideoLinkOembedable” as a strategy for overriding the default link view with a video view; we no longer implement our own display view in the display menu [pigeonflight]
  • test suite updated to work with plone.app.testing

3.0a4

  • replaced collective.colorbox with collective.prettyphoto [pigeonflight]
  • do not purge viewmethods [cleder]
  • use metal:content-core fill-slot=”content-core” to simplify pagetemplate [cleder]
  • added embeddedvideos view to Collections and Folders [pigeonflight]
  • known to work with Plone 4.2 and 4.3

3.0a

  • collective.colorbox with collective.prettyphoto
  • this version requires Plone 4 as it uses the json module which ships with Python 2.6 [pigeonflight]
  • now properly supports blip.tv and youtube videos [pigeonflight]

2.0a

  • version that is now compatible with Plone 4 [pigeonflight]

1.0a10

  • updated viddler code to compensate when url is missing a trailing slash [pigeonflight]

1.0a9

  • prevent uneccessary repetition of queries to oembed providers [pigeonflight]

1.0a5

  • fixed bug where normal links would become broken when product is installed [pigeonflight]

1.0a4

  • removed stray ‘debugging’ line in embed.pt that was showing uneccessary metadata [pigeonflight]

1.0a3

  • now relies on oohembed for videos that are not from vimeo,youtube or viddler [pigeonflight]
  • thumbnails will be forced to 200px width in the @@embeddedvideos collection view [pigeonflight]

1.0a

  • added proof of concept auto thumbnails for vimeo videos [pigeonflight]
  • created a custom view for collections called @@embeddedvideos [pigeonflight]
  • forked from nmd.plonelinkasvideoembed [pigeonflight]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.videolink-5.0a5.tar.gz (21.2 kB) Copy SHA256 hash SHA256 Source None Mar 16, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page