// See also e551 精简的Applet
    public void init() {
        // Load audio clip
        AudioClip ac = getAudioClip(getDocumentBase(), "http://hostname.com/audio.au");
    
        // Play audio clip
        ac.play();
    
        // Stop playing audio clip
        ac.stop();
    
        // Play audio clip continuously
        ac.loop();
    }

 

Related Examples

相关文章:

  • 2021-07-04
  • 2022-02-22
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-08-13
  • 2021-07-20
相关资源
相似解决方案