You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<interface> |
|
<object class="GstPlayer" id="player"> |
|
<property name="video-renderer"> |
|
<object class="ComponentsVideoPlayerRenderer" id="video_renderer"/> |
|
</property> |
|
<property name="signal-dispatcher"> |
|
<object class="GstPlayerGMainContextSignalDispatcher"/> |
|
</property> |
|
<signal name="duration-changed" handler="duration_changed" swapped="true"/> |
|
</object> |
|
<template class="ComponentsVideoPlayer" parent="AdwBin"> |
|
<child> |
|
<object class="GtkOverlay"> |
|
<child> |
|
<object class="GtkPicture" id="video"> |
|
<property name="paintable" bind-source="video_renderer" bind-property="paintable" bind-flags="sync-create"/> |
|
</object> |
|
</child> |
|
<child type="overlay"> |
|
<object class="GtkLabel" id="timestamp"> |
|
<style> |
|
<class name="osd"/> |
|
<class name="timestamp"/> |
|
</style> |
|
<property name="visible" bind-source="ComponentsVideoPlayer" bind-property="compact" bind-flags="sync-create | invert-boolean"/> |
|
<property name="halign">GTK_ALIGN_START</property> |
|
<property name="valign">GTK_ALIGN_START</property> |
|
<property name="margin-start">5</property> |
|
<property name="margin-top">5</property> |
|
<layout> |
|
<property name="measure">true</property> |
|
</layout> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
</template> |
|
</interface>
|
|
|