Display Image instead of video for x time duration
I want to display image instead of video for x duration of time.
I need to do this because when ever video is not available I need to display image showing no video available for duration x.
x= time of video requested eg. video is requested of 10 minutes then i want to display image for 10 minutes.