a somewhat working system of video start and end times
This commit is contained in:
parent
76c669c5a5
commit
461d25a73d
4 changed files with 35 additions and 2 deletions
|
@ -309,8 +309,16 @@ impl slide_object::SlideObject {
|
|||
.get(&QString::from("videoStartTime"))
|
||||
.unwrap_or(QVariant::from(&0.0));
|
||||
if let Some(int) = video_start_time.value::<f32>() {
|
||||
debug!(start_time = int);
|
||||
self.as_mut().set_video_start_time(int)
|
||||
}
|
||||
let video_end_time = item
|
||||
.get(&QString::from("videoEndTime"))
|
||||
.unwrap_or(QVariant::from(&0.0));
|
||||
if let Some(int) = video_end_time.value::<f32>() {
|
||||
debug!(end_time = int);
|
||||
self.as_mut().set_video_end_time(int)
|
||||
}
|
||||
|
||||
let html =
|
||||
image_background.value_or_default::<QString>().ends_with(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue