Click here to Skip to main content
15,889,889 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I wanna add bookmarks to a video so that when the seekbar comes over the bookmark an alert box must be raised.

Thanks in adance.

What I have tried:

I searched for 'how to add bookmarks for an interactive video' but there are very few results showing and unable to figure it out.
Posted
Comments
Jaroslav Mitrovic 5-Jun-18 5:09am    
Hi.
As I know, there is not such Funcionality built into the VideoPlayerControl.
You need to Create an "derived" Control of it and build in the "PART_" for the UI to have Marker´s and to handle the Events for it also.
Please get familiar with the Word "CustomControl" or at least "UserControl".
A strategy could be to try a Test Draft as a UserControl and then if needed to create a CustomControl, by Derive the VideoplayerControl and add the desired functionality.

I wanted to answer, but can´t find my old Videoplayer in "Star Trek LCARS" Style.
I needed the "Elbows" to be calculated into the Control on Creation, so i was forced to create a CustomControl (Derived from somethin I forgot...)

Also please consider how to use the "Markers". I used the "ProgressBar"-Approach for the Playtime and I had to put over that a Canvas-Control to place the Markers according to the Timespan from the Begin of the Video to the Marker.

Also be Precize with the TimeCalculation, please stay at the Marker Generation/Placement in the VideoPlayer Scale/Measure like "Frames per Second". In The UI you should only use a "Stringformat" to cut the String into Somthing like "1h:10Min:10Sec.100frames" -> "1:10:10.100".
These Markers can then be reused as Bookmarks, where te User should add Informations/Annotations to the Bookmark.

Basicaly I set TimeSpans, that are displayed as Markers, and a Bookmark-Marker is with additional Infos about the Marker. I wanted a Function to skip the Intro in Star Trek Voyager Episodes, like "Netflix" Nowadays has the "Skip Intro" button. For that You need to handle the Player "Momentum", to skip a Timespan (defined by two Markers, set by the User).

A little bit off the Topic, but to get a gripping Buzzwording about it... That´s so 90´ies

c.u. and greetings from sunny Hamburg

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900