I have a strange situation where:
- Android recorded video plays on an iPhone but not on an Android device
- iPhone recorded videos play on both iPhones and Android devices
The HTML I use is:
<video controls="controls">
<source type="video/quicktime" [src]="sanitizer.bypassSecurityTrustResourceUrl(step.attachment)">
<source type="video/mp4" [src]="sanitizer.bypassSecurityTrustResourceUrl(step.attachment)">
</video>
The step.attachment
is a base64 file.
My App is built with ionic 2