mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
feat: enhance comment functionality with timestamp range support
- Added timestampEnd to Comment and CommentReply interfaces. - Implemented logic for handling comment timestamp ranges in the comment composer and comments pane. - Updated video player and player core to support frame stepping and improved seeking functionality. - Introduced frame mode toggle for precise navigation during video playback. - Closes #12
This commit is contained in:
@@ -78,6 +78,8 @@ export interface ApprovalRequest {
|
||||
export interface CommentReply {
|
||||
id: string;
|
||||
content: string | null;
|
||||
timestamp: number;
|
||||
timestampEnd: number | null;
|
||||
voiceUrl: string | null;
|
||||
voiceDuration: number | null;
|
||||
imageUrl: string | null;
|
||||
@@ -94,6 +96,7 @@ export interface Comment {
|
||||
id: string;
|
||||
content: string | null;
|
||||
timestamp: number;
|
||||
timestampEnd: number | null;
|
||||
voiceUrl: string | null;
|
||||
voiceDuration: number | null;
|
||||
imageUrl: string | null;
|
||||
@@ -145,6 +148,7 @@ export type DownloadTarget = BunnyDownloadPreference | 'direct';
|
||||
export interface CommentMarker {
|
||||
id: string;
|
||||
timestamp: number;
|
||||
timestampEnd: number | null;
|
||||
color: string;
|
||||
annotationData: string | null;
|
||||
preview: string;
|
||||
|
||||
Reference in New Issue
Block a user