Copy link to clipboard
Copied
The 'vanilla' version of multiscreen.html (which decides if the device requires html5) shows user agents:
["blackberry","android","iphone","ipad","symbian","smartphone","ios","windows ce","webos"]
The actual user agent string for, say, my Nokia Lumia 820 is:
Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 820)
So surely if I add "...,"ARM","NOKIA","Lumia",..." then that should serve the html5 version to a Lumia?
Doesn't seem to work.
Does anybody know how to hack multiscreen.html to ensure the correct (html5) version is served to a Lumia? I'm actually very disappointed that this wasn't added by Adobe in Captivate 7 as the Lumias have a very capable browser and have been around for over a year now.
You would need to add them to this array in lowercase:
var lDevicesUserAgents = ["blackberry","android","iphone","ipad","symbian","smartphone","ios","windows ce","webos"];
When it is actually polling the device it is returning the string to lowercase for the camparison.
Copy link to clipboard
Copied
You would need to add them to this array in lowercase:
var lDevicesUserAgents = ["blackberry","android","iphone","ipad","symbian","smartphone","ios","windows ce","webos"];
When it is actually polling the device it is returning the string to lowercase for the camparison.
Copy link to clipboard
Copied
That did it! Many thanks!
Copy link to clipboard
Copied
Next question: is there any way to hack my local copy of Captivate so that it generates the correct 'multiscreen.html' automatically, without me having to change it every single time I want to preview my work on my local WAMP server?
Copy link to clipboard
Copied
I would think you could edit and save the mutiscreen.html @ the following location:
C:\Program Files\Adobe\Adobe Captivate 7 x64\Templates\Publish
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more