Forums

[resolved] [Plugin: ZD YouTube FLV Player] align errors (10 posts)

  1. burpster
    Member
    Posted 9 months ago #

    Tried everything I can think of and all I get is this error.

    'center' is not a valid value for 'align' attribute.
    Correct Values: left, right and center

    cheers,

    burpster

  2. kissedvixen
    Member
    Posted 9 months ago #

    Hi,

    I am having the same issue.

    even when I remove alignment settings, it still says some alignment is off..

    I reverted and all errors are gone

    will keep peeking back to see if this has been resolved :)

    I couldn't find info on what updates this contains ... fingers crossed its the overlay ;)

  3. SKDev
    Member
    Posted 9 months ago #

    I was having the same error, I fixed it like this:
    * Backup wp-contents/plugins/zd-youtube-flv-player/zd-youtube-flv-player.php
    * Open wp-contents/plugins/zd-youtube-flv-player/zd-youtube-flv-player.php
    * Go to line 115:

    if($align != 'center' or $align != 'left' or $align != 'right') {

    * Replace it with this:

    $allowed_align = array("center","left","right");
    if(!in_array($align,$allowed_align)) {

    * Save and Upload.

    I have reported it to Proloy (ZD Youtube FLV Player's Developer) as well, so hopefully he will fix it pretty soon :)

    -Salman

  4. SKDev
    Member
    Posted 9 months ago #

    Line 115:
    if($align != 'center' or $align != 'left' or $align != 'right') {

    Can be changed to this as well:
    if($align != 'center' AND $align != 'left' AND $align != 'right') {

  5. kissedvixen
    Member
    Posted 9 months ago #

    well I tried both the options you provided and both got rid of the align issue but now the videos don't play. It was worth a try :) thanks for trying to sort something out :) Our happy creator should be happy to see your efforts to help :)

    I tried both with upgrading manually, auto upgrade, plugin active, not active... so gave it a good go but reverted again to the older one

    [zdvideo border="yes" width="640" height="384" theme="dark" align="right" fullscreen="yes"]http://OURADDY.com/go/wp-content/themes/videoelements/videos/OURVIDEO.flv[/zdvideo]

    this is how have been embedding the videos..not sure if there is a clue there...

    hey can you tell me what updates you see?

    I know the creator is planing a nicey update with some fun features, is this that.. or just a couple tweaks for wordpress 2.7 compatibility?

    thanks :)

  6. websmokers
    Member
    Posted 9 months ago #

    Hi,

    Sorry for uploading wrongs file to the svn. I uploaded the new files.

    I also added autoplay on/off option.

    Regards,
    Proloy

  7. burpster
    Member
    Posted 9 months ago #

    Thanks, wiped and reinstalled.

    All works perfect now. :)

  8. kissedvixen
    Member
    Posted 9 months ago #

    Got it working too thanks!!!

    will you be adding the other updates you mentioned
    thanks again!

  9. websmokers
    Member
    Posted 9 months ago #

    Hi,

    Yes I'll add other features soon.

    Regards,
    Proloy

  10. SKDev
    Member
    Posted 9 months ago #

    cool works for me as well :) Thanks websmokers

Reply

You must log in to post.

About this Topic