title: How to define different file links for different platforms in Cordova
body: <p>I have an app I'm developing and it's going really well :) I however have run into an issue as it gets bigger and bigger, which is trying to figure out how to write one line of code that will get Cordova to behave the way I want.</p>
  <p>Android version has an asset bundle, and therefore the link to my file looks like this:</p>
  <pre><code>&lt;video class=&quot;video&quot; controls autoplay&gt;
          &lt;source src=&quot;file:///android_asset/media/fullversion/littlebunniessleeping.mp4&quot; type=&quot;video/mp4&quot; allow fullscreen&gt;
      &lt;/video&gt;
  </code></pre>
  <p>And of course the iOS version does not have the bundle, so the link to file is like this:</p>
  <pre><code>&lt;video class=&quot;video&quot; controls autoplay&gt;
          &lt;source src=&quot;../../media/fullversion/littlebunniessleeping.mp4&quot; type=&quot;video/mp4&quot; allow fullscreen&gt;
      &lt;/video&gt;
  </code></pre>
  <p>So my question is how can I write one line of code so that cordova can automate this process for me? Currently when I go make a new build for the other platform I hack the code up manually, and it's not ideal since there's 40 links like this - will be 160 when I'm done.</p>