videogular2: vg-for doesn't work
Description
I have two different players. I want them to have separate controls, so I’m trying to user vg-for, but it causes an error Error: Template parse errors. This happens when I use vg-for anywhere,
Expected Behavior
vg-for works and binds controls to one player only.
Actual Behavior
vg-for causes Template parse error. Without using it, the controls will effect both videos.
Steps to Reproduce
- add
vg-forto any control
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (7 by maintainers)
@uiktiomasfeliz ok, that’s another issue probably related with https://github.com/videogular/videogular2/issues/300
You should be using
vg-foronly if you have severalvideotags at the same time inside of the samevg-player. For example in case of you want to have two videos inside the samevg-playercontainer but you want to play each video with a differentvg-play-pausebutton.A massive update is coming this weekend probably and it will fix lots of issues.
In the meantime you can probably workaround this by changing your template to this: