Often, achieving Instagram or Facebook type experience is more difficult than it sounds in Ionic. To bridge that gap, I’m going to show you how to automatically play and pause videos in your app as your user scrolls. This article will be a bit longer, despite the topic being pretty simple. The reason being, is I like to explain WHY we’re doing things, instead of just having you blindly copy and paste, without understanding what’s actually going on in your application. Let’s get started First and foremost, we need to edit our config.xml file to include the following preference. <preference name=”AllowInlineMediaPlayback” value=”true” /> This tells our app that we want to be able to choose which videos are played inline, without opening the native video player — which can be annoying in an app with a lot of user-generated videos. Edit Config.xml Your config.xml file should end up looking something like this: ... <pr...