private final NativeSoundWidget nativeSoundWidget;
private int volume;
public NativeSound(String mimeType, String url, boolean streaming, Element soundControllerElement) {
super(mimeType, url, streaming);
nativeSoundWidget = new NativeSoundWidget(soundControllerElement, mimeType, url);
MimeTypeSupport mimeTypeSupport = NativeSoundWidget.getMimeTypeSupport(mimeType);
switch (mimeTypeSupport) {
case MIME_TYPE_SUPPORT_READY:
setLoadState(LOAD_STATE_SUPPORTED_MAYBE_READY);
break;