Youtube embeded video


#1

I want to create a youtube video viewer that will display like imageViewer directive. Currently I’m showing video on a modal page. How can I close modal by pulling video down. How can I have the iFrame centered on the page?


#2

To answer the first question I don’t believe the ionic modal can do that. You will have to code your own modal to do that or maybe check the Gesture plugin from the ionic native list so you could add that yourself.
To center the iFrame you can do that in css or in this case scss.