Hold to play video for the length of the video using on-hold directive?

I am trying to use the on-hold directive to play HTML5 and YouTube videos of disparate lengths as long as the screen is held(identical to snapchat but for actual video). The default limit is 500ms. How/where can I modify this without having go into Angular?

Also, will the directive override the functionality in the youtube content player? The objective is to have the screen touch/held to play regardless of its position in the player and I’ve yet to deal with video in the framework.


So you could skip the on-hold directive and you could use on-touch if you wanted.
This would give you the desired effect.

1 Like