Downloads » Resources » Youtube » Youtube | 2.0

Youtube 2.0

  • Currently 4.25/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
4 vote(s).

Resource ImageA simple snippet to embed Youtube videos in MODx CMS.

Based original 1.0 version by Banzai, which was in turn based on FlashVideo by Mark & Bugaev

Works with MODx Version(s): All
Submitted: Mar 28th 2008 | License: GPL - GNU Public | Downloads: 435

Description

Allows you to insert a YouTube video, either by providing the video ID, or by parsing the viewing page URL.

Optionally includes Flash version detection via the SWFObject (2.0) embedding code. Utilises the recommended markup from the SWFObject for maximum compatibility.

Provides parameters for all options of YouTube video embedding.

Instructions

See readme.html in download package.

Updates

* Rewritten from scratch
* Optionally uses SWFObject javascript for version detection
* Uses best practice embedding code (from SWFObject)
* Can be supplied a YouTube URL, and extracts the necessary ID from it
* More control over appearance - e.g. size (although it only affects the container, not the video size), "no flash" message.
* Full control over player parameters -- see http://code.google.com/apis/youtube/player_parameters.html


( back to top )