Title: mediaelement-css has invalid code, WordPress video player
Last modified: August 22, 2016

---

# mediaelement-css has invalid code, WordPress video player

 *  [dalibu](https://wordpress.org/support/users/dalibu/)
 * (@dalibu)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mediaelement-css-has-invalid-code-wordpress-video-player/)
 * Hello
 * I am using the WordPress video player to embed a video in my blog.
    When I run
   a check at [http://validator.w3.org](http://validator.w3.org) I receive the following
   warning:
 * “Element link is missing required attribute property.”
 * I think it is due to the way the css file is linked to. Can anyone help?
 * <link rel=’stylesheet’ id=’mediaelement-css’ href=’[http://www.MYSITENAME.co.uk/wp-includes/js/mediaelement/mediaelementplayer.min.css?ver=2.15.1&#8242](http://www.MYSITENAME.co.uk/wp-includes/js/mediaelement/mediaelementplayer.min.css?ver=2.15.1&#8242);
   type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’wp-mediaelement-css’
   href=’[http://www.MYSITENAME.co.uk/wp-includes/js/mediaelement/wp-mediaelement.css?ver=4.1&#8242](http://www.MYSITENAME.co.uk/wp-includes/js/mediaelement/wp-mediaelement.css?ver=4.1&#8242);
   type=’text/css’ media=’all’ />

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

 *  [elizabeth](https://wordpress.org/support/users/greybird/)
 * (@greybird)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/mediaelement-css-has-invalid-code-wordpress-video-player/#post-5785849)
 * I was also getting validation errors on a site with YouTube videos until I started
   using this plugin: [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * I hope that helps.
 *  Thread Starter [dalibu](https://wordpress.org/support/users/dalibu/)
 * (@dalibu)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/mediaelement-css-has-invalid-code-wordpress-video-player/#post-5785860)
 * Thanks for the recommendation greybird
 * I will look into it. Also I am looking into FV Flowplayer.

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

The topic ‘mediaelement-css has invalid code, WordPress video player’ is closed 
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dalibu](https://wordpress.org/support/users/dalibu/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/mediaelement-css-has-invalid-code-wordpress-video-player/#post-5785860)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
