Sitemap

Amicuk Programming Answers

Having trouble implementing Captivate simulation in an iFrame

-0001-11-30   Views:1

Advertisement

Hi all, hoping you can give me some pointers. I'm trying to implement Captivate scalable html5 simulations in a proprietary LMS that requires that I place it in an iFrame.  It works, but the scaling is not working properly.  Immediately upon loading,

Hi all, hoping you can give me some pointers.
I'm trying to implement Captivate scalable html5 simulations in a proprietary LMS that requires that I place it in an iFrame.  It works, but the scaling is not working properly.  Immediately upon loading, the Captivate content is too large for my frame, although it does resize (still too large) when I scale the page. 
Are there any known tweaks for this kind of issue?
Thanks in advance,
Jill

The replay answer
Advertisement
Not sure if you still need this, since it has been nearly a month.
But I just ran into this same issue.
Require using HTML5 with Captivate inside of an iFrame.
The "Scalable html" was ignoring the iframe's dimensions, and using the full window dimensions instead.
What I ended up doing is stop using the "scalable html" option when publishing from captivate. and then i used the following javascript inside the html that the iframe was placed:
    <script type="text/javascript">
        var iframeName = 'trainingVideo';
        this.FindZoomHeight = function () {
            var slideshow = $('#main_container', $('#' + iframeName).contents());
            var showHeight = $(slideshow).height();
            var frameHeight = $('#' + iframeName).height();
            if (frameHeight >= showHeight) { return 1; }
            return (frameHeight / showHeight);
        this.FindZoomWidth = function () {
            var slideshow = $('#main_container', $('#' + iframeName).contents());
            var showWidth = $(slideshow).width();
            var frameWidth = $('#' + iframeName).width();
            if (frameWidth >= showWidth) { return 1; }
            return (frameWidth / showWidth);
        this.SetZoomLevel = function () {
            var zh = FindZoomHeight();
            var zw = FindZoomWidth();
            var zoom = 1;
            if (zh < zw) {
                zoom = zh;
            } else {
                zoom = zw;
            var container = $('#main_container', $('#' + iframeName).contents());
            $('body', $('#' + iframeName).contents()).css('-moz-transform-origin', '0 0 0').css('-o-transform-origin', '0 0 0').css('-moz-transform', 'scale(' + zoom + ')').css('-o-transform', 'scale(' + zoom + ')');
            $(container).css('zoom', zoom);
        $(document).ready(function () {
            $(window).resize(function () {
                SetZoomLevel();
        $('#' + iframeName).load(function () {
            SetZoomLevel();
    </script>
This uses the css zoom property. (uses transform scale in firefox/opera..but captivate doesn't support those browsers anyways)

Go to See the other 2 answers

Having trouble implementing Captivate simulation in an iFrame

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, hoping you can give me some pointers. I'm trying to implement Captivate scalable html5 simulations in a proprietary LMS that requires that I place it in an iFrame.  It works, but the scaling is not working properly.  Immediately upon loading,[More]

Interactive Captivate simulations not working correctly in Presenter

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm looking for a fix for what appears to be a bug with importing interactive Captivate 2.0.0 (build 1177, originally a trial verson) files into Presenter 6.0.432 (in PowerPoint 2000 SP-3 9.0.8952 on a Windows XP computer). The course works fine[More]

I am having trouble Trouble implementing one-way SSL on WebLogic 9.2...

Category:DefaultRelease time:-0001-11-30Views:130

I am having trouble Trouble implementing one-way SSL on WebLogic 9.2. I am using Demo Identity and Demo Trust certificates with a SSL Listen Port Enabled on 7002, and a Two Way Client Cert Behavior of Client Certs Not Requested. I assume that by usin[More]

Trouble viewing Captivate 8 published output.

Category:DefaultRelease time:-0001-11-30Views:130

Trouble viewing Captivate 8 published output.  I created a course for a client who also wants a video of it.  I published and I can see it on my end, but when I send them the files using DropBox, they can't open the .SWF, the Chrome.HTML, or the AVI[More]

Troubles implementing SAP Note 765494

Category:DefaultRelease time:-0001-11-30Views:130

All, I am trying to implement note 765494, but I have troubles implementing it. The note tells me to do the following: <b>12. Extend the private section of the CL_PO_ITEM_HANDLE_MM class to include the PO_EKPVX_HASH_TABLE attribute with the followin[More]

Implement an initial state in iframe for rss reader

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am using the latest spry framework 1.6.1 and have implemented the rssreader in a web page. I have not changed any of the code on how this works but just modified the stylesheet to change its appearance. When the page is first loaded there is no[More]

How do I configure Captivate simulations to treat captured keystrokes as textboxes?

Category:DefaultRelease time:-0001-11-30Views:130

I am using Captivate 7 to capture command-line interactions on a Windows 8 system and need it to treat the keystrokes used for each command as textboxes when the simulation is run.  Is there a way to configure this?  If not, is there another Adobe pr[More]

Problems Playing a Captivate Simulation

Category:DefaultRelease time:-0001-11-30Views:130

I have published a project using Adobe Captivate. Some users have the first slide play and then the simulation automatically stops, if you press the next button in progress to the next slide but the slide stay on the screen and the audio continues. O[More]

Adobe Reviewer buttons interfere with Captivate simulation

Category:DefaultRelease time:-0001-11-30Views:130

Utilizing the Reviewer buttons (forward, back, Add comment) affects the simulation in Captivate 4.  For example, after adding a comment, the buttons on the screen no longer work.  Utilizing the back and forward buttons can result in you getting stuck[More]

Captivate Simulation Tutorials

Category:DefaultRelease time:-0001-11-30Views:130

How do I actually create a simulation in Captivate?  I can see that I can in this video around 2:08, but I cannot find a tutorial that teaches me! http://tv.adobe.com/watch/from-our-evangelist-/application-simulation/Hi there One way is to record a s[More]

Captivate Simulation doesn't seem to stream

Category:DefaultRelease time:-0001-11-30Views:130

I created a simulation regarding some processes we use in our Saba LMS, but the content piece seems to load in full before playing. It doesn't load the first page/s and then load others in the back ground. Is there something I am doing incorrectly. I[More]

Hot
1. How to upload a Excel or PDF file into SAP through ABAP WedDynpro?     Upload file name convention is <salesordernumber>_<itemnumber>_YYYYMMDD.xls or     <salesordernumber>_<itemnumber>_YYYYMMDD.pdf 2. There is a sales order rep [More]
I am running CS6 and dont have access to Light Effects in my drop down menu.    How do I activate it for use? ThanksHowdy! Updated CS6 via updates….  And here is the system information Adobe Photoshop Version: 13.0.1 (13.0.1.2 20130522.r.24 2013/05/2 [More]
Firstly I cannot begin to complain enough about what a faff this thing was to set up. The supplied disk just "failed" to do a site survey every time i ran the setup. In the end, i managed to get in through ethernet straight into my laptop. and c [More]
I just installed Photoshop 5 and e-mail doesn't work. Quit working when I had 3.0. I just get a warning (adobe) unknown error. Help does not go into detail. Could there be a setting in "my computer" that I accidentally changed? Adobe has my e-ma [More]
Hi, we have installed sap ep, dual stack that is java as well as abap stack are installed on the same machine. I have done configuration for the sap interactive form in webdynpro side that is on java stack and its working fine , and now i am configur [More]
Hello, I am constructing an email client, with limited system resources, using JavaMail and pop3. I can only download mails that are about 8kb. So if an email has a large attachment I can not download it. I am however still interested in what the tex [More]
Sehr geehrte/s Adobe Community / Team , ich habe zuletzt im  Media Markt Würzburg eine Student and Teacher Version von Adobe Premiere Elements 11 & Adobe Photoshop Elements 11 gekauft. In der Verpackung war ein gelber Zettel mit einem Link und einem [More]
What is backing map in Java? Thank youA Backing Map is a map which is used to implement another map. eg. - A thread safe map can use a map as a wrapper for a backing map which actually holds the entries. - a cache usually has a backing map and the ca [More]
Hi hussein/helios/all, I was to learn some basic process of and Inventory System. I want to see the main master-tables and transaction-tables that comprises an inventory system. Can you give me links/docs the explain/show the basic process flow of an [More]
In our LAN basing the cisco switch 2950-24T, ALL PC can work good, but the powermac can't, they can't see together or can see few but can't connection, whether need to open Appletalk Protocal in this switch? but i can't see any about this command whe [More]