Forum Discussion
Remove play button on html5 opening screen in Storyline 360
At last found how to overcome the playbutton on Mobile... thx to Mike and Rachel for pointing me in the right direction..
Indeed in SL360 it is in the ds-slides.min.js..
What i did was unminifying the file...so it becomes what more readable
Used this here... https://unminify.com/
I added several console.log("now this happens") to the ds-slides.min.js to figure out where what happened exactly and thus soon found that there are several functions in it that cause the playbutton on mobiles.
onMobileStart
createMobileStartOverlay
showMobileStartOverlay
killMobileStartOverlay
All quite promising...so could i just call one of these functions ?
After several tests and retry's i found that just adding
this.onStart(); at the end of the onMobileStart function overrides the play button and mobile behaves as desired.
So this is onMobileStart inside ds-slides.min.js
onMobileStart: function (t) {
var e,
n = this;
(this.rejectDeferred = t.rejectDeferred),
o.addClass(document.body, "resume-shown"),
(e = { visible: !0 }),
t.mobileStartAsPrompt && (e.isResumePrompt = !0),
this.setState(e, function () {
var t = null != n.refs.resume ? n.refs.resume : n.refs.playIcon;
c.env.is360 || t.focus(), l.trigger(u.startOverlay.READY);
});
this.onStart();
},
Do test it with this one...
https://360.articulate.com/review/content/70c26959-da56-4891-9d58-06277ed61d32/review
- PhilMayor5 years agoSuper Hero
Thanks for this Math. How does slide behave with audio or video on does it auto play?
Sent from my iPhone
- MathNotermans-95 years agoCommunity Member
Will make some tests with audio, video and more in it. Actually will test a Storyline block in Rise too, cause the default SL behaviour on mobile especially hindered me with SL blocks...