Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
play
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
play
Commits
f78fe69e
Commit
f78fe69e
authored
2 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
docs: now playing widget
parent
b8a5ccda
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+25
-7
25 additions, 7 deletions
README.md
with
25 additions
and
7 deletions
README.md
+
25
−
7
View file @
f78fe69e
...
@@ -39,18 +39,19 @@ Provided components:
...
@@ -39,18 +39,19 @@ Provided components:
2.
[
Components
](
#components
)
2.
[
Components
](
#components
)
1.
[
Media Player
](
#media-player
)
1.
[
Media Player
](
#media-player
)
2.
[
Media Player Button
](
#media-player-button
)
2.
[
Media Player Button
](
#media-player-button
)
3.
[
Programme Information
](
#programme-information
)
3.
[
Now Playing Widget
](
#now-playing-widget
)
4.
[
Track Service
](
#track-service
)
4.
[
Programme Information
](
#programme-information
)
5.
[
Online Status (Toast Notification)
](
#online-status-toast-notification
)
5.
[
Track Service
](
#track-service
)
6.
[
Host
](
#host
)
6.
[
Online Status (Toast Notification)
](
#online-status-toast-notification
)
7.
[
Host
](
#host
)
1.
[
Host List Component
](
#host-list-component
)
1.
[
Host List Component
](
#host-list-component
)
2.
[
Host Detail Component
](
#host-detail-component
)
2.
[
Host Detail Component
](
#host-detail-component
)
7
.
[
Show
](
#show
)
8
.
[
Show
](
#show
)
1.
[
Show List Component
](
#show-list-component
)
1.
[
Show List Component
](
#show-list-component
)
2.
[
Show Detail Component
](
#show-detail-component
)
2.
[
Show Detail Component
](
#show-detail-component
)
8
.
[
Episode
](
#episode
)
9
.
[
Episode
](
#episode
)
1.
[
Episode Detail Component
](
#episode-detail-component
)
1.
[
Episode Detail Component
](
#episode-detail-component
)
9
.
[
Category
](
#category
)
10
.
[
Category
](
#category
)
1.
[
Category List Component
](
#category-list-component
)
1.
[
Category List Component
](
#category-list-component
)
3.
[
Progressive Web App
](
#progressive-web-app
)
3.
[
Progressive Web App
](
#progressive-web-app
)
1.
[
Service Worker
](
#service-worker
)
1.
[
Service Worker
](
#service-worker
)
...
@@ -127,6 +128,23 @@ This currently only works when the player is part of the page, not when being us
...
@@ -127,6 +128,23 @@ This currently only works when the player is part of the page, not when being us
</script>
</script>
```
```
### Now Playing Widget
Display a bar with the current show and episode details. When clicking the bar the media player opens in a popup window.
```
html
<div
id=
"media-player-widget"
class=
""
></div>
<script>
/** Inject component into HTML **/
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
(
event
)
{
new
AuraNowPlayingWidget
({
target
:
document
.
getElementById
(
'
media-player-widget
'
),
props
:
{
popupUrl
:
'
/player_popup.html
'
},
})
})
</script>
```
### Programme Information
### Programme Information
Renders the daily programme info by listing all shows of the selected day.
Renders the daily programme info by listing all shows of the selected day.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment