HTML5 Validation for Grooveshark Widgets

I canโ€™t find a way to fix the validation without breaking the widget. My element is missing the data and type attributes.

Row 769, Column 38: Object The element is missing one or more of the following attributes: data, type.

<object width="250" height="40"> <param name="movie" value="http://listenโ€ฆ 

I added type = "application / x-shockwave-flash", but that will break too.

This is the complete widget:

 <object width="250" height="40"> <param name="movie" value="http://listen.grooveshark.com/songWidget.swf" /> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="always" /> <param name="flashvars" value="hostname=cowbell.grooveshark.com&amp;widgetID=25014214&amp;style=metal&amp;p=0" /> <embed src="http://listen.grooveshark.com/songWidget.swf" type="application/x-shockwave-flash" width="250" height="40" flashvars="hostname=cowbell.grooveshark.com&amp;widgetID=25014214&amp;style=metal&amp;p=0" allowScriptAccess="always" wmode="window" /></object> 

The widget can be seen here: http://www.eportfolio.jameswmann.com

+4
source share
1 answer

Using

 <object width="250" height="40" data="http://listen.grooveshark.com/songWidget.swf"> 

and press

 <param name="movie" value="http://listen.grooveshark.com/songWidget.swf" /> 
+5
source

Source: https://habr.com/ru/post/1346616/


All Articles