Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Problem with Javascript in

Go to End

2 Posts   2596 Views


Community Member, 1 Post

22 February 2009 at 2:40am

Edited: 22/02/2009 2:43am


i'am trying to migrate a page with one flv-video embeded into the startpage.
For this reason i created an own and used swfobject.js.

Example (in my

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
  var so = new SWFObject('player.swf','mpl','470','320','9');

Even if SS tries to parse the code in my this error occours:
This page contains the following errors:
error on line 76 at column 36: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

The problem starts in:


While SS is parsing my the &-chars result in a parsing problem.

Could anyone help me?


Forum Moderator, 5523 Posts

24 February 2009 at 9:27am

I think you need to change the & to &amp; to pass XML validation