Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A plugin for ExpressionEngine to work with YouTube & Vimeo input (ID, link, embed) and output ID, link, embed or SWFObject 2.x code.
PHP
Tree: cdca47ab8e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
pi.vidio.php

README

Vidio - Using YouTube, Vimeo and hopefully others at some point
===============================================================
Input a link, embed, or ID and output a link, proper embed, ID or SWFObject 2.x code.

{exp:vidio format="object" width="480" height="340"}http://www.youtube.com/watch?v=xxxxx{/exp:vidio}
Will output the player from just the url

{exp:vidio format="id"}http://www.youtube.com/watch?v=xxxxx{/exp:vidio}
Will output the video ID from a URL or embed code

{exp:vidio format="link"}<object ... />{/exp:vidio}
Will output the link from a embed code

{exp:vidio format="so" id="myContent" replace="myContainer"}<object ... />{/exp:vidio}
Will output the video using SWFObject 2.x format
Something went wrong with that request. Please try again.