Changeset 1941587
- Timestamp:
- 09/14/2018 09:19:32 PM (7 years ago)
- File:
-
- 1 edited
-
interact-quiz-embed/trunk/interact-quiz-embed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
interact-quiz-embed/trunk/interact-quiz-embed.php
r1781066 r1941587 71 71 if(isset($atts['type'])) { $type = $atts['type']; } else { $type = 'quiz'; } 72 72 if(isset($atts['no_cover'])) { $no_cover = 'true'; } else { $no_cover = 'false'; } 73 if(isset($atts['mobile'])) { $mobile = $atts['mobile']; } else { $mobile = 'true'; } 73 74 74 75 $app_id = $atts['id']; … … 87 88 var host = "' . $type . '.tryinteract.com"; 88 89 var no_cover = ' . $no_cover . '; 90 var mobile = ' . $mobile . '; 89 91 90 92 window[ref] = new InteractApp(); 91 window[ref].initialize({"ref":ref,"appId": app_id,"width":w,"height":h,"async":true,"host":host,"auto_resize":true,"mobile": true,"no_cover":no_cover});93 window[ref].initialize({"ref":ref,"appId": app_id,"width":w,"height":h,"async":true,"host":host,"auto_resize":true,"mobile":mobile,"no_cover":no_cover}); 92 94 window[ref].display(); 93 95 });
Note: See TracChangeset
for help on using the changeset viewer.