Skip to content
Snippets Groups Projects
Select Git revision
  • 2406eda5663463ed65c6f1398cfb23020e4e11de
  • annotation-on-video default protected
  • demo_ci
  • 3-upstream-01022023
  • master
  • gh3538-captions
  • 16-adapt-for-images-annot
  • 15-api-for-annotations-on-video
  • 15-annotations-on-videos
  • video_for_annotations
  • wip-1-annotations-on-videos
  • 9-videoviewer-tests
  • 9_wip_videotests
  • 6-fix-tests-and-ci
  • _fix_ci
  • wip-webpack-from-git
16 results

v3.html

Blame
  • Loïs Poujade's avatar
    Loïs Poujade authored
    - build before integration tests
    - also logs tests results in job output
    - remove online google fonts to speed up tests
    - run test serially to avoid timeouts (cf
      https://github.com/smooth-code/jest-puppeteer#running-puppeteer-in-ci-environments)
    cff6b420
    History
    v3.html 1.05 KiB
    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <meta name="theme-color" content="#000000">
        <title>Mirador - Prezi v3</title>
      </head>
      <body>
        <div id="mirador" style="position: absolute; top: 0; bottom: 0; left: 0; right: 0;"></div>
        <script>document.write("<script type='text/javascript' src='../../../dist/mirador.min.js?v=" + Date.now() + "'><\/script>");</script>
        <script type="text/javascript">
         var miradorInstance = Mirador.viewer({
           id: 'mirador',
           windows: [{
             manifestId: 'https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json',
           }],
           requests: {
             preprocessors: [
               (url, options) => ({  ...options, headers: {
                 Accept: 'application/ld+json;profile="http://iiif.io/api/presentation/3/context.json"',
               }}) 
             ]
           },
           window: {
             hideSearchPanel: false,
           }
         });
        </script>
      </body>
    </html>