<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,
<div class="votecell post-layout--left">
<div class="js-voting-container d-flex jc-center fd-column
ai-stretch gs4 fc-black-200" data-post-id="74201946">
</div>
</div>
<p>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.</p>
<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>
<p><br>
</p>
<p>Thanks,</p>
<p>-- Phil<br>
</p>
</body>
</html>