The Text Selection API allows developers to detect and monitor user text selections in real-time, making it ideal for text editors, custom context menus, and interactive highlighting.
Tracks user text selections instantly, enabling features like interactive text editing and custom context menus without delay.
Logs detailed information about the text selection such as the selected text, range counts, and offsets, which helps in creating rich text manipulation features.
Supports text selections that span across multiple nodes or paragraphs, providing flexibility and robust handling for complex text structures.
Enables working with audio, video, and media capture capabilities.
Facilitates storing and retrieving data locally in the browser.
Allows making requests, handling responses, and managing connectivity.
Provides access to device hardware features like battery, vibration, and sensors.
Measures and optimizes application performance.
Implements secure authentication and data protection.
Enhances user interface interactions and experiences.
Processes and transforms data with various encoding formats.
Provides interactive demos of various web APIs to help developers understand and experiment with their functionality.
Offers straightforward explanations of how different web APIs work, making them more accessible to developers.
Allows you to draw colorful rectangles, circles, and triangles on a canvas, providing the building blocks for more complex graphics.
Enables you to create smooth, bouncing animations with color-changing effects, showcasing the ability to build engaging visual content with canvas.
Provides tools to apply custom filters such as color inversion on images, simulating photo editing capabilities directly within the browser.
Facilitates the creation of 3D objects, such as a rotating cube with lighting, demonstrating the power of canvas for generating advanced graphics and game elements using WebGL.
Enables you to check if your browser supports DRM systems like Widevine or PlayReady, ensuring compatibility for encrypted content playback.
Integrates with navigator API to request access to a media key system, facilitating encrypted media playback by establishing secure keys.
Supports the playing of encrypted media content in browsers by handling decryption and security key exchanges, using libraries like dash.js.
Provides detailed error handling for playback errors, ensuring reliable content delivery and debugging capabilities.
Handles license requests for DRM-protected content, with feedback on request success or failure, enhancing content protection.
Create and manipulate points with x, y, z coordinates and an optional w perspective, useful in 3D graphics operations.
Use DOMRect to represent and calculate layout properties, such as position and size, essential for various hit-testing and boundary operations.
DOMMatrix provides powerful transformation support, allowing you to translate, scale, rotate, and handle more complex matrix operations for advanced shape transformations.
Create quads from DOMPoint objects to define and manipulate four-sided shapes in graphic spaces, aiding in transformations and texture mapping.
Transform your webcam video in real-time, converting color to black and white, or applying creative filters such as sepia or blur, showcasing interactive video frame manipulation.
Enhance live microphone audio by boosting volume levels, illustrating audio sample modification capabilities before the sound reaches listeners.
Switch between visual effects like sepia tone, color inversion, and blur through a user-friendly interface, allowing dynamic control over webcam feed appearances.
Runs a series of tests to determine whether a device can smoothly play various video codecs, at different resolutions and bitrates, ensuring playback is both supported and power-efficient.
Evaluates the device's ability to handle specific audio codecs and configurations, confirming if audio content will be played smoothly and efficiently on the user's device.
Assesses whether a device can efficiently encode video and audio for recording or live streaming, ensuring high performance and power efficiency across formats.
Enables the website to turn on the user's camera and display the live video feed directly on the webpage.
Lists all available cameras and microphones on a device, allowing users to choose their preferred device for use.
Allows control over camera quality settings such as resolution and frame rate to optimize performance and appearance.
Record video directly from your camera, providing live preview and playback functionalities. Easily integrate with a few lines of code for seamless user experiences.
Create voice recordings using a microphone. This feature resembles voice memo apps, offering playbacks after capturing audio.
Control the recording quality and file formats by checking for supported video and audio formats in the browser and customizing the recording settings accordingly.
Shows song information in system notifications and media centers, including title, artist, album, and artwork.
Allows you to control playback using hardware buttons and software controls on devices.
Displays playback progress information like duration, current position, and playback speed in the system media interface.
Allows a video to pop out into a separate floating window that remains on top, which can be viewed while multitasking across other applications or browser tabs.
Provides access to the dimensions of the Picture-in-Picture window and allows detection when users resize it, ensuring a flexible viewing experience.
Monitors and responds to changes when a video enters or exits Picture-in-Picture mode, enabling the automatic execution of actions during these transitions.
Detect available remote playback devices such as TVs, speakers, and manage connection status, with automatic updates on availability.
Create custom controls for media playback, including play, pause, and volume adjustments that function both locally and remotely.
Includes robust error handling throughout the connection process to ensure smooth operation and to handle unsupported scenarios gracefully.
Prompt users to select screen content they want to share and display the captured video directly in your app.
Customize screen capture with options like showing or hiding the cursor and capturing system audio for a more tailored screen sharing experience.
Generate SVG shapes programmatically, allowing you to easily create and customize vector graphics for any application.
Create smooth animations for SVG graphics, enhancing user interfaces, loading indicators, or data visualizations with dynamic visual effects.
Update SVG graphics in real-time based on user interactions or data changes, enabling interactive experiences with features like drawing tools and editable diagrams.
Create simple animations with smooth motion by using predefined keyframes and animation options such as duration and easing.
Offers interactive controls such as play, pause, and reverse for real-time manipulation of animations, similar to a video player.
Supports complex multi-step animations that allow you to transform elements through various states with precise timing control.
Load and play audio files with simple controls, allowing users to fetch, process, and play sound with just a few clicks.
Create sounds from scratch using a virtual keyboard that plays different notes and allows changing sound types like sine, square, sawtooth, and triangle waveforms.
Real-time, animated visualizations that display colorful patterns and frequencies in the music, providing a visual representation of the audio playing.
Detects browser's ability to support video codecs such as H.264, VP8, VP9, and AV1 using the VideoDecoder interface. It allows developers to query codec capabilities for different video formats.
Examines and verifies browser compatibility with various audio codecs including AAC, AC-3, FLAC, Opus, and Vorbis through the AudioDecoder interface.
Tests browser support for image formats like JPEG, PNG, WebP, GIF, AVIF, and SVG using the ImageDecoder interface, ensuring compatibility with different image types.
Convert spoken words into text in real-time, supporting multiple languages such as English, Spanish, French, and more, ideal for voice commands, dictation, or accessibility features.
Convert text into speech with control over different voices, languages, pitch, and speaking rate, providing a natural-sounding voice output.
Allows users to select from multiple languages and voices for both speech recognition and synthesis, accommodating diverse user preferences.
Displays interim transcription results while recognizing speech, updating continuously for a real-time experience.
Provides controls for speech synthesis such as starting, pausing, resuming, or canceling speech output.