[BUGFIX] Vimeo mediawizardprovider needs new syntax
authorGeorg Ringer <mail@ringerge.org>
Tue, 8 Nov 2011 07:58:02 +0000 (08:58 +0100)
committerOliver Hader <oliver@typo3.org>
Tue, 22 Nov 2011 12:53:33 +0000 (13:53 +0100)
Vimeo changed its behaviour and there is always the
vimeo error "no video" shown. Their change is strange
as vimeo required the argument clip_id as the 1st one

Change-Id: I62e9c425895e08dfe091179dac34495fc681ffe1
Resolves: #31661
Releases: 4.7, 4.6, 4.5, 4.3
Reviewed-on: http://review.typo3.org/6591
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/cms/tslib/class.tslib_mediawizardcoreprovider.php

index bdb173e..15c5d96 100644 (file)
@@ -173,8 +173,7 @@ class tslib_mediaWizardCoreProvider implements tslib_mediaWizardProvider {
        protected function process_vimeo($url) {
                if (preg_match('/[\/#](\d+)$/', $url, $matches)) {
                        $videoId = $matches[1];
-                       $url = 'http://vimeo.com/moogaloop.swf?&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&fullscreen=1&clip_id=' .
-                               $videoId;
+                       $url = 'http://vimeo.com/moogaloop.swf?clip_id=' . $videoId . '&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&fullscreen=1';
                }
                return $url;
        }