-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84e3ca7
commit a57f31e
Showing
14 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,14 @@ | |
|
||
|
||
<script type="module"> | ||
import { LitElement, html, css } from 'https://esm.archive.org/lit' | ||
import { Router } from 'https://esm.archive.org/@vaadin/router@^1' | ||
// eslint-disable-next-line no-unused-vars | ||
import { LitElement, html, _css } from 'https://esm.ext.archive.org/[email protected]' | ||
import { Router } from 'https://esm.ext.archive.org/@vaadin/[email protected]' | ||
import { jwplayer, jwbase } from '../js/jwplayer/jwplayer.js' | ||
|
||
customElements.define('x-nav', class extends LitElement { | ||
onAfterEnter(location, commands, router) { | ||
// eslint-disable-next-line no-unused-vars | ||
onAfterEnter(_location, _commands, _router) { | ||
// add div to light DOM | ||
const rootTextEl = document.createElement('div') | ||
rootTextEl.setAttribute('id', 'jw6') | ||
|
@@ -37,7 +39,7 @@ | |
jwplayer('jw6').setup({ | ||
file: 'https://archive.org/download/stairs/stairs.mp4', | ||
width: 'responsive', | ||
base: jwbase | ||
base: jwbase, | ||
}) | ||
} | ||
|
||
|
@@ -54,9 +56,8 @@ | |
}) | ||
|
||
|
||
new Router(document.getElementById('outlet')).setRoutes([ | ||
{ path: '(.*)', | ||
component: 'x-nav', | ||
} | ||
]) | ||
new Router(document.getElementById('outlet')).setRoutes([{ | ||
path: '(.*)', | ||
component: 'x-nav', | ||
}]) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { LitElement, html, css } from 'https://esm.archive.org/lit' | ||
import { LitElement, html, css } from 'https://esm.ext.archive.org/lit@3.2.1' | ||
|
||
import './play8/play8.js' | ||
import Player from './player.js' | ||
|
@@ -153,7 +153,7 @@ table { | |
return html` | ||
<script src="https://archive.org/jw/8/jwplayer.js"></script> | ||
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> | ||
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> | ||
<div class="container container-ia"></div> | ||
<div id="theatre-ia-wrap" class="container container-ia width-max"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.