Add dash player
SSH Build / Deploy (push) Successful in 13s Details

This commit is contained in:
emerson 2024-08-22 16:10:45 -03:00
parent 7e6fff40f4
commit b4c29e1d2e
4 changed files with 146 additions and 0 deletions

94
Gemfile.lock Normal file
View File

@ -0,0 +1,94 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
colorator (1.1.0)
concurrent-ruby (1.3.4)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-darwin)
forwardable-extended (2.6.0)
google-protobuf (3.25.4)
google-protobuf (3.25.4-arm64-darwin)
google-protobuf (3.25.4-x86_64-darwin)
google-protobuf (3.25.4-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-archives (2.2.1)
jekyll (>= 3.6, < 5.0)
jekyll-datapage-generator (1.4.0)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.6)
strscan
rouge (4.3.0)
safe_yaml (1.0.5)
sass-embedded (1.69.5)
google-protobuf (~> 3.23)
rake (>= 13.0.0)
sass-embedded (1.69.5-arm64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.69.5-x86_64-darwin)
google-protobuf (~> 3.23)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)
PLATFORMS
arm64-darwin
ruby
x86_64-darwin
x86_64-linux
DEPENDENCIES
jekyll
jekyll-archives
jekyll-datapage-generator
jekyll-feed
BUNDLED WITH
2.5.16

View File

@ -40,6 +40,7 @@ header_pages:
- pages/cursos.html
- pages/podcasts.html
- pages/software.html
- pages/live.html
# collections

3
assets/js/dash.all.min.js vendored Normal file

File diff suppressed because one or more lines are too long

48
pages/live.html Normal file
View File

@ -0,0 +1,48 @@
---
layout: default
permalink: /live.html
---
<script src="/assets/js/dash.all.min.js"></script>
<div>
<div class="player px-4 py-4">
<video
class="player"
data-dashjs-player
autoplay
controls
muted
src="https://cast.alice.ufsj.edu.br/dash/test.mpd"/>
</div>
<div class="player-info mx-3 py-2 is-flex is-flex-direction-row is-align-items-center">
</div>
</div>
<style>
video {
/* width: 100%; */
/* border: 2px solid #ccc; */
border-radius: 15px;
}
video::-webkit-media-controls {
background-color: hsl(0, 0%, 14%);
}
video::-webkit-media-controls-play-button {
color: #fff;
}
.player{
width: 100%;
height: 100%;
/* background-color: aqua; */
}
.player-info{
border-radius: 15px;
background-color: #0b1a33;
}
</style>