Здравейте, някой може ли да ми помогне, желая да подкарам клипове на vbox7 подобно на този начин:
Целият код може да видите тук:
http://codepad.org/rGws3Yyv
Благодаря предварително!
Код:
$online_video_url = explode( '/', $online_video_url );
$online_video_url = $online_video_url[count($online_video_url) - 1];
$online_video_url = "http://www.24video.net/video/download2/" . $online_video_url . "?type=mp4";
$get_video = file_get_contents($online_video_url);
preg_match_all( '#href="http://dl.24video.net/(.*?)"#is', $get_video, $matches_video );
$video = $matches_video[1][0];
$video = "http://dl.24video.net/" . $video;
preg_match_all( "#'image_url' : '(.*?)',#is", $get_video, $matches_image );
$image = $matches_image[1][0];
Целият код може да видите тук:
http://codepad.org/rGws3Yyv
Благодаря предварително!