
관련 서비스에 대해 더 아시고 싶으시면 BrowserPlus 랜딩 페이지를 참고하세요.웹을 확장하는 플랫폼: 최종 사용자는 BrowserPlus를 설치하고, 개발자는 작은 JavaScript 라이브러리를 통해 그것의 기능을 사용합니다. 오늘 플랫폼에 포함한 기능 몇 가지입니다:
- 데스크탑에서의 드래그-앤-드랍
- 클라이언트측 이미지 관리 (자르기, 회전 & 필터)
- 데스크탑 알림
TTS 서비스도 있나봅니다.
[code:js]
// the "service specification" that we'll activate
var ttsService = {
service: "TextToSpeech",
version: "1",
minversion: "1.0.2"
};
// check for the presence of TextToSpeech, and dump results in the
// specified div
function checkForTextToSpeech(divName) {
YAHOO.bp.isServiceActivated(
ttsService,
function() {
var _divName = divName;
return function(haveIt) {
var d = document.getElementById(_divName);
d.innerHTML = haveIt;
};
}());
}
YAHOO.bp.init(function(res) {
if (res.success) {
checkForTextToSpeech("before");
YAHOO.bp.require({services: [ ttsService ]},
function(r) {
checkForTextToSpeech("after");
if (r.success) {
YAHOO.bp.TextToSpeech.Say(
{ utterance: "text to speech is activated" },
function() {} );
}
});
}
});
이미지의 드래그앤드랍과 그들을 자르는 것을 합쳐놓은 좋은 데모가 있습니다.// the "service specification" that we'll activate
var ttsService = {
service: "TextToSpeech",
version: "1",
minversion: "1.0.2"
};
// check for the presence of TextToSpeech, and dump results in the
// specified div
function checkForTextToSpeech(divName) {
YAHOO.bp.isServiceActivated(
ttsService,
function() {
var _divName = divName;
return function(haveIt) {
var d = document.getElementById(_divName);
d.innerHTML = haveIt;
};
}());
}
YAHOO.bp.init(function(res) {
if (res.success) {
checkForTextToSpeech("before");
YAHOO.bp.require({services: [ ttsService ]},
function(r) {
checkForTextToSpeech("after");
if (r.success) {
YAHOO.bp.TextToSpeech.Say(
{ utterance: "text to speech is activated" },
function() {} );
}
});
}
});
Yahoo! 웹 확장에 동참해줘서 반갑다네! (...라고 Dion씨가 그랬어요)
from Yahoo! BrowserPlus: Sneak Peak on Ajaxian
'[IT] Web Tech' 카테고리의 다른 글
스피드 업! Wordpress와 Google Gears (0) | 2008.06.05 |
---|---|
IE 버전별 테스트를 조금 더 편하게! (0) | 2008.06.05 |
YUI 2.5.2 릴리스, Firefox 3와 Opera 9.5 지원 대폭 개선 (0) | 2008.06.05 |
Addressbook: Form History 패턴의 예제 (0) | 2008.06.04 |
Yahoo! BrowserPlus 엿보기 (0) | 2008.06.04 |
Flash로 구현된 HTML5의 Video 태그 (3) | 2008.06.04 |
SquireelFish: WebKit의 빠른 새 JavaScript 엔진 (4) | 2008.06.04 |
"모바일 웹에서 빠르게" 프리젠테이션 (0) | 2008.06.04 |
Google AJAX 라이브러리 API (4) | 2008.06.04 |
댓글을 달아 주세요