videogular / videogular2

The HTML5 video player for Angular 2
https://videogular.github.io/videogular2-showroom/#/
MIT License
670 stars 211 forks source link

VG-Controls not responding on Angular 5 #902

Open Haugf opened 4 years ago

Haugf commented 4 years ago

Description

Hello Everyone, I have a single page video player application. The application loads the videos but when I press any of the buttons, other than the full screen button, nothing happens.

Expected Behavior

The control html tags should respond. When I created the application with iframe the videos were playing.

Actual Behavior

The controls do nothing when clicked.

Steps to Reproduce

I have added the vg-player and nested vg-controls and vg-play-pause as well as the full screen tag. I added a video tag that looks like this <video [vgMedia]="media" [src]="currentItem.url" type="video/mp4" id="singleVideo"> </video> after the vg-control

Attachments

Try to include screenshots for bugs or design assets for enhancements

Image One
Screen Shot 2020-06-04 at 8 37 39 PM

| The top of my app.component.html file |

Image Two
Screen Shot 2020-06-04 at 8 39 18 PM

| My app.component.ts file |