@knight-lab/timelinejs 3.9.0 → 3.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "events": [{
17
17
  "media": {
18
- "url": "https://www.youtube.com/watch?v=pi2v1m6gmD8&t=5m21s",
18
+ "url": "https://m.youtube.com/watch?v=pi2v1m6gmD8&t=5m21s",
19
19
  "caption": "the Monkey section of David Van Tieghem's <em>Ear Drums</em>"
20
20
  },
21
21
  "start_date": {
@@ -386,7 +386,6 @@
386
386
  }
387
387
  },
388
388
 
389
-
390
389
  {
391
390
  "media": {
392
391
  "url": "https://en.wikipedia.org/wiki/1997_International_Tennis_Championships_%E2%80%93_Doubles",
@@ -561,7 +560,34 @@
561
560
  "text": "Wistia is a commercial video hosting service. I don't even remember who requested that TimelineJS support it, and it's hard to find a suitable test URL, but ... "
562
561
  },
563
562
  "group": "Video"
563
+ },
564
+ {
565
+ "media": {
566
+ "url": "https://de.wikipedia.org/wiki/Beryllium#/media/Datei:Beryl-Quartz-Emerald-Zambia-33mm_0885.jpg",
567
+ "credit": "Wikipedia"
568
+ },
569
+ "start_date": {
570
+ "year": "1929"
571
+ },
572
+ "text": {
573
+ "headline": "Wikimedia Images",
574
+ "text": "Given a link to a wikipedia page about an image, extract best the Wikimedia image URL and use it for the media."
575
+ },
576
+ "group": "Image"
577
+ },
578
+ {
579
+ "media": {
580
+ "url": "https://commons.wikimedia.org/wiki/File:David-Bowie_Chicago_2002-08-08_photoby_Adam-Bielawski-cropped.jpg",
581
+ "credit": "Wikipedia"
582
+ },
583
+ "start_date": {
584
+ "year": "1930"
585
+ },
586
+ "text": {
587
+ "headline": "Wikimedia Commons Image links",
588
+ "text": "Given a link to a wikipedia page about an image, extract best the Wikimedia image URL and use it for the media."
589
+ },
590
+ "group": "Image"
564
591
  }
565
-
566
592
  ]
567
593
  }
@@ -0,0 +1,113 @@
1
+ {
2
+ "title": {
3
+ "media": {
4
+ "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/CMB_Timeline300_no_WMAP.jpg/1280px-CMB_Timeline300_no_WMAP.jpg",
5
+ "caption": "Timeline of the universe.",
6
+ "credit": "NASA with modifications by Cherkash <a href=\"https://en.wikipedia.org/wiki/File:CMB_Timeline300_no_WMAP.jpg\">via Wikipedia</a>"
7
+ },
8
+ "text": {
9
+ "headline": "Cosmological Scale Timeline",
10
+ "text": "A test case for looking at how TimelineJS handles dates beyond those supported by the JS Date class"
11
+ },
12
+ "background": {
13
+ "color": "papayawhip"
14
+ }
15
+ },
16
+ "events": [{
17
+ "media": {
18
+ "url": "https://en.wikipedia.org/wiki/Big_Bang"
19
+ },
20
+ "start_date": {
21
+ "year": "-13800000000"
22
+ },
23
+ "text": {
24
+ "headline": "The Big Bang",
25
+ "text": "As far back as we can go"
26
+ },
27
+ "background": {
28
+ "color": "#F45B69"
29
+ }
30
+ },
31
+ {
32
+ "start_date": {
33
+ "year": "-13799630000"
34
+ },
35
+ "text": {
36
+ "headline": "The Dark Ages and large-scale structure emergence",
37
+ "text": "I guess this image shows things that are 13.1 billion years old? Not sure I followed tbh."
38
+ },
39
+ "background": {
40
+ "url": "https://upload.wikimedia.org/wikipedia/commons/b/bf/Webb%27s_First_Deep_Field.jpg"
41
+ }
42
+ },
43
+ {
44
+ "start_date": {
45
+ "year": "-12800000000"
46
+ },
47
+ "text": {
48
+ "headline": "The universe as it appears today"
49
+ },
50
+ "background": {
51
+ "url": "https://upload.wikimedia.org/wikipedia/commons/b/bf/Webb%27s_First_Deep_Field.jpg"
52
+ }
53
+ },
54
+ {
55
+ "start_date": {
56
+ "year": "-4600000000"
57
+ },
58
+ "text": {
59
+ "headline": "The formation of the Solar System"
60
+ },
61
+ "background": {
62
+ "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/The_Mysterious_Case_of_the_Disappearing_Dust.jpg/1280px-The_Mysterious_Case_of_the_Disappearing_Dust.jpg"
63
+ }
64
+ },
65
+ {
66
+ "start_date": {
67
+ "year": "-538800000"
68
+ },
69
+
70
+ "end_date": {
71
+ "year": "-251902000"
72
+ },
73
+ "text": {
74
+ "headline": "Paleozoic era"
75
+ },
76
+ "background": {
77
+ "url": "https://upload.wikimedia.org/wikipedia/commons/4/49/Trilobite_Heinrich_Harder.jpg"
78
+ }
79
+ },
80
+ {
81
+ "media": {
82
+ "url": "https://commons.wikimedia.org/wiki/File:Ape_skeletons.png",
83
+ "caption": "The hominoids are descendants of a common ancestor.",
84
+ "credit": "<a href=\"https://en.wikipedia.org/wiki/Human_evolution\">Wikipedia</a>"
85
+ },
86
+ "start_date": {
87
+ "year": "-315000"
88
+ },
89
+ "text": {
90
+ "headline": "approximate date of appearance of Homo sapiens"
91
+ },
92
+ "background": {
93
+ "color": "white"
94
+ }
95
+ },
96
+ {
97
+ "media": {
98
+ "url": "https://commons.wikimedia.org/wiki/File:0854_Ein_Krug_aus_Bronocice,_3.550_v._Chr..JPG",
99
+ "caption": "Bronocice pot",
100
+ "credit": "<a href=\"https://en.wikipedia.org/wiki/Bronocice_pot\">Wikipedia</a>"
101
+ },
102
+ "start_date": {
103
+ "year": "-3500"
104
+ },
105
+ "text": {
106
+ "headline": "oldest known depiction of a wheeled vehicle"
107
+ },
108
+ "background": {
109
+ "color": "black"
110
+ }
111
+ }
112
+ ]
113
+ }
@@ -2,10 +2,11 @@
2
2
 
3
3
  <head>
4
4
  <title>Bundled TimelineJS test page</title>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
5
6
  <!-- this is normally done by embed page -->
6
7
  <script>
7
8
  var options = {
8
- language: 'es',
9
+ lang: 'es',
9
10
  debug: true,
10
11
  height: 650,
11
12
  soundcite: true,
@@ -105,4 +106,4 @@
105
106
  <div id='timeline-embed'></div>
106
107
  </body>
107
108
 
108
- </html>
109
+ </html>