I seem to be having a wierd problem with my progress bar or maybe its my code but watever it is its not working correctly. im having to load like 2-3 different media files before the progress bar will even start to work.
heres the code from all 3 events that deal with both the progress bar and the label i have set as a timer for the media which shows the time of the media using the datediff plugin to format it to 00:00:00 for video and 00:00 for music. the label timer counts backwards from the length of the media to 0
i have highlighted the code i added for the progress bar in blue since that is the piece that isnt working. the label however works fine except when i pause and resume the playback it reset the label to the length of the media for just a second then resumes where it left off.
heres the code from all 3 events that deal with both the progress bar and the label i have set as a timer for the media which shows the time of the media using the datediff plugin to format it to 00:00:00 for video and 00:00 for music. the label timer counts backwards from the length of the media to 0
i have highlighted the code i added for the progress bar in blue since that is the piece that isnt working. the label however works fine except when i pause and resume the playback it reset the label to the length of the media for just a second then resumes where it left off.
Comment