- Jan 9, 2010
- 1,237
- 45
- 91
I'm using Video.JS to embed .mp4 videos on my website; here's one of the video pages.
Everything seems to work fine on Chrome, Firefox and IE, but when I check the page with W3.org Unicorn check page, I get a lot of errors dealing with missing attributes, mostly in this video player section:
I'm not sure if I have messed up the video player coding or if mixing it up with the rest of the XHTML has caused problems, or what. I use Dreamweaver CS4 but it's kind of outdated, some of the code I do manually. Since everything seems to be working fine, I probably could just forget about it, but I want the coding to be error-free if possible.
Everything seems to work fine on Chrome, Firefox and IE, but when I check the page with W3.org Unicorn check page, I get a lot of errors dealing with missing attributes, mostly in this video player section:
Code:
<p align="center"><video id="WAW_video_1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="360" poster="ColumbiaRiverSmallmouthBassFishing.jpg" data-setup='{"WAW_option":true}'>
<source src="ColumbiaRiverSmallmouthBassFishing.mp4" type='video/mp4' />
<track kind="captions" src="captions.vtt" srclang="en" label="English" />