stoimen.com/blog

web developing

Archive for December, 2009

Zend_Openid

This extension as expected gives the Zend Framework the possibility to implement OpenId protocol. The problem is that the current version 1.9.6 does not work correctly with Google accounts.

The solution

can be found on one of the best resource sites – stackoverflow. You can simply follow the two comments to this post with no fear that this will work. It’s tested already.

  • 0 Comments
  • Filed under: zend framework
  • Now I’m convinced that Zend Framework is indeed the best of the best for the PHP community. Now I’m researching about the use of OpenId with ZF, and hopefully beside Zend_Auth there is entirely for that Zend_OpenId. Which is exactly what I needed.

    Really a great community and very high level code. Talk to that soon about Zend_OpenId, with some sample code and Zend_Feed_Reader, my modules of choice.

  • 0 Comments
  • Filed under: zend framework
  • Flex 3 NetStream video rotation

    Why should I rotate a video stream?

    Well if you’d like to make some video upload application, let’s assume someone makes a video with it’s phone. The case with a video camera is not the same, almost every camera adjusts it’s rotation correctly, but when it comes to your mobile not always the video contains information about the rotation.

    The problem is when the user uploads a rotated video, how I’d rotate it back on the correct position when playing it with a simple FLV player.

    The answer is so simple!

    You can just use this simple chunk of code:

    ...
    _video = new Video();
    _video.rotation = 90;
    ...

    and thus you can rotate the video with several degrees.