Skip to content
Snippets Groups Projects
Commit eb0f341e authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-7241: code standards

parent 917f62b7
No related branches found
No related tags found
1 merge request!256ISTWCMS-7241: add identifier for YouTube playlists
......@@ -72,7 +72,7 @@ class UwCblRemoteVideoEventSubscriber extends UwCblBase implements EventSubscrib
// Check for YouTube playlist.
elseif (preg_match($pattern = '/^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.?be)\/(playlist\?list=)([a-zA-Z0-9_-]+)$/', $remote_video['view']['url'])) {
// Set the type of video to YouTube playlist
// Set the type of video to YouTube playlist.
$remote_video['view']['type'] = 'YouTube playlist';
}
// Check for Vimeo.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment