This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Introduction

This is a tiny addon for Plone that enables embedding of Youtube videos in ReStructuredText.

Installation

Include the egg in your buildout:

| [buildout]
|    eggs += collective.youtube_rst

Manual setup

You will need to allow IFRAME tags in your site.

  • In your browser, goto /@@filter-controlpanel
  • Under Custom tags hit the button ‘Add Custom tags’
  • in the new input field, enter: iframe
  • Hit ‘Save’ or your changes will not take effect

Usage

You can now embed a youtube video in rst using the ‘youtube’ directive:

.. youtube:: foobar

Optionally you can override the default with (560px) and height (349px) settings:

.. youtube:: foobar
    width=640
    height=390

Gotchas

ReStructuredText to HTML conversion is (apparently) done save-time, not render-time. If you’re fiddling with the rst config, you may need to re-save any rst documents for changes to show up.

Changelog

0.1dev (unreleased)

  • Initial release
Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting