Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Videogular 2 Doesn't work with layz loading

$
0
0

@onkelsoft wrote:

Hi,

Trying to use videogular with ionic. Basicaly fallowed these steps:

It works fine with ionic 2 but when trying with Ionic 3 lazy loading it gives me below error:

Runtime Error
Uncaught (in promise): Error: Template parse errors: Can't bind to 'vgMedia' since it isn't a known property of 'video'. (" <video #media [ERROR ->][vgMedia]="media" id="singleVideo" preload="auto" controls> <source src="http://stati"): ng:///MyPageModule/MyPage.html@56:26 'vg-player' is not a known element: 1. If 'vg-player' is an Angular component, then verify that it is part of this module. 2. If 'vg-player' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" [ERROR ->] <video #media [vgMedia]="media" id="singleVideo" preload="auto" controls> "): ng:///MyPageModule/MyPage.html@55:8 Error: Template parse errors: Can't bind to 'vgMedia' since it isn't a known property of 'video'. (" <video #media [ERROR ->][vgMedia]="media" id="singleVideo" preload="auto" controls> <source src="http://stati"): ng:///MyPageModule/MyPage.html@56:26 'vg-player' is not a known element: 1. If 'vg-player' is an Angular component, then verify that it is part of this module. 2. If 'vg-player' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" [ERROR ->] <video #media [vgMedia]="media" id="singleVideo" preload="auto" controls> "): ng:///MyPageModule/MyPage.html@55:8 at syntaxError (http://localhost:8101/build/main.js:77927:34) at TemplateParser.parse (http://localhost:8101/build/main.js:88418:19) at JitCompiler.compileTemplate (http://localhost:8101/build/main.js:102169:39) at http://localhost:8101/build/main.js:102093:62 at Set.forEach (native) at JitCompiler.compileComponents (http://localhost:8101/build/main.js:102093:19) at createResult (http://localhost:8101/build/main.js:101978:19) at t.invoke (http://localhost:8101/build/polyfills.js:3:8971) at Object.onInvoke (http://localhost:8101/build/main.js:4510:37) at t.invoke (http://localhost:8101/build/polyfills.js:3:8911)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>