HTML::O...t::Audio(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸŽ€ NAME πŸŽ€

okay so this is the manual page for HTML::O...t::Audio(3) from the User Contributed Perl Documentation β€” yes, the name is literally truncated with the dots, she's iconic like that. The class is HTML::Object::DOM::Element::Audio β€” HTML Object DOM Audio Class, periodt. πŸ’…

✨ SYNOPSIS ✨

bestie, here's the starter pack exactly as written:

           use HTML::Object::DOM::Element::Audio;
           my $audio = HTML::Object::DOM::Element::Audio->new ||
               die( HTML::Object::DOM::Element::Audio->error, "\n" );

           <h2>Audio inserted with JavaScript</h2>
           <div id="myAudio"></div>

           my $div = document.getElementById( 'myAudio' );
           # Create an element <audio>
           my $audio = document.createElement('audio');
           # Set the attributes of the video
           $audio->src = 'https://example.org/some/where/audio/audio.ogg';
           $audio->controls = 1; # true
           # Add the aido to <div>
           $div->appendChild( $audio );

Result:

           <h2>Audio inserted with JavaScript</h2>
           <div id="myAudio"></div>
               <audio src="https://example.org/some/where/audio/audio.ogg" controls=""></audio>
           </div>

πŸ¦‹ VERSION πŸ¦‹

It's v0.2.0. Short, sweet, slay. ✨

🌸 DESCRIPTION 🌸

This interface provides access to the properties of <audio> elements, as well as methods to manipulate them. That's the whole vibe check β€” no extra lore.

πŸ‘‘ INHERITANCE πŸ‘‘

The family tree is literally this exact diagram, no cap:

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-----------------------------------+     +-----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Media | --> | HTML::Object::DOM::Element::Audio |
+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-----------------------------------+     +-----------------------------------+

πŸ’– PROPERTIES πŸ’–

Inherits properties from its parent HTML::Object::DOM::Element::Media β€” that's the tea, bestie. 🫢

πŸ”₯ METHODS πŸ”₯

Inherits methods from its parent HTML::Object::DOM::Element::Media β€” same energy, same parent, periodt. πŸ’…

🧚 AUTHOR 🧚

Jacques Deguest <jack@deguest.jp> β€” icon behavior. 🌈

⭐ SEE ALSO ⭐

Copyright(c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


mwah πŸ’‹ β€” this page came from perl v5.42.2, dated 2026-02-15, with the footer name HTML::O...t::Audio(3). that's the whole manual, bestie 🫢

πŸ“¦ where this page comes from