나는 html5 오디오 플레이어을하고 있으므로 맞춤식 플레이어를 사용하려고합니다. 기본 <audio>
태그 인터페이스를 사용하고 싶지 않습니다. 나는 선수를 위해 내 자신의 html/css 스타일을하고 싶다.html5 오디오 플레이어를 사용자 정의하는 방법
내 실제 코드는 사람이 선수의 스타일을 편집 할 수있는 방법을 알고, 또는이 플레이어를 실행하기 위해 내 자신의 HTML/CSS 코드를 사용하는 일을 하는가
if('webkitAudioContext' in window) {
var myAudioContext = new webkitAudioContext();
}
request = new XMLHttpRequest();
request.open('GET', 'http://96.47.236.72:8364/;', true);
request.responseType = 'arraybuffer';
request.addEventListener('load', bufferSound, false);
request.send();
function bufferSound(event) {
var request = event.target;
var source = myAudioContext.createBufferSource();
source.buffer = myAudioContext.createBuffer(request.response, false);
source.connect(myAudioContext.destination);
source.noteOn(0);
}
을 (그것은 작동)?
확인이 하나의 아웃 [편집 오디오 플레이어] [1] [1] : http://stackoverflow.com/questions/4126708/is-it-possible-to-style -html5-audio-tag – PlaceUserNameHere
작동중인 jsfiddle에 대한 링크가 있으면 좋지만 문제 자체에 관련 코드가 있으면 도움이됩니다 (링크는 영원히 유효하지 않습니다). – cpburnz