Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…roperties
  • Loading branch information...
commit 14e6ae8c593787f7813874c17c64a4968398a53c 1 parent 82383e1
@espenmn authored
View
34 medialog/issuu/browser/issuuflashview.pt
@@ -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>
View
2  medialog/issuu/browser/views.py
@@ -234,7 +234,7 @@ def javascript(self):
};
var flashvars = {
- jsAPIClientDomain: 'medialog.no',
+ jsAPIClientDomain: 'products.medialog.no',
mode: 'mini',
documentId: %(issuu_id)s,
};
Please sign in to comment.
Something went wrong with that request. Please try again.