Closed GoogleCodeExporter closed 9 years ago
Managed to get round the issue by encasing everything within the script tags in
commment tags which then validates --
<script language="javascript" type="text/javascript"
src="../scripts/swfobject.js"></script>
<script language="javascript" type="text/javascript">
var flashvars = false;
<!--
var params = {
movie:
"http://www.muzu.tv/player/getPlayer/a/q8MY2YPnLE/autostart=y&includeAll=n&sound
off=n&vidId=258092&playlistId=232763&videotype=hq",
allowScriptAccess: "always",
allowFullScreen: "true",
quality: "high",
wmode: "transparent"
};
var attributes = false;
swfobject.embedSWF("http://www.muzu.tv/player/getPlayer/a/q8MY2YPnLE/autostart=y
&includeAll=n&soundoff=n&vidId=258092&playlistId=232763&videotype=hq",
"MuzuPlayer", "560", "330", "8.0.0", "expressInstall.swf", flashvars, params,
attributes);
//-->
</script>
I also tried adding CDATA tags at the beginning and end of the script but this
had no
effect.
Original comment by dmcdjonl...@gmail.com
on 14 Jul 2009 at 1:52
This is not a SWFObject issue.
More info on JavaScript URL encoding:
- http://www.permadi.com/tutorial/urlEncoding/
- our faq Q9: http://code.google.com/p/swfobject/wiki/faq
- http://kb2.adobe.com/cps/141/tn_14143.html
And of course it doesn't make sense to use an HTML validator to validate your
JavaScript code ;-)
Original comment by bobbyvandersluis
on 15 Jul 2009 at 9:49
Original issue reported on code.google.com by
dmcdjonl...@gmail.com
on 14 Jul 2009 at 1:30