{"version":"1.0","type":"rich","title":"playClip","description":"This example demonstrates a custom method for playing a specific segment of an HTML audio element. It defines `HTMLAudioElement.prototype.playClip`, which takes a start and stop time, sets the current playback position, and uses `setTimeout` to pause the audio after the desired duration. The code relies on the native Web Audio API and DOM methods like `querySelectorAll` to select an audio element and trigger playback. It shows how to extend built-in browser objects for reusable time-based audio control.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3567064?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}