function emvideo_twistage_extract in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 contrib/emvideo/providers/twistage.inc \emvideo_twistage_extract()
Implementation of hook_PROVIDER_extract().
File
- contrib/
emvideo/ providers/ twistage.inc, line 56 - Provide support for Twistage to the emfield.module (http://twistage.com).
Code
function emvideo_twistage_extract($embed = '') {
return array(
// http://console.twistage.com/videos/5567da521fb40
'@http://console\\.twistage\\.com/videos/([^"\\?]+)@i',
// http://service.twistage.com/plugins/player.swf?v=5567da521fb40
'@http://service\\.twistage\\.com/plugins/player\\.swf\\?v=([^"\\&]*)@i',
);
}