[FEATURE] Enhance youtube id getting 16/23616/4
authorSteffen Ritter <info@rs-websystems.de>
Wed, 4 Sep 2013 11:23:59 +0000 (13:23 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 9 Sep 2013 10:13:39 +0000 (12:13 +0200)
commit83b4390d962de5a3539c9d366efeaccad3584ca8
treec84e43053a4d242018f420951ff72d5e73ae321e
parent8c2e2a1c7265064053b0664c273e149892ed0e13
[FEATURE] Enhance youtube id getting

The preg_match to fetch the video id from an url do cover only a few
variation. The enhancement covers a lot more possibilities

Releases: 6.2
Fixes: #51728
Change-Id: Ie9d0b3b5dbfff4e129d37fcf351d1d8c5fcdfc98
Reviewed-on: https://review.typo3.org/23616
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/frontend/Classes/MediaWizard/MediaWizardProvider.php
typo3/sysext/frontend/Tests/Unit/MediaWizard/MediaWizardProviderTest.php [new file with mode: 0644]