This commit is contained in:
Infinite
2020-01-29 22:28:13 +01:00
parent 3f9f32c356
commit c1ce6d539d
45 changed files with 419 additions and 310 deletions

View File

@@ -3,4 +3,4 @@ export { default as NavUtils } from "./navigation";
export { default as TableUtils } from "./table";
export { default as TextUtils } from "./text";
export { default as DurationUtils } from "./duration";
export { default as JWUtils } from './jwplayer';
export { default as JWUtils } from "./jwplayer";

View File

@@ -1,7 +1,5 @@
const playerID = "main-jwplayer";
const getPlayer = () => (
(window as any).jwplayer(playerID)
)
const getPlayer = () => (window as any).jwplayer(playerID);
export default {
playerID,

View File

@@ -94,7 +94,11 @@ const renderHtmlSelect = (options: {
options.onChange(event.currentTarget.value)
}
>
{ options.selectOptions.map(opt => <option value={opt} key={opt}>{opt}</option>)}
{options.selectOptions.map(opt => (
<option value={opt} key={opt}>
{opt}
</option>
))}
</Form.Control>
</td>
</tr>