I published a Captivate 6 project using HTML5. The playbar them is MobilePlaybar, which is positioned on the Right with the Layout Right Bottom. The items that show are Play, Rewind, Forward, Back and Close.
When viewed in Internet Explorer, Firefox, or Chrome, the playbar looks great.
However, when viewed with Safari, the most popular browser by far for iPad, the Close button is not showing.
When publishing, Scalable Content was not turned on. When I tried publishing with Scalable Content turned on, the whole playbar is cut off and not showing.
Suggestions appreciated.
I've experimented with this issue further. It doesn't matter which playbar I choose or which position I choose for the playbar, the Close icon does not show in Safari in an HTML5 project.
As a way around this, I'm considering building my own playbar from scratch using buttons. Is there a way to assign an Action to a button so that when clicked it will close the HTML5 module on an iPad?
Ah, We found a solution. Open up assets/js/CPLibrary and do a search for this code:
| if(cp.browser != cp.SAFARI) | ||||
| measuredWidthNoSlider += this.createButton(['Exit'],this.firstRowArray,this.exitHandler,measur edWidthNoSlider); |
now, delete the if condition. The button may not work though - I think the guys at Adobe Dev decided to exclude the button from safari alltogether
Hi Jay Fresno,
Thanks for the post.
The Close button and the Audio button are intentionally removed from Playbar for Safari Browsers.
Close Button:
Safari Browser (on all platforms) does not support closing browser using javascript, hence it is removed.
Audio-Mute/UnMute Button:
Safari Browser on i-Devices does not support mute/unmute functionality using javascript, hence this functionality is removed for i-Devices from PlayBar.
Thanks,
Mayank
I had the same question. Here's the fix I came up with for HTML5:
Created TOC.png and CC.png. Added to assets\playbar\PlaybarIcons.
Edited assets\playbar\playbarScript.js:
Replaced 'Exit' in playbarAssetArr = with 'CC' and 'TOC'
Changed var left = 8; to var left = 9;
\assets\js\CPPlaybar.js already has CC and TOC code so does not need to be modified..
North America
Europe, Middle East and Africa
Asia Pacific