diff --git a/docs/src/content/docs/guides/linux-media.mdx b/docs/src/content/docs/guides/linux-media.mdx new file mode 100644 index 000000000..5786c0b32 --- /dev/null +++ b/docs/src/content/docs/guides/linux-media.mdx @@ -0,0 +1,189 @@ +--- +title: Linux Media Playback +sidebar: + order: 12 +--- + +import {Badge} from '@astrojs/starlight/components'; + +Relevant Platforms: +
+ +On Linux, Wails applications use WebKitGTK for rendering web content. WebKitGTK delegates media playback (video and audio) to GStreamer, which handles the actual decoding and rendering of media files. + +## The GStreamer Protocol Issue + +GStreamer operates independently from WebKit's custom URI scheme handling. While Wails registers a `wails://` protocol handler with WebKit for serving your application's assets, GStreamer doesn't have access to this handler. This means when an HTML `