Permalink
Browse files

Update doc related to spotify

  • Loading branch information...
1 parent e4dd97c commit 3db1eb0994779538831bfe92bebfd87e7dc99b8e @GromNaN committed Oct 10, 2012
Showing with 6 additions and 5 deletions.
  1. +4 −3 README.md
  2. +2 −2 composer.json
View
@@ -1,7 +1,7 @@
TubeLink - Parse any video URL
===============================
-**TubeLink** is a PHP library to extract video information from any URL.
+**TubeLink** is a PHP library to extract identifier from any URL of video / music / ...
Supported Services
------------------
@@ -12,6 +12,7 @@ a supported URL and extract the video ID.
* [Youtube](http://www.youtube.com/)
* [Dailymotion](http://www.dailymotion.com/)
* [Vimeo](http://www.vimeo.com/)
+* [Spotify](http://www.spotify.com/)
* ... more to come
Installation
@@ -62,9 +63,9 @@ $url = 'http://youtu.be/kffacxfA7G4';
$parser = new TubeLink();
$parser->registerService(new TubeLink\Service\Youtube());
-$video = $parser->parse($url);
+$tube = $parser->parse($url);
// Shows the embedded video HTML
-echo $video->render();
+echo $tube->render();
```
View
@@ -1,7 +1,7 @@
{
"name": "grom/tube-link",
- "description": "Extract video information from any URL and render HTML",
- "keywords": ["video", "youtube", "url", "parser"],
+ "description": "Extract video/music information from any URL and render HTML",
+ "keywords": ["video", "youtube", "url", "parser", "spotify", "vimeo", "dailymotion"],
"license": "MIT",
"authors": [
{

0 comments on commit 3db1eb0

Please sign in to comment.