I have a question, I want a certain formatting in Aeva custom sites list but when I do it it doesn't work.
Here is the working.
Code: [Select]
This one doesn't work.
Code: [Select]
I may be missing something, the first one works but I rather have the movie defined as a url and not code because I output these in a open graph hack I made.
No big deal if Aeva wasn't designed to do this, I can just regex the url from the html iframe code. -_-
Here is the working.
$sites[] = array(
'id' => 'ytsp',
'title' => 'YouTube Series & Playlist',
'website' => 'http://www.youtube.com',
'type' => 'custom',
'plugin' => 'other',
'pattern' => 'http://(?:www\.)?youtube\.com/embed/videoseries\?list=([0-9a-z]{18})',
'movie' => '<iframe width="853" height="480" src="http://www.youtube.com/embed/videoseries?list=$2" frameborder="0" allowfullscreen></iframe>',
);
This one doesn't work.
$sites[] = array(
'id' => 'ytsp',
'title' => 'YouTube Series & Playlist',
'website' => 'http://www.youtube.com',
'type' => 'custom',
'pattern' => 'http://(?:www\.)?youtube\.com/embed/videoseries\?list=([0-9a-z]{18})',
'movie' => 'http://www.youtube.com/embed/videoseries?list=$2',
'fix-html-pattern' => '<iframe width="853" height="480" src="$1" frameborder="0" allowfullscreen></iframe>',
);
I may be missing something, the first one works but I rather have the movie defined as a url and not code because I output these in a open graph hack I made.
No big deal if Aeva wasn't designed to do this, I can just regex the url from the html iframe code. -_-