Category Archives: javascript

ngx-translate with Angular 2

I wanted to add internationalization (i18n) support via ngx-translate to my MEAN application that I created with ng-fullstack generator but there was a warning which said
“if you’re still on Angular <4.3, please use Http from @angular/http with http-loader@0.1.0."

So, I should use "Http" module from "@angular/http" instead of "HttpClient" module from "@angular/common/http".
Continue reading

Video Playlist for Flowplayer with Javascript

Even Flowplayer gives you some plugin for playlist attribute, maybe you just want a simple playlist with just javascript.

For this purpose we can use “playlist” option.
Click to read more…