Some sites are as much listened to and watched as read: a course exported with its video lessons, a podcast archive, a discography with a player for every track, the albums and music videos a studio delivers to its client on a USB stick, a club's site with videos of its shows. You have the folder at hand, with its index.html and its MP3 and MP4 files. On a computer, a double-click is enough. On an iPhone or an iPad, it is another story.
Here is how to read it with Pagira, offline, and what to know so that every audio and video player on the page works.
The Files app can show an HTML page, but on its own: without its style sheet, without its scripts, and above all without the files next to it. The page's <audio> and <video> tags point to files in the folder, and those files stay out of reach. You see the page, but no player starts.
Pagira opens the whole folder. The page is served as a real site would be, from the device itself: each player finds its file, the playback bar lets you skip forward or back, and the page's scripts work as they do on a computer. How this works is explained in read a local site without setting up a web server.
Pagira plays what Safari plays. In practice:
AVI, WMV, FLV and MKV are not played by iOS, in Pagira or in Safari. If your site has some, convert them once to MP4 (H.264 and AAC) on the computer, with HandBrake for instance, and keep the same file name or fix the link in the page.
A video of several gigabytes is not a problem. Pagira never loads it whole into memory: it sends the player the piece it asks for, when it asks for it. A two-hour video starts straight away, and jumping to the end only reads the end.
A discography with a player per track, or a course page with all its videos, can hold dozens of players. A browser normally prepares every one of them as soon as the page opens. On iPhone, past a few hundred, iOS can no longer cope and the page never finishes opening. With Pagira, it opens at once, on iPhone as on iPad, and stays smooth from one play to the next.
Wherever the folder is, Pagira reads it where it stands, without importing it: On My iPhone or On My iPad, a USB stick or drive plugged in, or iCloud Drive.
In iCloud Drive, Pagira fetches each file when the page asks for it: handy so as not to fill the device, but a video never played before needs a connection. Before a trip, tap Download: the whole folder is kept on the device, videos included, and plays on a plane. An interrupted download resumes by itself.
A few precautions avoid a silent player:
audio/album1/track1.mp3 works everywhere. A computer path like C:\Music\track1.mp3 works nowhere but on that computer.Track1.MP3 and track1.mp3 are two different files for a site. Windows makes no difference, an iPhone does.Yes. Pagira opens the site's folder on iPhone and iPad, and the page's audio and video players play the folder's MP3, M4A, WAV, MP4 and MOV files with no connection.
MP4 and MOV in H.264 or HEVC, with AAC sound. AVI, WMV, FLV and MKV are not played by iOS: convert them to MP4 on the computer.
Yes. Pagira never loads the whole video into memory: it starts straight away, and you can skip forward or back freely.
For a file never downloaded before, yes. Tap Download before leaving: the whole folder, videos included, stays on the device and plays offline.
Yes, on iPhone and iPad, without copying it: pick the folder on the stick in Open a folder or file.