'Scenario: End time works for Youtube video if starts playing from between.
Given we have a video in "Youtube" mode  with end time set to 00:01:00
And I seek video to "0:55" position
And I click video button "play"
And I wait until video stop playing
Then I see video slider at "1:00" position'

def test_video_end_time_wo_default_start_time(self):

    data = {'end_time': '00:01:00'}
    self.metadata = self.metadata_for_mode('youtube', additional_data=data)
    self.navigate_to_video()
    self.video.seek('0:55')
    self.video.click_player_button('play')
    self.video.wait_for_state('pause')
    self.assertIn(self.video.position, ('1:00', '1:01'))
