File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,17 +8,11 @@ Feature: DAP successfully integrates with the YouTube iframe API
88 And DAP is configured for agency "GSA"
99 And DAP is configured with YouTube tracking enabled
1010
11- Scenario :
11+ Scenario : Attempting to play a private YouTube video sends a video_error event to DAP
1212 When I load the test page "youtube.html"
1313 And I wait for the YouTube iframe API to load
1414 And I wait 5 seconds
1515 And I play YouTube video "zt4t5kOHBig"
1616 And I wait 5 seconds
17- Then a "video_start" event is sent to DAP with parameters
18- | video_provider | youtube |
19- | video_id | LcvYjkCBY28 |
20- | video_url | https ://www .youtube .com /watch ?v =LcvYjkCBY28 |
21- | video_title | Time -lapse of X -59 aircraft (May 2019 - June 2021 ) |
22- | video_duration | 57 |
23- | video_current_time | 0 |
24- | video_percent | 0 |
17+ Then a "video_error" event is sent to DAP with parameters
18+ | videotitle | |
Original file line number Diff line number Diff line change 1212< body >
1313< section >
1414 < div class ="flex-video widescreen "> < iframe title ="MedWatch Tips & Tools (January 2016) " height ="250 "
15- src ="https://www.youtube-nocookie.com/embed/7b-fcRQ2Q7k?mute=1 " frameborder ="0 " width ="500 "
15+ src ="https://www.youtube-nocookie.com/embed/7b-fcRQ2Q7k " frameborder ="0 " width ="500 "
1616 allowfullscreen ="" alt ="MedWatch Tips & Tools (January 2016) "> </ iframe > </ div >
1717 < p > < iframe title ="Time-lapse of X-59 aircraft (May 2019 - June 2021) " width ="500 " height ="250 "
1818 src ="https://www.youtube.com/embed/LcvYjkCBY28?feature=oembed&mute=1 " frameborder ="0 "
You can’t perform that action at this time.
0 commit comments