Skip to content

Commit

Permalink
reduce rep size
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Mar 29, 2024
1 parent b1dbd62 commit 2ea8580
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 64,052 deletions.
9 changes: 2 additions & 7 deletions examples/standalone/constants.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import flv from '../../packages/docs/public/op.flv'
import MP4 from '../../packages/docs/public/君の名は.mp4'

export const VIDEO_LIST = [
MP4,
'https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd',
'https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8',
'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8',
'https://dash.akamaized.net/akamai/test/caption_test/ElephantsDream/elephants_dream_480p_heaac5_1_https.mpd',
flv,
'https://yun.ssdm.cc/SBDM/ShinigamiBocchantoKuroMaid02.m3u8',
'https://test-streams.mux.dev/x36xhzz/url_0/193039199_mp4_h264_aac_hd_7.m3u8',
'https://video.zidivo.com/live983/GrtjM_FNGC/playlist.m3u8', //live
Expand Down Expand Up @@ -41,7 +36,7 @@ export const FORMAT_MENU = [
{
name: 'MP4',
default: true,
value: MP4
value: 'MP4'
},
{
name: 'HLS',
Expand All @@ -53,7 +48,7 @@ export const FORMAT_MENU = [
},
{
name: 'FLV',
value: flv
value: 'flv'
}
]

Expand Down
17 changes: 9 additions & 8 deletions examples/standalone/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ import ui from '@oplayer/ui'
import torrent from '@oplayer/torrent'
import { PlaylistPlugin, Chromecast } from '@oplayer/plugins'

import DANMAKU from '../../packages/docs/public/danmaku.xml'
import POSTER from '../../packages/docs/public/poster.png'
import THUMB from '../../packages/docs/public/thumbnails.jpg'
import SRT from '../../packages/docs/public/君の名は.srt'
import JPSRT from '../../packages/docs/public/君の名は-jp.srt'
import SUPER_DANMAKU from '../../packages/docs/public/天气之子.xml'
import FLV from '../../packages/docs/public/op.flv'
import MP4 from '../../packages/docs/public/君の名は.mp4'
import vercel from '../../packages/docs/public/vercel.svg'

import emptyBuffer from './emptyBuffer'
Expand All @@ -34,6 +26,15 @@ interface Ctx {

const initialIndex = 0

const POSTER = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png`
const DANMAKU = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/danmaku.xml`
const THUMB = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/thumbnails.jpg`
const SRT = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/君の名は.srt`
const JPSRT = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/君の名は-jp.srt`
const SUPER_DANMAKU = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/天气之子.xml`
const FLV = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/op.flv`
const MP4 = `https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/君の名は.mp4`

const player = Player.make<Ctx>('#player', {
// muted: true,
volume: 0.5,
Expand Down
338 changes: 0 additions & 338 deletions packages/docs/public/comment-otsukimi.xml

This file was deleted.

1 change: 0 additions & 1 deletion packages/docs/public/danmaku.xml

This file was deleted.

34 changes: 0 additions & 34 deletions packages/docs/public/ios_debug.html

This file was deleted.

Binary file removed packages/docs/public/op.flv
Binary file not shown.
Binary file removed packages/docs/public/poster.png
Binary file not shown.
Binary file removed packages/docs/public/thumbnails.jpg
Binary file not shown.
Binary file removed packages/docs/public/weathering-with-you.flv
Binary file not shown.
135 changes: 0 additions & 135 deletions packages/docs/public/君の名は-jp.srt

This file was deleted.

Binary file removed packages/docs/public/君の名は.mp4
Binary file not shown.
Loading

0 comments on commit 2ea8580

Please sign in to comment.