Skip to main content

HTML5 audio and video integration with plone

Project description

Introduction

Original work by wildcardcorp.com

This package provides Audio and Video Dexterity content types and behaviors, conversions and players/views.

It integrates the HTML5 media player mediaelementjs and uses plone.app.async if installed to convert videos to common formats.

Features

  • Audio and Video types

  • Integration with mediaelementjs designed for maximum forward and backwards compatibility

  • Automatically convert video types to HTML5 compatible video formats

  • Be able to add video from TinyMCE by adding a link to the audio or video objects and then adding one of the available Audio and Video TinyMCE styles.

  • Integration with plone.app.async for conversions if installed

  • Plone 4.3 syndication support

  • Transcript data

  • Youtube URL (in case you want the video streamed from Youtube)

  • Streaming support

  • Still screen shot

  • Subtitle (captioning) file in SRT format

Installation

In order for video conversion to work correctly, you’ll need ffmpeg installed which provides the avconv collection of command line utilities.

On Ubuntu, you should be able to install with:

sudo apt-get install libav-tools

Plone 4

Must have plone.app.jquery >= 1.8.3

Conversion

Some versions of avconv may require extra arguments during the conversion process so that the conversion process succeeds and produces output files in a valid format. Extra infile and outfile options can be configured in the control panel:

avconv [infile options] -i infile [outfile options] outfile

The latest version of avconv on Ubuntu may require -strict experimental as an outfile option.

YouTube API Support

Since version 2.0, YouTube integration is supported. Videos can automatically be uploaded to a configured YouTube account.

Install

Different install requirements:

eggs =
    ...
    wildcard.media[youtube]
    ...

Then, setup a google api with oauth access and configure the google_oauth_id and google_oauth_secret properties in the Configuration Registry.

Finally, go to the url: http://plonesite/authorize-google

Support

Only tested on Plone 5.0, 4.3.x, Plone 4.1

Changelog

2.0.0 (2015-11-11)

  • add missing flashmediaelement.swf file and simplify build [vangheem]

  • be able to provide default width/height for videos in admin [vangheem]

  • fix use of captions [vangheem]

  • plone 5 compatibility [vangheem]

1.2b5 (2014-09-07)

  • fix player to get around not liking urls

1.2b4 (2014-09-07)

  • fix audio template og:url

1.2b3 (2014-09-05)

  • Fix issues with flash fallback (such as on IE8) [djay]

  • Fix documentation to install avconv [djay]

  • Fix to enable fullscreen mode in flash fallback mode [djay]

1.2b2 (2014-06-20)

  • Enabled auto resizing of video element in tile [zombified]

  • i18n support and italian translation [keul]

  • More complete uninstall profile [keul]

1.2b1 (2014-06-12)

  • Upgrade MediaElement.js to 2.14.2. [davidjb]

  • Remove extraneous files from MediaElement.js distribution. [davidjb]

  • Add collective.cover tile [zombified]

1.1 (2014-04-25)

  • add open graph data [vangheem]

1.0b2 (2014-03-05)

  • fix convert video [vangheem]

  • Fix minor typo in available views for audio/video types. This previously prevented saving type settings via the control panel. [davidjb]

1.0b1 (2014-02-15)

  • implement primary field [vangheem]

1.0a3 (2014-02-14)

  • handle no preview image being set [vangheem]

  • fix video type definition [vangheem]

1.0a2 (2014-01-29)

  • Add widget that supports streaming partial ranges of video content from video and audio fields. This package now supports video seeking in Chrome and iOS video display with content-range request support. [davidjb]

  • Configure CSS to apply prefix to local resources utilised for MediaElement.js. Previously, images used in CSS did not load when running outside of debug mode. [davidjb]

  • Upgrade MediaElement.js to 2.13.2. [davidjb]

  • Switch to using plone.autoform for form directives rather than the old location in plone.directives.form. [davidjb]

  • Omit ogv and webm video fields from add and edit forms; allows access to field contents from main video view. [davidjb]

  • Fix video display <source> URLs to point to correct fields. Previously, all links referred to the main MP4 video field. [davidjb]

1.0a1 (2013-12-18)

  • Initial release

Project details


Download files

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

Source Distribution

wildcard.media-2.0.0.zip (15.3 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page