Ionic App - <video> tag crashes the app when used with videogular2(video player for Angular)

Viewed 56

In our Ionic App there is a functionality to play exercise videos .

It is accompolished using videogular2 package , sample code below :

<vg-player oncontextmenu="return false" onselectstart="return false" ondragstart="return false"
            (onPlayerReady)="playerReady($event)" (click)="toggleControl($event)">
            <video #master [vgMedia]="master" [vgMaster]="true" webkit-playsinline=“webkit-playsinline”
                playsinline="playsinline" preload="metadata" autoplay="false" crossorigin
                [src]="config.video.src | sanitizeResource">
            </video>
<vg-player>

The app has been working fine till last week . Whenever the video is played , it causes the app to crash now. Commenting out the video tag doesnot crash the app though. Its strange because it is a simple HTML tag and I don't have any clue as to why this issue occurs all of a sudden

0 Answers
Related