Title: [Plugin: ZD YouTube FLV Player] align errors
Last modified: August 19, 2016

---

# [Plugin: ZD YouTube FLV Player] align errors

 *  Resolved [burpster](https://wordpress.org/support/users/burpster/)
 * (@burpster)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/)
 * 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)

 *  [kissedvixen](https://wordpress.org/support/users/kissedvixen/)
 * (@kissedvixen)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974227)
 * 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 😉
 *  [skdev](https://wordpress.org/support/users/skdev/)
 * (@skdev)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974265)
 * 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
 *  [skdev](https://wordpress.org/support/users/skdev/)
 * (@skdev)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974267)
 * 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') {`
 *  [kissedvixen](https://wordpress.org/support/users/kissedvixen/)
 * (@kissedvixen)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974273)
 * 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 🙂
 *  [Proloy Chakroborty](https://wordpress.org/support/users/websmokers/)
 * (@websmokers)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974278)
 * 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](https://wordpress.org/support/users/burpster/)
 * (@burpster)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974289)
 * Thanks, wiped and reinstalled.
 * All works perfect now. 🙂
 *  [kissedvixen](https://wordpress.org/support/users/kissedvixen/)
 * (@kissedvixen)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974290)
 * Got it working too thanks!!!
 * will you be adding the other updates you mentioned
    thanks again!
 *  [Proloy Chakroborty](https://wordpress.org/support/users/websmokers/)
 * (@websmokers)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974306)
 * Hi,
 * Yes I’ll add other features soon.
 * Regards,
    Proloy
 *  [skdev](https://wordpress.org/support/users/skdev/)
 * (@skdev)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974335)
 * 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.

 * 9 replies
 * 4 participants
 * Last reply from: [skdev](https://wordpress.org/support/users/skdev/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-zd-youtube-flv-player-align-errors/#post-974335)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
