BrowserSpecificFile_v2 Op

BrowserSpecificFile

set file dependant on browser


<p>Browsers support file-types differently. E.g. to create a gapless audio loop, you cannot simply loop an MP3 file, you need to create an M4A-file for Safari, an OGG-file for Firefox and an MP3-file for Chrome (and the other browsers). Otherwise the loop will have a tiny, but noticeable gap. This op let’s you specify filenames specific for each browser. It does not handle loading of files, just the filenames.</p> <p>Safari on the desktop supports any media the installed version of QuickTime can play. This includes media encoded using codecs QuickTime does not natively support, provided the codecs are installed on the user’s computer as QuickTime codec components.</p> <p>Safari on iOS (including iPad) currently supports uncompressed WAV and AIF audio, MP3 audio, and AAC-LC or HE-AAC audio. HE-AAC is the preferred format.</p> <p>Safari on iOS (including iPad) currently supports MPEG-4 video (Baseline profile) and QuickTime movies encoded with H.264 video (Baseline profile) and one of the supported audio types.</p> <p>iPad and iPhone 3G and later support H.264 Baseline profile 3.1. Earlier versions of iPhone support H.264 Baseline profile 3.0.</p> <p>To see what Safari supports in detail, click here:</p> <p><a href="https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW1">https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW1</a></p>


Full Name
  • Ops.Html.BrowserSpecificFile_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest PatchesJavascript Libraries
  • Platform.js (A platform detection library that works on nearly all JavaScript platforms.)



INPUT PORTS


Chrome File (String)

<p>Filename to be used in Googe Chrome</p>

Firefox File (String)

<p>Filename to be used in Firefox</p>

Safari File (String)

<p>Filename to be used in Safari</p>

IE <= 11 File (String)

<p>Filename to be used in Internet Explorer &lt;= 11</p>

Edge File (String)

<p>Filename to be used in Edge</p>

Opera File (String)

<p>Filename to be used in Opera</p>

Default File (String)

<p>Filename to be used if there is no specific file defined for the current browser</p>

OUTPUT PORTS


Browser Specific File (String)

<p>The filename specific to the current browser</p>

Detected Browser (String)

<p>The detected browser</p>


Patches using BrowserSpecificFile_v2

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Html.BrowserSpecificFileuser avatarsimod - 2020-10-15 14:16
added lib: platform.jsuser avatarsimod - 2020-10-15 14:17
Ops.User.cables.BrowserSpecificFile_v2 renamed to Ops.Html.BrowserSpecificFile_v2user avatarsimod - 2020-10-15 14:19