Liferay upgrade notes
Some notes for Liferay upgrades
- Add data directory from previous instance
- Add WSRP portlet (required for video embeds/proxying) + change settings in liferay-portlet.xml to enable this to proxy to other places - whitelist needed!
- Update themes
Currently in use are:
Copy old jwplayer directory (ensure updated to latest version of mediaplayer from LongTail) into ROOT/html/ directory
The advice in this link seems to work:
Essentially, add the line <script src="/html/jwplayer/jwplayer.js"></script> (the same location the JWPlayer scripts were dropped) into the file:
This seems to have worked.
for further possibilities.)
Add file "crossdomain.xml" to the root of the ROOT app (i.e. at $tomcat/webapps/ROOT/crossdomain.xml) :: this should look something like:
<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy> (see [[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions|http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions]] and maybe worth googling Liferay crossdomain.xml - there's plenty out there) Next update the urlrewrite.xml file to reference these: Add: <rule> <from>/crossdomain.xml</from> <to>/crossdomain.xml</to> </rule> <rule> <from>/html/jwplayer</from> <to>/html/jwplayer</to> </rule> To the file $tomcat/webapps/ROOT/WEB-INF/urlrewrite.xml