Files
web-discuz/source/function/media/media_ixigua.php
2025-06-27 21:04:18 +08:00

15 lines
368 B
PHP
Executable File

<?php
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$checkurl = array('ixigua.com/');
function media_ixigua($url, $width, $height) {
if(preg_match("/^https?:\/\/(|m.|www.)ixigua.com\/(\d+)/i", $url, $matches)) {
$iframe = 'https://www.ixigua.com/iframe/'.$matches[2].'?autoplay=0';
$flv = $imgurl = '';
}
return array($flv, $iframe, $url, $imgurl);
}