스

동영상 파일 업로드시 썸네일 생성할 수 있는 방법좀 알려주세요.

동영상, 플래시 파일이 asf, swf, flv, wma 등인가요?

여튼 이거 올렸을때 썸네일 생성해서 최신글에서 동영상의 특정 위치를 썸네일로 보여줄수있게 도와주세요~

썸네일 출력부분
[code]
if (file_exists($img))
$thumfile = "<img src='$img' width='{$img_width}' height='{$img_height}' border='0' style='border:1px #ccc solid'></a>";
else
//이미지가 없으면
$thumfile="<img src='$latest_skin_path/img/noimg.gif' width='{$img_width}' height='{$img_height}' style='border:0 #E7E7E7 solid'></a>";
//이미지가 아니네
if(preg_match("/\.(swf|wma|asf)$/i","$file") && file_exists($file))
{ $thumfile = "<script>doc_write(flash_movie('$file', 'flash$i', '$img_width', '$img_height', 'transparent'));</script>"; }
?>
[/code]
|

댓글 1개

자신의프로그램을 설치할 수 있는 단독서버가 아니면 불가능 합니다
ffmpeg 로 네이버 검색해보세요
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
11-04-06 조회 1,669
11-04-06 조회 1,794
11-04-06 조회 1,818
11-04-06 조회 1,735
11-04-06 조회 1,949
11-04-06 조회 1,626
11-04-06 조회 1,831
11-04-06 조회 1,699
11-04-06 조회 1,945
11-04-06 조회 2,025
11-04-06 조회 1,643
11-04-06 조회 3,208
11-04-06 조회 1,679
11-04-06 조회 1,897
11-04-06 조회 1,665
11-04-06 조회 1,665
11-04-06 조회 1,805
11-04-06 조회 2,978
11-04-06 조회 1,473
11-04-06 조회 2,132