-
Install all peerDependencies (Angular) including
ziggeo-client-sdk. -
Install all dependencies via
npm install -
For UMD use, you can include
ZiggeoModulefromziggeo-angularpackage directly. Example:import {ZiggeoModule} from 'angular-ziggeo' -
For
AOTready need to include directly from path. Example:import { ZiggeoModule } from 'root_path/node_modules/angular-ziggeo/build/ziggeo/index' -
For production and AOT mode (starting from Angular 5), add to
.angular-cli.json:
"styles": [
"../node_modules/ziggeo-client-sdk/build/ziggeo.css"
],
"scripts": [
"../node_modules/ziggeo-client-sdk/build/ziggeo.js"
],- For older versions with Webpack, please add tovendor file:
import 'ziggeo-client-sdk/build/ziggeo.css';
import 'ziggeo-client-sdk/build/ziggeo.js';- Start server with
ng serve, and add parameters--prodfor production and--aotfor AOT.
See our working demos for Angular 5 as well as for Angular 2+4.
-
v0.1.1 -- Added screen recorder options:
[options]="{ ..., allowscreen: true, chrome_extension_id: 'Your chrome extension ID', chrome_extension_install_link: 'Your link to chrome extension installation', opera_extension_id: 'Your opera extension ID', opera_extension_install_link: 'Your link to opera extension installation' ...}"Screen Capture is currently supported by Firefox, Chrome and Opera.
- Firefox: Direct support -- no extensions or plugins required
- Chrome + Opera: use extension builder located in your application manager
Note: By default Ziggeo Chrome/Opera extension will be set to
Ziggeo screen recorderextension which will be available only inlocalhost.
For more info, in this url you also can find how to set your own extensions - Firefox: Direct support -- no extensions or plugins required
-
v0.1.2
-- Add locale setting :[options]="{ ..., l10n: 'de', ...}"
-- Possibility setwebrtc_streamingtotrue:[options]="{ ..., webrtc_streaming: true, ...}" -
v0.1.3
-- Add Auth setting :[options]="{ ..., auth: true, ...}", by default it's false -
v0.2.0
-- Upgraded toziggeo-client-sdk@^2.32.1 -
v0.3.0
-- Downgraded toziggeo-client-sdk@^2.31.2as2.32.1still not stable version, will upgrade later -
v1.0.0
-- Upgraded toziggeo-client-sdk@^2.32.*to fix FireFox related bug
ngOnInit () {
ZiggeoApi.V2.Locale.mediaLocale.register({
"ba-videorecorder-chooser.record-video": "Rec", //Record button
"ba-videorecorder-controlbar.stop": "End" //Stop button
}, 10);
}