Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the drive/partition where WebSphere Application Server (WAS) is installed, create the text file

    Operating SystemPathNotes
    Linux/Unix/opt/ephox/application.conf 
    WindowsWAS_INSTALLATION_DRIVE:\opt\ephox\application.confWAS_INSTALLATION_DRIVE is the drive where Websphere Application Server is installed, e.g. "C", "D" or "E" etc



  2. Edit this file as shown in section "Create a configuration file" on the installing the server-side components page and the configure the enhanced media embed service page in the Textbox.io documentation. You may also want to include the suggested enriched media embed endpointsIn the example below we have chosen to only include the free Youtube oEmbed endpoint as an example but normally you would list many more or use an Iframely account for the best experience.

    Code Block
    languageapplescript
    titleExample application.conf
    ephox {
      allowed-origins {
        origins = [
          "http://connections:9081",
          "https://connections:9444",
    
          "http://connections",
          "https://connections"
        ]
      }
      proxy {
        http.proxyHost = someproxy.internal.corp
        http.proxyPort = 8080
      }
      embed {
        custom = [
          # youtube
          {
            endpoint = "http://www.youtube.com/oembed"
            schemes = [
              "http://youtu.be/*",
              "https://youtu.be/*",
              "http://www.youtu.be/*",
              "https://www.youtu.be/*",
              "http://youtube.com/*",
              "https://youtube.com/*",
              "http://www.youtube.com/*",
              "https://www.youtube.com/*",
              "http://m.youtube.com/*",
              "https://m.youtube.com/*"
            ]
          }
    	  # Note, many other endpoints omitted here for brevity 
        ]
      }
    }
    
    
  3. When configuration is updated, please restart the EphoxTbioServices application via WebSphere Application Server.

...

Note
Note that while it is possible to configure everything using system properties it is not recommended if you wish to use the Enhanced Media Embed service with free oEmbed endpoints as there are many configuration optionsvalues required for a good experience.

The following steps describe the process for setting the configuration using JVM system properties.

...