Iframe with video content inside ion slides not working


I have iframe inside innerhtml which is inside ion-slide. When i open the slide the video player auto plays and when the user reaches the video player containing slide the video plays again thus resulting in single video playing twice without user interaction. Anyone can resolve this?


I have found a solution to this issue. Instead of using iframe I have used html video tag and through ionic slide api I paused the video at the begining and also when user navigates away from the video containing slide.