iZAP-Videos, Full featured videos plugin v3.81b

Release Notes

Release 3.81b

Some css bug fixes related to image place holder.

  1. Now you can choose layout of your play page from izap_videos plugin's admin settings. Nice 3 options are there. Select according to your need.

Release 3.8b

  1. Nice river update for videos. Click on image holder and play video on place.
  2. Video play page with lot's of cool and well placed elements.
  3. Better control over htmlawed plugin. Manage tags from videos admin panel.
  4. Cool listing pages.
  5. AJAXed play page.
  6. Tags related video holder.
  7. New latest videos widget.
  8. New group widget. Some code fixes at group level.
  9. Cool video thumbs with play button.
  10. Category support ( bug in the previous release )

Release 3.71b

  1. Small but important fixes notified by the community. This release is the #90 revision of svn version. For more information about the fixes you can browse http://izapvideos.googlecode.com/ .

Release 3.7b

Enhancement

  1. Favorite videos feature.
  2. All forms are re-written to decrease php overhead.
  3. All reported bugs have been fixed.

Release 3.62b

This release is more concerned to the bugs we are getting requests to get resolve. I would request to all of you to get involve in this testing.

Enhancement

  1. New flash player for on server videos.
  2. Queue reset option from admin panel.
  3. Compatible with elgg (1.5.1, 1.6.2 and 1.7.1).

Fixes

  1. View counting issue.
  2. Better pdo_sqlite drivers loading.
  3. Now there should be no Warning, Notice in error.log by izap_videos. Let us know if you could find something regarding that.
  4. We worked to suppress even deprecation messages due to newer elgg versions. System will make function calls according to the version of elgg.

Release 3.61b

Cool enhancement

  1. We decided to removed "izap_videos" from URL. now you can enjoy urls like "www.xyz.com/pg/videos/xxxxx". Complete branding for you :).

Fixes

  1. Small fix in video play page for elgg 1.6.1 and elgg 1.5

Release 3.6b

In the previous release we added the support to monitor the actual ffmpeg process to be sure about if queue is running or not. But that was behaving different on different server configurations (dual core, cord core). Number of cores effect on the number of threads of ffmpeg and hence background processes. So that's why it was behaving differently on different flavor of servers. To over come this, we stop this monitoring and start to see the queue status via sqlite db. And i tested it alot here, and it's working perfectly and now we also restored windows support. WAMP is tested with this version.

Release 3.55b:

In the previous release, We got so man y queries regarding intense database load of background process. And even some shared hosting providers having ffmpeg support banned some accounts because of eating of lots of database resources by the background processes. Reason of this was obvious, Queue is working in background and we were saving all queue elements as elgg object in database. And used elgg framework, we all know. Database is the thing where we need to take it seriously. And more over izap_videos plugin need to be optimized according to the demanding feature in almost every social networking site. So we solved this by using Sqlite queue management. To see result you can just try http://elgg.izap.in

How do we planned stability in this version:

In this version we have removed complex video conversion preset command and use simple ffmpeg command "ffmpeg -y -i [inputfile] [outputfile]". I setup a testing lenny instance of a server. than simply install ffmpeg using lenny package manager. And setup elgg with izap_videos. And it was working perfectly there was not any issue. Please post your feedback. And if it works for you. than post your server environment and give us one recommendation. As we will reach to the recommendation of 20. We will change this beta release to stable one.

  1. You can control plugin setting either you want to keep original video file after conversion
  2. Sqlite implementation to cut down all background processing.
  3. More control in queue management.
  4. Implemented Trash, This will just put videos in trash having any issue. it could be ffmpeg supporting libraries. Admin can delete them or can restore them after fix.
  5. Cron implementation to re-trigger queue in case of sudden interruption in the queue. You can manage cron timing according to your need.

Upgrading from previous release:

  1. Backup your database and izap_videos folder.
  2. Disable izap_videos plugin from your admin panel.
  3. Download and unzip izap_videos version 3.5 and place it in mod directory.
  4. Re-enable this new izap_videos plugin from you admin panel.
  5. You may need to re-enable ON-SERVER support from setting tab of izap_videos plugin settings.
  6. Clear simple cache.

New installation:

  1. Download and unzip the plugin in your mod dir.
  2. Enable it from admin panel.
  3. Clear simple cache.

ONSERVER Prerequisites:

  1. PDO sqlite drivers must be installed. This release and all future release will support queue management using PDO sqlite.
  2. ffmpeg and all supporting libraries.

Optional Prerequisites:

  1. notifications p lugin
  2. crontrigger plugin
  3. messages plugin

Optional plugins will give you better control over izap_videos plugin. These optional plugins are only required for ONSERVER support. If you leave them, izap_videos will yet to work with its basic functionality.

Bug fixes:

  1. Access control of uploaded video.
  2. Cutdown elgg-db communications to save resources
  3. Delete video entity will also delete all related media.

Compatiblility:

  1. Elgg 1.5
  2. Elgg 1.6
  3. Elgg 1.7a
  4. Elgg 1.7

Operating system compatiblity:

  1. *nix (confirmed)
  2. Windows (working perfectly tested with WAMP)

We are releasing beta release so we could collect feedback from all of you. Post your tickets at https://izapvideos.googlecode.com

I am twitting on: http://www.twitter.com/the_izap

I am blogging at: http://www.tarunjangra.com

Follow below our group discussion:

http://community.elgg.org/pg/groups/forum/340718

  • @Ron: The first few lines of the function upgrade_izap_videos_to do some maintenance in the Elgg database in case you upgrade from a izap_videos version <3.55. If you do a fresh install with the most recent izap_videos version or had first installed a version >3.55, these changes are not necessary anyway. Additionally, it also works without these changes done in the database. I just had noticed on my site (and the test site) that the modifications had never been done for some reasons even though I had first installed izap_videos_2.5 and then upgraded step by step since then.

    Apart from the database maintenance and resetting izap_video plugin settings that are only executed when upgrading from <3.55 the upgrade script sets only the new version of izap_videos. I don't know if the upgrade script is executed automatically when upgrading but most likely it won't solve any problems that occur with izap_videos functionality. More likely problems occur due to caching issues. It seems best to disable simple cache and filepath cath temporarily then. Maybe some non-core plugins may produce side-effects during configuration of izap_videos, too.

  • @Ron: We did these fixes on our svn version. You can download current svn snapshot from http://www.pluginlotto.com/pg/store/product/241/10-1-more-reasons-to-upgrade-to-izap_videos-381b/

    We will release them on community too. But i am looking for more feedbacks to be sure about the stability. And will improve accordingly. Than after such small iteration, we can release that package on community too. But for the time being,  you can download zipped version from http://www.pluginlotto.com and svn version from http://izapvideos.googlecode.com/

  • @iZAP: Thank You. I'll check it out. Appreciate your excellent support.

  • How can I find the right path to php interpreter?

    I got the server information with phpinfo (); and have tried with different solutions but can't find the correct path.

  • It could be "/usr/bin/php" or "/usr/local/bin/php". Not sure if your server's administrator has some specific installation structure.

  • Thank you, that's the one I tried. Does it matter that the elgg install is in a subdir?

  • @ IZAP You said ": Well sqlite is required for onserver feature. If you disabled that onserver feature than i believe, plugin won't ask for sqlite driver. It might possible, you have some caching issues.

    Are you installing on fresh elgg?

    Upgrading from previous version of izap_videos plugin?"

    Fresh Elgg install 1.7.4, no Izap upgrade fresh latest version. A2 says  support says SQlite installed. Also note pink error box occured prior to "on sverver" ever being checked active. I have done two test installs same issue. Caching??

  • For those of you who still have issues with the queue not running and your on a linux server I have a fix that worked for me. Edit mod/izap_videos/lib/izapLib.php. Around line 184 there is the izapTrigger_izap_videos function. Comment out the  Windows server check and add the following functions: izapGetAccess_izap_videos(); izapRunQueue_izap_videos(); izapRemoveAccess_izap_videos();.

    So the full function should be:

    function izapTrigger_izap_videos() {

      global $CONFIG;

      $PHPpath = izapGetPhpPath_izap_videos();

      if(!izapIsQueueRunning_izap_videos()) {

        //if(izapIsWin_izap_videos()) {

          //pclose( popen("start \"MyProcess\" \"cmd /C ".$PHPpath . " " . $CONFIG->pluginspath . "izap_videos/izap_convert_video.php izap web", "r") );

        //}else {

          time();

          exec($PHPpath . ' ' . $CONFIG->pluginspath . 'izap_videos/izap_convert_video.php izap web > /dev/null 2>&1 &', $output);

    izapGetAccess_izap_videos(); // get the complete access to the system;

        izapRunQueue_izap_videos();

      izapRemoveAccess_izap_videos(); // remove the access from the system

        //}

      }

    }

    Edit the file manually or copy and paste the above function of over your file. Hope this works for you!

  • Boy am I lost! I can't tell if any of these suggestions might help me or not. How can this thread be a little more specific about which issues they are addressing? Is anyone getting the PDO_sqlite not installed error? Since I am not using server videos anyway, can I just comment out this error and move on for now? Could this be a jquery issue?

  • @Izap if I am getting the sqlite errorr and it is installed, maybe I have a conflict with another plugin? Can I simply remove code that generates the error message and go on with life? Please advise and also where that code is.

  • @TahoeBilly: If you have everything installed (sqlite, PDO), the error about something missing might be due to a caching issue. Or the old state of your server has been saved in the izap_queue_db. It might help to reinitiate izap_videos, i.e. disabling and re-enabling of the plugin with Elgg caching disabled. Before enabling it again you should also remove the izap_queue_db folder in Elgg's data directory. Then you can save the izap_videos plugin settings again on the admin page. Hopefully, izap_videos will recognize sqlite and PDO then and the error will disappear. If the error still occurs I don't know what exactly is to be removed in the code. Maybe it is a sign that sqlite and/or PDO is not properly installed. Removing the code lines might help but maybe it would be better in the long run to get everything properly installed.

  • @iionly I turned off simple cache and filepath cache, Izap plugin was already off, then I went into FTP and deleted data simple cache the izap_que_db and now I have white screen.

    Any ideas to find my way back!

  • Can anyone please suggest what may have happened in my above case, I am to demo my site today with a company and I have WHITESCREEN!

  • TahoeBilly:

    Download http://www.pluginlotto.com/pg/store/product/241/10-1-more-reasons-to-upgrade-to-izap_videos-381b/ version of plugin. That is more recent and has some fixes suggested by community.

    I went into FTP and deleted data simple cache the izap_que_db and now I have white screen.

    Did you also delete with "data" folder? I think, this is just the matter of fresh installations. I don't know, but it seems that you are mistaking with installation.

  • @Billy Are you running PHP version 5.2 or higher or lower ?

  • I deleted simple cache in data and Izap folders in data. I think PHP is 5.3 I am trying to fin out now.

    Any ideas, meeting with big company in a few hours!! Argh...

  • fyi, i looked at billy's install.. i had to drop the 'disabled' folder in the mod directory to get the site back..

    from there i found that although i could enable and disable the plugins.. as soon as i removed the 'disabled' folder from the mod directory, if any plugins were enabled, there would be a white screen. the error log contains a reference to 'cannot re-init plugin' (paraphrasing) for whichever plugin it comes to first.. 

  • Nick feel free to try anything you like, I have to drive to SF to meet Michal right now...I'd would sure be happy to fix this within 4-5 hours time.

  • @TahoeBilly and @Dhrup: where there is no problem with php 5.2 or php 5.3. I tested that plugin on both versions. And everything is working perfectly as it intended to be.

    @TahoeBilly: Follow what tunist is suggesting. this could solve your problem. and also do check with pdo_sqlite driver installation in phpinfo. You must get something like below

    PDO PDO supportenabled PDO drivers mysql, sqlite, sqlite2
    pdo_mysql PDO Driver for MySQLenabled Client API version 5.1.41
    pdo_sqlite PDO Driver for SQLite 3.xenabled SQLite Library 3.6.22

  • [Thu Nov 11 16:21:04 2010] [error] [client 12.123.123.123] PHP Fatal error:  Call to undefined function filter_var() in /var/www/vhosts/xxx.com/httpdocs/mod/izap_videos/actions/izap_videos/addEdit.php on line 31, referer: http://xxx.com/pg/videos/add/xxx

    filter_var() was introduced in PHP > 5.2

    I'll be fixing this for a client tonight ;)

  • @izap: the notes I posted are what I already did on billy's server.. he gave me login..
    i think you misunderstood what i wrote. so no fix there.

     

    n.b. on an unrelated note.. I just found that the code that embeds the izap video player in profiles - function getplayer () - has a 'wmode' parameter missing for the 'uploaded' videos.

  • Client's has PHP Version 5.1.6 and so.. WSOD as above.

  • billy's server has php version 5.3.1

  • another note on this version of izap videos: the onserver video profile widget is defaulted to autoplay = on.. it would be good to default to 'off' or to give an option in the admin or widget edit panel to set this..

iZAP

We are leading elgg providers. We have implemented complex combination of applications like "elgg + elasticsearch + cloud infrastructure + comet server for active pages"

Stats

  • Category: Media
  • License: GNU General Public License (GPL) version 2
  • Updated: 2015-3-13
  • Downloads: 61944
  • Recommendations: 94

Other Projects

View iZAP's plugins