Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
feat(download-tab): Add download tab
Browse files Browse the repository at this point in the history
- #395

BREAKING CHANGE: audio files reference format changed, see docs
  • Loading branch information
alexander-heimbuch committed Jul 30, 2017
1 parent 24c3f66 commit 336cee5
Show file tree
Hide file tree
Showing 238 changed files with 2,095 additions and 355 deletions.
29 changes: 22 additions & 7 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,31 @@ _Not providing chapters will disable all chapter related functions._
}
```

#### Audio Nodes Chapters
#### Audio Files

```javascript
{
audio: [
'http://freakshow.fm/podlove/file/4468/s/download/c/select-show/fs171-invasion.m4a',
'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.mp3',
'http://freakshow.fm/podlove/file/4466/s/download/c/select-show/fs171-invasion.oga',
'http://freakshow.fm/podlove/file/4465/s/download/c/select-show/fs171-invasion.opus'
]
audio: [{
url: 'http://freakshow.fm/podlove/file/4468/s/download/c/select-show/fs171-invasion.m4a',
mimeType: 'audio/mp4',
size: 93260000,
title: 'Audio MP4'
}, {
url: 'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.mp3',
mimeType: 'audio/mp3',
size: 14665000,
title: 'Audio MP3'
}, {
url: 'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.oga',
mimeType: 'audio/ogg',
size: 94400000,
title: 'Audio Ogg'
}, {
url: 'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.opus',
mimeType: 'audio/opus',
size: 94400000,
title: 'Audio Opus'
}]
}
```

Expand Down
27 changes: 21 additions & 6 deletions docs/embedding.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,27 @@ The _podlovePlayer_ returns a promise with a redux store as a result that can be
{ start:"03:56:11", title: 'That One Privacy Guy\'s VPN Comparison Chart'},
{ start:"04:10:00", title: 'Ausklang'}
],
audio: [
'http://freakshow.fm/podlove/file/4468/s/download/c/select-show/fs171-invasion.m4a',
'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.mp3',
'http://freakshow.fm/podlove/file/4466/s/download/c/select-show/fs171-invasion.oga',
'http://freakshow.fm/podlove/file/4465/s/download/c/select-show/fs171-invasion.opus'
],
audio: [{
url: 'http://freakshow.fm/podlove/file/4468/s/download/c/select-show/fs171-invasion.m4a',
mimeType: 'audio/mp4',
size: 93260000,
title: 'Audio MP4'
}, {
url: 'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.mp3',
mimeType: 'audio/mp3',
size: 14665000,
title: 'Audio MP3'
}, {
url: 'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.oga',
mimeType: 'audio/ogg',
size: 94400000,
title: 'Audio Ogg'
}, {
url: 'http://freakshow.fm/podlove/file/4467/s/download/c/select-show/fs171-invasion.opus',
mimeType: 'audio/opus',
size: 94400000,
title: 'Audio Opus'
}],
reference: {
config: '//podlove-player.surge.sh/fixtures/example.json',
share: '//podlove-player.surge.sh/share'
Expand Down
2 changes: 1 addition & 1 deletion docs/error.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ navigation: 7
};

podlovePlayer('#load-error', Object.assign({}, config, {
audio: ['http://invalid.url']
audio: [{url: 'http://invalid.url'}]
}))

podlovePlayer('#reference-error', Object.assign({}, config))
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1055f434.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13453/6025850/fs200-alle-fuzzies-freuen-sich.m4a"
{
"url": "https://tracking.feedpress.it/link/13453/6025850/fs200-alle-fuzzies-freuen-sich.m4a",
"mimeType": "audio/mp4",
"size": 86907916,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1161a95f.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
"duration": "02:17:48",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13440/1885516/cre178-jugendmedienarbeit.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885516/cre178-jugendmedienarbeit.m4a",
"mimeType": "audio/mp4",
"size": 51755839,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/12139b47.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
"duration": "02:30:23",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13440/1885680/cre156-das-sonnensystem.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885680/cre156-das-sonnensystem.m4a",
"mimeType": "audio/mp4",
"size": 56437174,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/14622062.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13453/4732097/fs186-kastratur.m4a"
{
"url": "https://tracking.feedpress.it/link/13453/4732097/fs186-kastratur.m4a",
"mimeType": "audio/mp4",
"size": 91280798,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/155e4eb3.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"duration": "02:17:56",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13440/1885671/cre165-privatsphaere.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885671/cre165-privatsphaere.m4a",
"mimeType": "audio/mp4",
"size": 51626051,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/16cb7d7b.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
"duration": "01:48:19",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13440/1885514/cre180-passivhaeuser.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885514/cre180-passivhaeuser.m4a",
"mimeType": "audio/mp4",
"size": 40672644,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/181d9aa5.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
"duration": "02:50:39",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13440/1885499/cre195-das-gehirn.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885499/cre195-das-gehirn.m4a",
"mimeType": "audio/mp4",
"size": 63901945,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1a477d4d.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"duration": "02:49:49",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13444/1886726/nsfw049-flauschsandstrahler.m4a"
{
"url": "https://tracking.feedpress.it/link/13444/1886726/nsfw049-flauschsandstrahler.m4a",
"mimeType": "audio/mp4",
"size": 63591816,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1a724414.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13444/1886689/nsfw086-faekalreduktor-3000.m4a"
{
"url": "https://tracking.feedpress.it/link/13444/1886689/nsfw086-faekalreduktor-3000.m4a",
"mimeType": "audio/mp4",
"size": 82469038,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1b78630a.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13476/5770622/lnp220-street-clickability.m4a"
{
"url": "https://tracking.feedpress.it/link/13476/5770622/lnp220-street-clickability.m4a",
"mimeType": "audio/mp4",
"size": 31802259,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1bfc2a0e.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13453/5476348/fs194-cloudschmerzen.m4a"
{
"url": "https://tracking.feedpress.it/link/13453/5476348/fs194-cloudschmerzen.m4a",
"mimeType": "audio/mp4",
"size": 81901468,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1cea72d7.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"duration": "00:07:03",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13551/1926862/tlf008.m4a"
{
"url": "https://tracking.feedpress.it/link/13551/1926862/tlf008.m4a",
"mimeType": "audio/mp4",
"size": 4469353,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1d53f97c.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13440/1885492/cre202-hackerfilme.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885492/cre202-hackerfilme.m4a",
"mimeType": "audio/mp4",
"size": 71290427,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1e8539c8.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13444/1886697/nsfw078-notbrot.m4a"
{
"url": "https://tracking.feedpress.it/link/13444/1886697/nsfw078-notbrot.m4a",
"mimeType": "audio/mp4",
"size": 53718596,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/1f9c9566.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/11988/2116273/me003-raumzeit-update.mp3"
{
"url": "https://tracking.feedpress.it/link/11988/2116273/me003-raumzeit-update.mp3",
"mimeType": "audio/mpeg",
"size": 4992261,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/20a9b54b.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13453/4805625/fs187-knueppelgraetsche-richtig-geil.m4a"
{
"url": "https://tracking.feedpress.it/link/13453/4805625/fs187-knueppelgraetsche-richtig-geil.m4a",
"mimeType": "audio/mp4",
"size": 82771044,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/21cdd337.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13440/1885487/cre207-planetarien.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885487/cre207-planetarien.m4a",
"mimeType": "audio/mp4",
"size": 37143622,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/22573e8a.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13444/1886702/nsfw073-syntax-error-in-10.m4a"
{
"url": "https://tracking.feedpress.it/link/13444/1886702/nsfw073-syntax-error-in-10.m4a",
"mimeType": "audio/mp4",
"size": 84525439,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/22733630.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13453/2801819/fs173-koreaners-katzi.m4a"
{
"url": "https://tracking.feedpress.it/link/13453/2801819/fs173-koreaners-katzi.m4a",
"mimeType": "audio/mp4",
"size": 92751861,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/2467bbb5.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"duration": "02:18:52",
"chapters": [],
"audio": [
"https://tracking.feedpress.it/link/13440/1885672/cre164-urheberrecht.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/1885672/cre164-urheberrecht.m4a",
"mimeType": "audio/mp4",
"size": 51976030,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/24a01d7f.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13440/2008525/cre209-das-linux-system.m4a"
{
"url": "https://tracking.feedpress.it/link/13440/2008525/cre209-das-linux-system.m4a",
"mimeType": "audio/mp4",
"size": 65230290,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
7 changes: 6 additions & 1 deletion docs/fixtures/24b1dbfa.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@
}
],
"audio": [
"https://tracking.feedpress.it/link/13444/1886693/nsfw082-erfahrungskohorte-nsfw.m4a"
{
"url": "https://tracking.feedpress.it/link/13444/1886693/nsfw082-erfahrungskohorte-nsfw.m4a",
"mimeType": "audio/mp4",
"size": 80869507,
"title": "Audio MP4"
}
],
"reference": {
"share": "//podlove-player.surge.sh/share",
Expand Down
Loading

0 comments on commit 336cee5

Please sign in to comment.