Closed andrewminton closed 13 years ago
Wow ! Great! Merged !
First time is always difficult! I had to do it 3 times as well when I push things to the datetime_field extension!
Hey Andrew, I reviewed your code and it seems that there are some code needed for Youtube, that may not work with other providers...
This part
if (strpos($params['url'], '#') !== FALSE) {
// split on every # or /
$exploded = preg_split('/[\/#]/', $url);
$url = self::BASE_URL . $exploded[count($exploded)-1];
`}
was designed only for youtube and may not be right for other services... I'll updated my comments into the Youtube driver so copying it would be more accessible
This is the first time I've done pull request so I'm learning as I do them.