Forum Discussion

MaryGrove's avatar
MaryGrove
Community Member
8 years ago

Remove play button on html5 opening screen in Storyline 360

Is there a way of editing the code on one of the files to remove the big play button that appears on the opening screen of a mobile device accessing the html5 file? I've seen threads on how to do it on SL2, but not on SL 360. I can't seem to locate the player_compiled.js (or story_compiled.js) file to even edit it. I'm using SL 360 publish to Web with HTML5 only content option. When the published file gets uploaded to mobile iOS device, the opening screen is always the Play button (see image below). And yes, I know that editing published files is not supported by Articulate. 

  • And the Rise test works also as expected. Thats great...  no autoplay however, but i donot mind.
    I tested only on my Samsung Galaxy J7..

    The ds-slides.min.js and the unminified version i attach. Do rename your original when working with this and do keep a copy of it outside the default Articulate folder ("C:\Program Files (x86)\Articulate\360\Storyline\player\unified\html5\lib\scripts") because when they update Storyline all here will be overwritten.



    I exchanged the original ds file for my edited one, so all i publish will be without the 'Big-Black-Mobile-Play-Button'.

    ds-slides.edits.js is the unminified file with my edits in it.
    ds-slides.min.js is the same file, but now minified again and thus ready for use...

    Kind regards,
    Math

    • AnthonyGoss's avatar
      AnthonyGoss
      Community Member

      Forgive my lack of understand, but when I go into this folder, I do not see ds-slides.  All I see is slides.min.js.  Do I just need to add ds-slides.edits.js to this folder to make this work?

  • Math,

    Just wanted to say thank you for coming up with and sharing this workaround. It works wonderfully! This recently became an urgent need for me as well, and feel very fortunate and grateful to have found your posts. Nice work!

    Best regards
    Gary

  • Anthony,

    I also did not have the "ds-slides.min.js" file. However I downloaded the example file in this thread that Math shared. That file had the "ds-" prefix but I renamed it deleting the "ds-" prefix in the filename. After replacing the file in the published output with the new "slides.min.js" file, then testing on an iPad, the piece went right to the first screen without a PLAY button at the beginning. All other functionality in the piece seemed unaffected. 

    Honestly, I wasn't sure what the distinction was between the "ds-" version and the one without either, but given I was only testing on the published output folder there was little risk in just trying a file rename of Math's shared file. Was pleased to discover it worked fine. 

  • Math,

    Understood and good advice for me and others reading. I took the easy route using your shared file for my test instead of making the instructed text edit to the existing  .js file. And this time it worked. But point taken on potential effects of not making individual edits after program updates. 

    Thanks

    Gary

  • LanceCorley's avatar
    LanceCorley
    Community Member

    Thanks very much Math, for your help on this work-a-round.   Hopefully the development team will get around to sorting this issue out.

    Thanks again, for all your help here on this post.  much appreciated.  

    Regards., lance

  • Or anyone have an update on this?  Is there code I can tweak in JS so the video on the start page will play across desktop and mobile?

    • MathNotermans-9's avatar
      MathNotermans-9
      Community Member

      When you have video or audio on a start page...most mobile devices will prevent autoplay. That's a default in most browsers and devices. A user interaction is needed to play it. Nothing to do with Storyline or Articulate. The big black play button and screen however are Articulate's solution to this. As you donot have audio or video on your first slide this should not be needed and the page/slide should show directly. Thats the solution mentioned above for. If you have video or audio on your first slide...well then there are several solutions to work around it not playing directly. One of the most common used is a static page as first page, that automatically goes to a second page where your video and /or audio then is.

      • VajraBarnett-2c's avatar
        VajraBarnett-2c
        Community Member

        Yes there is video on slide one.  A static page didn't work, tried 30 combinations of triggers.  Video will not auto play with either video autoplay set or triggers to play.  Unless there is a trigger action on a preceding page or a play button no dice.

    • PhilMayor's avatar
      PhilMayor
      Super Hero

      There is a play button on my iPhone. All mobile versions have play button on desktop with no media on first slide there is no play button.

      Sent from my iPhone

      • EswarkumarKanth's avatar
        EswarkumarKanth
        Community Member

        Hi Phil Mayor. Yes, if we add any media asset (Audio or Video) in the starting slide timeline then we get the play button (Visible or Showing) when we launch the course into the browser.