As i told earlier am trying to switch to Flex , i am trying to learn connection between PHP and Flex. When searched i got a excellent tutorial . But the problem is that it uses PostgreSQL. As i don't have any prior experience in PostgreSQL i try to install it in my Windows 7 and configure it in WAMP . I got different errors and spend almost two days in searching and using different methods . Atlast i got it right. I will try to figure out the steps i have done.
Am using PostgreSQL 9.1WAMP Server 2.0e phpPgAdmin 5.0.2
WAMP consists 1. Apache Version :2.2.17
2. PHP Version :5.3.5
3. MySQL Version :5.5.8
First install PostgreSQL , no need to install additional plugins like phpPgAdmin.
Install WAMP server where ever you need.
Download PhpPgAdmin and unzip it to WWW folder in WAMP installation.
At this point if you try to access the http://localhost/phpPgAdmin/ you may get this error.
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgs…
In previous post we tried to create module, component and routing. Lets look into how to add third party libraries.
You could check out the code from here. git checkout -b part3.0 origin/part3.0
In Angular4 adding third party libraries is pretty easy. Install using npm and add the module. Its one of my most loved feature in Angular4.
PrimeNG PrimeNG is one of the most used and most popular Angular4 library. It consists lot of components and its easy to setup and use. Besides it does have a good team working behind this library. In my experience it's one of the fast developing library.
To install PrimeNg run
npm install primeng --save npm install font-awesome --save
PrimeNg needs font awesome for icons . Unlike any other libraries , PrimeNG had separate module for each component, which helps to include only selected component in the bundle.
Lets include styles for the components. In .angular-cli.json add
After a long experiments , i have developed another player which uses XMOOV for streaming.Actually i got this php from flashcomguru.com.I didn't change the php file instead of it i developed a player using this php. The player will start streaming anywhere from the file and it also make the seeking operation in the cached file.
I have no server space so i use freewebs space ,.Pls forgive me :D
The main problem of this technology is the performance of the php server.It need a good php server which can handle more requests at a time. Other problem is the encoding of the flv. Flv file should be added with the 'keyframes' metadata . So it need another utility called metadata injector ,which will inject metadata to the flv. It can be downloaded from here. That's all ..... and all other ups to you. Try this.. If you are using this file please let me know your feedback.
For the last one week am searching for uploading video to Facebook using Graph Api from Flash. First challenge is to find something which will help to capture video from webcamera and convert it to ByteArray.
The problem is Actionscript doesn't had any utlity to save video from webcamera. It uses Flash media server to save video. But i need something which not uses any server side acript.
After searching several hours in google i found a link. http://www.zeropointnine.com/blog/updated-flv-encoder-alchem/
In this utility it uses snapshots from the webcamera which will encode it . Though it had some drawbacks and limitations, it serves my requirement for small videos. I used it for creating videos.
Next i need to upload video to facebook. This is the api used to connect facebook using Actionscript.
I don't know. Anyway i would like to share a small tip i came across when i am working with Android.
Android.. hmmm ... Sorry i just started to learn Android.
Like all other thing am experimenting with Android. First i just added 4 AVD and tried to make Fifth one and got an error. I just looked my partioion and found that C drive is almost full..
It's because the Android AVD is created normally in C:\Users\UserName\.android\avd and i am just giving every AVD a 5GB SDCARD also. What else ? :P
I searched google and found and solution . I just copied the .avd folder from C:\Users\UserName\.android\avd and just pasted it to another drive. And i also edited the configuration file of each AVD. Got the idea ? no?
Okay i have a AVD named "gingerbreadWVGA" . I would have a "gingerbreadWVGA.avd" and "gingerbreadWVGA" configuration file on "C:\Users\UserName\.android\avd\". I just cut and paste the &quo…