프로젝트
GitHub에서 보기
endlesshack/youtube-video
소개
A Javascript library to access webm, mp4 sources for Youtube Videos.
창작 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalYoutubeVideo
Intro
A Javascript library to access the WebM (and other) streams for Youtube Videos.
This is a little script we've extracted from http://omgig.com to directly access the WebM (and other formats) streams for Youtube Videos.
Dependencies
- jQuery
Usage
var youtubeId = "Q4-MnX5PfO8";
YoutubeVideo(youtubeId, function(video){
console.log(video.title);
var webm = video.getSource("video/webm", "medium");
console.log("WebM: " + webm.url);
var mp4 = video.getSource("video/mp4", "medium");
console.log("MP4: " + mp4.url);
$("<video controls='controls'/>").attr("src", webm.url).appendTo("body");
});
관련 프로젝트 살펴보기
불러오는 중…