• Resolved burpster

    (@burpster)


    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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 😉

    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

    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') {

    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 🙂

    Hi,

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

    I also added autoplay on/off option.

    Regards,
    Proloy

    Thread Starter burpster

    (@burpster)

    Thanks, wiped and reinstalled.

    All works perfect now. 🙂

    Got it working too thanks!!!

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

    Hi,

    Yes I’ll add other features soon.

    Regards,
    Proloy

    cool works for me as well 🙂 Thanks websmokers

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: ZD YouTube FLV Player] align errors’ is closed to new replies.