Permalink
Browse files

Added domain for flashview (will need to customize this from portal_p…

…roperties
  • Loading branch information...
1 parent 82383e1 commit 14e6ae8c593787f7813874c17c64a4968398a53c @espenmn committed Apr 23, 2012
Showing with 6 additions and 30 deletions.
  1. +5 −29 medialog/issuu/browser/issuuflashview.pt
  2. +1 −1 medialog/issuu/browser/views.py
@@ -2,35 +2,11 @@
lang="en"
metal:use-macro="here/main_template/macros/master"
i18n:domain="medialog.issuu">
- <head>
-
-
- <metal:js fill-slot="javascript_head_slot">
- <script type="text/javascript" src="http://www.theajmonline.com.au/iir/book/book1/swfobject.js" />
-<script type="text/javascript">
- var attributes = {
- id: 'issuuViewer'
- };
-
- var params = {
- allowfullscreen: 'true',
- allowScriptAccess: 'always',
- menu: 'false'
- };
-
- var flashvars = {
- jsAPIClientDomain: 'medialog.no',
- mode: 'mini',
- documentId: '120423111051-eeaa4264dcdd4471947d94ead53cd380',
- };
-
- swfobject.embedSWF("http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf", "myContent1", "200", "600", "9.0.0", "swfobject/expressInstall.swf", flashvars, params, attributes);
-
- </script>
+<head>
+ <metal:js fill-slot="javascript_head_slot">
+ <tal:replace tal:replace="structure view/javascript" />
</metal:js>
-
-
- </head>
+</head>
<body>
<metal:body fill-slot="content-core"
@@ -45,7 +21,7 @@
<img tal:define="image_url python: 'http://image.issuu.com/' + issuu_id + '/jpg/page_' + str(page+1) + '_thumb_large.jpg'"
tal:attributes="src image_url">
</div>
-
+
</metal:body>
</body>
@@ -234,7 +234,7 @@ def javascript(self):
};
var flashvars = {
- jsAPIClientDomain: 'medialog.no',
+ jsAPIClientDomain: 'products.medialog.no',
mode: 'mini',
documentId: %(issuu_id)s,
};

0 comments on commit 14e6ae8

Please sign in to comment.