<html><head>
</head>
<body><div>On Thu, 2022-10-27 at 23:54 +0100, yPhil via gstreamer-devel wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>It's been a while now that Gtk4 shipped out, with <a href="https://docs.gtk.org/gtk4/class.Video.html" rel="nofollow
noreferrer">a new <code>Gtk.Video()</code> component</a> that allows to display a simple video in a Gtk window without resorting to using Gstreamer.</div></blockquote><div><br></div><div>The only supported implementation right now is using GStreamer FWIW.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><p>There were a lot of blog posts about it ; But no matter how hard I try, I can't find a single example (? not even in C) of implementation ; I got as far as presenting the widget in a window (code <a moz-do-not-send="true" href="https://stackoverflow.com/questions/74201946/gtk4-gtk-video-doesnt-play">here</a>) but that's it :(</p><p>The window shows up, with a neat play button in the lower left corner, all signals are good, <i>no warnings or messages in the console</i>, but the video doesn't play, the play button does nothing and the window stays black.</p><p>Am I missing something obvious?</p><p></p><p>Is there a single implementation example of this widget anywhere on the internet ?</p></blockquote><div>The gtk4-demo has example usage of it.</div><div><br></div><div>A better place to ask this would probably be the GNOME Discourse: <a href="https://discourse.gnome.org/">https://discourse.gnome.org</a></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote><div><br></div><div><span><pre>-- <br></pre><div>Sebastian Dröge, Centricular Ltd · <a href="https://www.centricular.com">https://www.centricular.com</a></div></span></div></body></html>