#1 2014-08-29 11:21:14

Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

[MERGED] Adding Youtube reduced URL management in backend

Ionize can add Youtube video URL, but don't understand URL like "http://youtu.be/kYNPtDbykp0"

To manage it, edit the file


Search for the method 'get_service_info()' line 1057
Now, add this code before the first Youtube check :

 // Youtube (reduced URL)
if (
	substr($base_path, 0, 15) == 'http://youtu.be'
	$service = array(
		'path' => 'http://www.youtube.com/embed/' . $file_name,
		'provider' => 'youtube'
	return $service;

@michel-ange : pull-request sended in github

Webmaster / OUF!WEB


#2 2014-10-18 10:18:43

Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 927

Re: [MERGED] Adding Youtube reduced URL management in backend

Pull request merged !

Thanks Kink.

Inspiration & Innovation : Websites by Partikule, Agence Web Paris


What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.


Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations