Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update doc related to spotify

  • Loading branch information...
commit 3db1eb0994779538831bfe92bebfd87e7dc99b8e 1 parent e4dd97c
@GromNaN authored
Showing with 6 additions and 5 deletions.
  1. +4 −3 README.md
  2. +2 −2 composer.json
View
7 README.md
@@ -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
4 composer.json
@@ -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": [
{
Please sign in to comment.
Something went wrong with that request. Please try again.