YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > Javascript
검색
멤버이름    오토
비밀번호 
 

GIF 플레이어(제어)

페이지 정보

작성자 MintState 댓글 0건 조회 7,473회 작성일 17-09-26 11:37

본문

IF 플레이어(제어)

가끔씩 gif 를 홈페이지에 넣게 되는데 계속 로테이션으로 플레이 되어 안좋은 때가 있습니다.

그래서 소개해 드릴것이 gifplayer 입니다. jquery 플러그인식으로 작동합니다.
http://rubentd.com/gifplayer
https://github.com/rubentd/gifplayer


Customizable jquery plugin to play and stop animated gifs. Similar to 9gag's. New: Video support (webm, mp4)

###Basic Usage
1. Add a preview of the gif or video file to your website
2. Specify a ‘data-src’ attribute with the path to the animated gif or video, or simply have an image with the same name and the .gif extension in the same folder of the ‘preview’ image
3. Include jquery.js, jquery.gifplayer.js and gifplayer.css on your site
4. Call the .gifplayer() method for the desired images
<img class="gifplayer" src="media/banana.png" />
<script>
	$('.gifplayer').gifplayer();
</script>
첨부 파일
파일 종류: gz gifplayer-0.2.3.tar.gz (202.0K, 52 views)
파일 종류: gz gifplayer-0.3.4.tar.gz (204.9K, 7 views)

댓글목록

등록된 댓글이 없습니다.

Total 178건 1 페이지
Javascript 목록
번호 제목 글쓴이 조회 날짜
178 MintState 4166 03-22
177 MintState 5742 07-24
176 MintState 4447 04-19
175 MintState 7666 11-02
174 MintState 6915 10-27
열람중 MintState 7474 09-26
172 MintState 7924 03-08
171 MintState 9200 11-14
170 MintState 7416 07-01
169 MintState 8698 03-05
168 MintState 9611 11-19
167 MintState 15084 04-11
166 MintState 16500 04-06
165 MintState 14195 07-23
164 MintState 14429 06-09
163 MintState 15605 04-29
162 MintState 17915 04-29
161 MintState 14736 04-16
160 MintState 24576 02-17
159 MintState 20567 01-19
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™