Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
Added example.php
Browse files Browse the repository at this point in the history
  • Loading branch information
navarr committed May 27, 2012
1 parent cdcfa5f commit 570db09
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions example.php
@@ -0,0 +1,17 @@
<?php
require_once('YTAudio.php');

// http://navarr.me/ytaudio/example.php

YTAudio::create
(
'http://www.youtube.com/watch?v=dvgZkm1xWPE&ob=av2n'
,YTAudio::SIZE_LARGE
,YTAudio::THEME_DARK
)
->hd() // Force HD
->loop() // Loop
->progressBar() // Show Progress Bar
->timeCode() // Show Time Code
->autoplay() // Autoplay
->render(); // Output XHTML

0 comments on commit 570db09

Please sign in to comment.