VR Course Contest


Show us your best virtual reality course and win $50 gift card and a winner badge!
CHECK IT OUT

Download video first before proceed

ssoni
ssoni Community Member Posts: 30 ♪ Opening Act ♪
We have users with VPN or slow connection in the company. The video content is too skipping to watch. Is there a way to stay at the first page, the course downloads all the identified videos, and alert the users of download finished and ready to go?

Any help would be really appreciated.

Regards

Soni

Comments

  • carlfink
    carlfink Community Member Posts: 738 ✶ Headliner ✶
    Technically, this is known as preloading. For some reason, the HTML5 video players absolutely will not let you preload entire videos in any obvious way.
  • andrew-robertson
    andrew-robertson Community Member Posts: 46 ♪ Opening Act ♪
    edited February 4, 2021
    Hey @ssoni, is this on a corporate LAN or over the internet? We've implemented a pretty slick solution to support our less then optimal sites across our geographically diverse country/operations.

    Also, I did a quick search on how to pre-load content and you should look at the link below.
    https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content

    Specifically this code:
    <head>
      <meta charset="utf-8">
      <title>Video preload example</title>
    
      <link rel="preload" href="sintel-short.mp4" as="video" type="video/mp4">
      <link rel="preload" href="sintel-short.webm" as="video" type="video/webm">
    </head>
    <body>
      <video controls>
        <source src="sintel-short.mp4" type="video/mp4">
        <source src="sintel-short.webm" type="video/webm">
        <p>Your browser doesn't support HTML5 video. Here is a <a href="sintel-short.mp4">link to the video</a> instead.</p>
      </video>
    </body>
  • carlfink
    carlfink Community Member Posts: 738 ✶ Headliner ✶

    Hey @ssoni, is this on a corporate LAN or over the internet? We've implemented a pretty slick solution to support our less then optimal sites across our geographically diverse country/operations.

    Unfortunately, "preload" doesn't in general preload the entire file, at least as described by the docs. It makes the specified resource high-priority (starts that download higher in the list of "things the browser needs to fetch") but it doesn't do what preloading used to in Flash days, and actually download the entire thing before starting play, guaranteed. See:
    https://stackoverflow.com/questions/36641137/how-exactly-does-link-rel-preload-work
  • andrew-robertson
    andrew-robertson Community Member Posts: 46 ♪ Opening Act ♪
    Hmm. Good to know... Either way, to off load our needs to send content from one end of the country to the other, we deployed a dedicated web-server to every site which then provides the media content when the user's session asks for it. This allows for all media (99% of the time video/audio) to be pulled locally as opposed from our centralized datacenter - it really removes the strain on our WAN and the trunks that go into/out of the sites.
  • carlfink
    carlfink Community Member Posts: 738 ✶ Headliner ✶

    Hmm. Good to know... Either way, to off load our needs to send content from one end of the country to the other, we deployed a dedicated web-server to every site which then provides the media content when the user's session asks for it. This allows for all media (99% of the time video/audio) to be pulled locally as opposed from our centralized datacenter - it really removes the strain on our WAN and the trunks that go into/out of the sites.

    You built a corporate internal CDN?
  • andrew-robertson
    andrew-robertson Community Member Posts: 46 ♪ Opening Act ♪
    edited February 26, 2021
    carlfink said:

    You built a corporate internal CDN?

    Kinda.

    At every site we had our IT Department spool up a dedicated IIS Webserver for us to pull our content from. It requires me to go in and modify the audio/video URL in the Lectora published HTML files (./media/file.mp3 to https://locallms/course/language/file.mp3). I do know that our IT folks have setup a nice process when we are ready to push our content out for mass consumption (after testing has finished).

    I know this isn't a "true scorm package" and probably shouldn't be done, but we have to do it to make sure our content doesn't cause issues on the smaller network trunks to sites that also need the bandwidth. Meaning it allows us to push the 500mb once to a site as opposed to it being pulled for every user's session (content stays internal to the site as opposed to going through the WWW).
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!