+
EMTEC Intermission
+
- Video{' '}
+ Dreamkast で利用(Day1分){' '}
->
- Playing a video using video.js.
+ CloudNativeDays イベントのインタミはこちら.
- Playlist{' '}
+ Dreamkast で利用(Day2分){' '}
->
- Playing a video playlist using videojs-playlist.
+ CloudNativeDays イベントのインタミはこちら.
- Animation{' '}
+ TS ファイルをソースとして利用(Day1分){' '}
->
- 2D animation with React Pixi.
+ src/data/talks.ts に書き込んだ トーク情報からインタミを生成する場合はこちら.
- Player{' '}
+ TS ファイルをソースとして利用(Day2分){' '}
->
- Switching multi media sources automatically.
+ src/data/talks.ts に書き込んだ トーク情報からインタミを生成する場合はこちら.
diff --git a/src/app/player/@videoPlaylist/page.tsx b/src/app/player/@videoPlaylist/page.tsx
index c023ec9..cc372fb 100644
--- a/src/app/player/@videoPlaylist/page.tsx
+++ b/src/app/player/@videoPlaylist/page.tsx
@@ -8,47 +8,48 @@ import { Playlist } from '../../../components/VideoPlaylist'
const VideoPlaylist = dynamic(() => import('../../../components/VideoPlaylist'))
+// CNDW2024 は CM スポンサーなしのためコメントアウト
const playlist: Playlist = [
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm1.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm2.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm3.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm4.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm5.mp4',
- type: 'video/mp4',
- },
- ],
- },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm1.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm2.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm3.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm4.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm5.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
]
export default function Page() {
diff --git a/src/app/video-playlist/page.tsx b/src/app/video-playlist/page.tsx
index 7391e31..f4b6880 100644
--- a/src/app/video-playlist/page.tsx
+++ b/src/app/video-playlist/page.tsx
@@ -7,46 +7,46 @@ import { Playlist } from '@/components/VideoPlaylist'
const VideoPlaylist = dynamic(() => import('../../components/VideoPlaylist'))
const playlist: Playlist = [
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm1.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm2.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm3.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm4.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm5.mp4',
- type: 'video/mp4',
- },
- ],
- },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm1.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm2.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm3.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm4.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm5.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
]
export default function Page() {
diff --git a/src/components/Page4.tsx b/src/components/Page4.tsx
index abece41..525fff8 100644
--- a/src/components/Page4.tsx
+++ b/src/components/Page4.tsx
@@ -6,47 +6,50 @@ import VideoPlaylist, { Playlist } from './VideoPlaylist'
type Props = { view: Optional
}
+// CNDW2024 は CM スポンサーなしのためコメントアウト
+// 復活させた場合は src/pages/break-dk/talks/[talkId].tsx の Page4 のコメントアウトも外すこと
+
const playlist: Playlist = [
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm1.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm2.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm3.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm4.mp4',
- type: 'video/mp4',
- },
- ],
- },
- {
- sources: [
- {
- src: 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm5.mp4',
- type: 'video/mp4',
- },
- ],
- },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm1.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm2.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm3.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm4.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
+ // {
+ // sources: [
+ // {
+ // src: 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm5.mp4',
+ // type: 'video/mp4',
+ // },
+ // ],
+ // },
]
export default function Page(_: Props) {
diff --git a/src/components/PixiApp.tsx b/src/components/PixiApp.tsx
index 3bb4725..6994b0f 100644
--- a/src/components/PixiApp.tsx
+++ b/src/components/PixiApp.tsx
@@ -91,7 +91,7 @@ const RotatingBunny: React.FC = (
}, [props.talkData, props.speakersData])
if (!sound.exists('bgm'))
- sound.add('bgm', '/pek2024/pek2024_intermission.mp3')
+ sound.add('bgm', '/cndw2024/cndw2024_intermission.mp3')
const style_clock = new PIXI.TextStyle({
align: 'center',
diff --git a/src/pages/break-dk/talks/[talkId].tsx b/src/pages/break-dk/talks/[talkId].tsx
index ab2b631..3cbd82e 100644
--- a/src/pages/break-dk/talks/[talkId].tsx
+++ b/src/pages/break-dk/talks/[talkId].tsx
@@ -29,14 +29,18 @@ function Pages() {
,
,
,
- ,
+ // CM スポンサーなしのためコメントアウト (下のshouldPlayAudioも編集が必要)
+ // ,
]
useEffect(() => {
setTotalPage(pages.length)
}, []) // eslint-disable-line react-hooks/exhaustive-deps
- const audioSrc = '/pek2024/pek2024_intermission.mp3'
- const shouldPlayAudio = current !== pages.length - 1
+ const audioSrc = '/cndw2024/cndw2024_intermission.mp3'
+ // CM ありの場合
+ // const shouldPlayAudio = current !== pages.length - 1
+ // CM なしの場合
+ const shouldPlayAudio = true
if (isLoading) {
return Loading...
diff --git a/src/pages/break/talks/[talkId].tsx b/src/pages/break/talks/[talkId].tsx
index 07f0465..d43c99b 100644
--- a/src/pages/break/talks/[talkId].tsx
+++ b/src/pages/break/talks/[talkId].tsx
@@ -44,7 +44,7 @@ function Pages() {
setTotalPage(pages.length)
}, []) // eslint-disable-line react-hooks/exhaustive-deps
- const audioSrc = '/pek2024/pek2024_intermission.mp3'
+ const audioSrc = '/cndw2024/cndw2024_intermission.mp3'
const shouldPlayAudio = current !== pages.length - 1
if (!view) {
diff --git a/src/service-worker.js b/src/service-worker.js
index eb6028c..5dd9b10 100644
--- a/src/service-worker.js
+++ b/src/service-worker.js
@@ -5,11 +5,12 @@ precacheAndRoute(self.__WB_MANIFEST)
const CACHE_NAME = 'video-cache'
const VIDEO_URL = [
- 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm1.mp4',
- 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm2.mp4',
- 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm3.mp4',
- 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm4.mp4',
- 'https://web-intermission.s3.isk01.sakurastorage.jp/pek2024/cm5.mp4',
+ // CNDW2024 は CM スポンサーなしのためコメントアウト
+ // 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm1.mp4',
+ // 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm2.mp4',
+ // 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm3.mp4',
+ // 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm4.mp4',
+ // 'https://web-intermission.s3.isk01.sakurastorage.jp/cndw2024/cm5.mp4',
]
async function updateCache() {